[teiid-issues] [JBoss JIRA] (TEIID-2857) Build Error with Teiid POM Dependency

Ivan Chan (JIRA) issues at jboss.org
Wed Feb 26 16:12:47 EST 2014


    [ https://issues.jboss.org/browse/TEIID-2857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12948508#comment-12948508 ] 

Ivan Chan commented on TEIID-2857:
----------------------------------

Hi Steven and Van, thanks for looking at these issues. 

Having an RC (and not a SNAPSHOT) will work fine for our Production Build process. 

The only problem that I still see is having to point to the jboss-eap-alpha repository. I can use this for my development work no problem. But when I hand over my code to the Production Build group - they are not going to want to point to an Alpha repository. 

The is because the "best practice" for Production Builds is to only include the main release repositories such as repository.jboss.org and repo1.maven.org, etc. 

Any chance of using a simplified bom file (like replacing at release time) that doesn't include components that aren't needed by end users? 
                
> Build Error with Teiid POM Dependency
> -------------------------------------
>
>                 Key: TEIID-2857
>                 URL: https://issues.jboss.org/browse/TEIID-2857
>             Project: Teiid
>          Issue Type: Bug
>          Components: Embedded
>    Affects Versions: 8.6
>            Reporter: Ivan Chan
>            Assignee: Van Halbert
>              Labels: teiid
>             Fix For: 8.7
>
>
> In the jboss public maven repository:
> https://repository.jboss.org/nexus/content/groups/public
> The teiid-parent-8.6.0.Final.pom file has two dependencies which look to be
> Teiid build/configuration bugs. 
> These two issues are causing our source code build to fail. 
> The pom file is located here: 
> https://repository.jboss.org/nexus/content/groups/public/org/jboss/teiid/teiid-parent/8.6.0.Final/teiid-parent-8.6.0.Final.pom
> In this pom file there are two declared dependencies: 
> <version.org.jboss.integration-platform>6.0.0-SNAPSHOT</version.org.jboss.integration-platform>
>   <jbossas-version>7.2.0.Alpha1-redhat-4</jbossas-version>
>            <dependency>
>             <groupId>org.jboss.integration-platform</groupId>
>             <artifactId>jboss-integration-platform-bom</artifactId>
>             <version>${version.org.jboss.integration-platform}</version>
>             <scope>import</scope>
>             <type>pom</type>
>           </dependency>
>           <dependency>
>              <groupId>org.jboss.as</groupId>
>              <artifactId>jboss-as-parent</artifactId>
>              <version>${jbossas-version}</version>
>              <type>pom</type>
>              <scope>import</scope>
>           </dependency>
> Here are the issues:
> 1) Snapshot dependency existing in the 8.6.0-FINAL Release
>    - jboss-integration-platform-bom/6.0.0-SNAPSHOT
> 2) Declared dependency does not exist in the repo repository.jboss.org
>   - jboss-as-parent/7.2.0.Alpha1-redhat-4
>   - We see dependencies only for: 
>   - 7.2.0.Alpha1-SNAPSHOT
>   - 7.2.0.Fina
> I'm not sure why these dependencies are needed when pulling in the Teiid artifacts, but perhaps because the <scope> of
> these dependencies is set to "import" (<scope>import</scope>)
> Our usage of the repository.jboss.org is to have snapshots disabled. So that is why the 6.0.0-SNAPSHOT fails to be found.
> For the 7.2.0.Alpha1-redhat-4 dependency, it does not exist in
> repository.jboss.org so this also fails.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list