[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
Fred Bricon created MNG-5663: Summary: [regression] resolution of import-scoped transitive dependencies ignores additional repositories Key: MNG-5663 URL: https://jira.codehaus.org/browse/MNG-5663 Project: Maven Issue Type: Bug Components: Artifacts and Repositories, Dependencies Affects Versions: 3.2.2 Reporter: Fred Bricon We (JBoss) use BOM poms extensively, notably in a number of project archetypes or project examples available via JBoss Tools and Red Hat Developer Studio . Some of these BOM poms (and their dependencies) are available from a dedicated Maven repository (http://maven.repository.redhat.com/techpreview/all/). Maven 3.2.2 introduced a regression that breaks resolution of these BOM dependencies, by ignoring additional repositories during artifact resolution. {noformat} http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 foo bar 0.0.1-SNAPSHOT org.jboss.bom.wfk jboss-javaee-6.0-with-tools 2.4.0-redhat-2 pom import redhat-techpreview-all-repository http://maven.repository.redhat.com/techpreview/all/ {noformat} yields : {noformat} â bar mvn compile [INFO] Scanning for projects... Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom (8 KB at 5.1 KB/sec) Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom (7 KB at 6.8 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project foo:bar:0.0.1-SNAPSHOT (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors [ERROR] Non-resolvable import POM: Could not find artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central (http://repo.maven.apache.org/maven2) @ org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, line 42, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException â bar {noformat} This kind of resolution used to work in maven 3.2.1 and before. -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Fred Bricon updated MNG-5663: - Description: We (JBoss) use BOM poms extensively, notably in a number of project archetypes or project examples available via JBoss Tools and Red Hat Developer Studio . Some of these BOM poms (and their dependencies) are available from a dedicated Maven repository (http://maven.repository.redhat.com/techpreview/all/). Maven 3.2.2 introduced a regression that breaks resolution of these BOM dependencies, by ignoring additional repositories during artifact resolution. {noformat} http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 foo bar 0.0.1-SNAPSHOT org.jboss.bom.wfk jboss-javaee-6.0-with-tools 2.4.0-redhat-2 pom import redhat-techpreview-all-repository http://maven.repository.redhat.com/techpreview/all/ {noformat} yields : {noformat} ➊bar mvn compile [INFO] Scanning for projects... Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom (8 KB at 5.1 KB/sec) Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom (7 KB at 6.8 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project foo:bar:0.0.1-SNAPSHOT (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors [ERROR] Non-resolvable import POM: Could not find artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central (http://repo.maven.apache.org/maven2) @ org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, line 42, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException ➊bar {noformat} This kind of resolution used to work in maven 3.2.1 and before. The missing pom is available at http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom was: We (JBoss) use BOM poms extensively, notably in a number of project archetypes or project examples available via JBoss Tools and Red Hat Developer Studio . Some of these BOM poms (and their dependencies) are available from a dedicated Maven repository (http://maven.repository.redhat.com/techpreview/all/). Maven 3.2.2 introduced a regression that breaks resolution of these BOM dependencies, by ignoring additional repositories during artifact resolution. {noformat} http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 foo bar 0.0.1-SNAPSHOT org.jboss.bom.wfk jboss-javaee-6.0-with-tools 2.4.0-redhat-2 pom import redhat-techpreview-all-
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349899#comment-349899 ] Mark Ingram commented on MNG-5663: -- This was caused by the changes for MNG-5639. The resolution failures are seen with nested import POMs. I have created a failing integration test and will begin investigating a fix. Regards, Mark > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349932#comment-349932 ] Jason van Zyl commented on MNG-5663: Thanks for looking into that Mark! > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349969#comment-349969 ] Geoffrey De Smet commented on MNG-5663: --- Might be the cause of https://issues.jboss.org/browse/DROOLS-553 > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=349983#comment-349983 ] Mark Ingram commented on MNG-5663: -- Pull requests: https://github.com/apache/maven/pull/23 https://github.com/apache/maven-integration-testing/pull/8 Integration tests pass and confirmed that the example POM above works with this build. > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason van Zyl updated MNG-5663: --- Assignee: Jason van Zyl > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason van Zyl updated MNG-5663: --- Fix Version/s: 3.2.3 > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jason van Zyl closed MNG-5663. -- Resolution: Fixed > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350013#comment-350013 ] Jason van Zyl commented on MNG-5663: Fixed on 61c374042560b2dc21c294886615931a888df597 > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350016#comment-350016 ] Geoffrey De Smet commented on MNG-5663: --- Great! :) > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=350017#comment-350017 ] George Gastaldi commented on MNG-5663: -- When is 3.2.3 coming up? > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {noformat} > http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > > {noformat} > yields : > {noformat} > ➊bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > ➊bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Herve Boutemy updated MNG-5663: --- Description: We (JBoss) use BOM poms extensively, notably in a number of project archetypes or project examples available via JBoss Tools and Red Hat Developer Studio . Some of these BOM poms (and their dependencies) are available from a dedicated Maven repository (http://maven.repository.redhat.com/techpreview/all/). Maven 3.2.2 introduced a regression that breaks resolution of these BOM dependencies, by ignoring additional repositories during artifact resolution. {code:xml}http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 foo bar 0.0.1-SNAPSHOT org.jboss.bom.wfk jboss-javaee-6.0-with-tools 2.4.0-redhat-2 pom import redhat-techpreview-all-repository http://maven.repository.redhat.com/techpreview/all/ {code} yields : {noformat} Ã¢à ¾à â bar mvn compile [INFO] Scanning for projects... Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom (8 KB at 5.1 KB/sec) Downloading: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom Downloaded: http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom (7 KB at 6.8 KB/sec) Downloading: http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project foo:bar:0.0.1-SNAPSHOT (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors [ERROR] Non-resolvable import POM: Could not find artifact org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central (http://repo.maven.apache.org/maven2) @ org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, line 42, column 25 -> [Help 2] [ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException Ã¢à ¾à â bar {noformat} This kind of resolution used to work in maven 3.2.1 and before. The missing pom is available at http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom was: We (JBoss) use BOM poms extensively, notably in a number of project archetypes or project examples available via JBoss Tools and Red Hat Developer Studio . Some of these BOM poms (and their dependencies) are available from a dedicated Maven repository (http://maven.repository.redhat.com/techpreview/all/). Maven 3.2.2 introduced a regression that breaks resolution of these BOM dependencies, by ignoring additional repositories during artifact resolution. {noformat} http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";> 4.0.0 foo bar 0.0.1-SNAPSHOT org.jboss.bom.wfk jboss-javaee-6.0-with-tools 2.4.0-redhat-2 pom import redhat-tech
[jira] (MNG-5663) [regression] resolution of import-scoped transitive dependencies ignores additional repositories
[ https://jira.codehaus.org/browse/MNG-5663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=351308#comment-351308 ] Jason van Zyl commented on MNG-5663: Maven 3.2.3 has now been staged. > [regression] resolution of import-scoped transitive dependencies ignores > additional repositories > > > Key: MNG-5663 > URL: https://jira.codehaus.org/browse/MNG-5663 > Project: Maven > Issue Type: Bug > Components: Artifacts and Repositories, Dependencies >Affects Versions: 3.2.2 >Reporter: Fred Bricon >Assignee: Jason van Zyl > Fix For: 3.2.3 > > > We (JBoss) use BOM poms extensively, notably in a number of project > archetypes or project examples available via JBoss Tools and Red Hat > Developer Studio . Some of these BOM poms (and their dependencies) are > available from a dedicated Maven repository > (http://maven.repository.redhat.com/techpreview/all/). > Maven 3.2.2 introduced a regression that breaks resolution of these BOM > dependencies, by ignoring additional repositories during artifact resolution. > {code:xml}http://maven.apache.org/POM/4.0.0"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd";> > 4.0.0 > foo > bar > 0.0.1-SNAPSHOT > > > > org.jboss.bom.wfk > > jboss-javaee-6.0-with-tools > 2.4.0-redhat-2 > pom > import > > > > > > redhat-techpreview-all-repository > > http://maven.repository.redhat.com/techpreview/all/ > > > {code} > yields : > {noformat} > Ã¢à ¾à â bar mvn compile > [INFO] Scanning for projects... > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom > (8 KB at 5.1 KB/sec) > Downloading: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > Downloaded: > http://maven.repository.redhat.com/techpreview/all/org/jboss/bom/wfk/jboss-wfk-bom-parent/2.4.0-redhat-2/jboss-wfk-bom-parent-2.4.0-redhat-2.pom > (7 KB at 6.8 KB/sec) > Downloading: > http://repo.maven.apache.org/maven2/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom > [ERROR] The build could not read 1 project -> [Help 1] > [ERROR] > [ERROR] The project foo:bar:0.0.1-SNAPSHOT > (/Users/fbricon/Dev/workspaces/runtime-hosted/bar/pom.xml) has 2 errors > [ERROR] Non-resolvable import POM: Could not find artifact > org.jboss.spec:jboss-javaee-6.0:pom:3.0.2.Final-redhat-4 in central > (http://repo.maven.apache.org/maven2) @ > org.jboss.bom.wfk:jboss-javaee-6.0-with-tools:[unknown-version], > /Users/fbricon/Dev/maven/repository/org/jboss/bom/wfk/jboss-javaee-6.0-with-tools/2.4.0-redhat-2/jboss-javaee-6.0-with-tools-2.4.0-redhat-2.pom, > line 42, column 25 -> [Help 2] > [ERROR] 'dependencies.dependency.version' for > javax.enterprise:cdi-api:jar is missing. @ line 27, column 15 > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, please > read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException > [ERROR] [Help 2] > http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException > Ã¢à ¾à â bar > {noformat} > This kind of resolution used to work in maven 3.2.1 and before. The missing > pom is available at > http://maven.repository.redhat.com/techpreview/all/org/jboss/spec/jboss-javaee-6.0/3.0.2.Final-redhat-4/jboss-javaee-6.0-3.0.2.Final-redhat-4.pom -- This message was sent by Atlassian JIRA (v6.1.6#6162)