You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Deep Joy Majumdar (JIRA)" <ji...@codehaus.org> on 2010/04/22 01:11:12 UTC
[jira] Created: (MNG-4638) Sonatype repositories defined in POM not
used for dependency resolution
Sonatype repositories defined in POM not used for dependency resolution
-----------------------------------------------------------------------
Key: MNG-4638
URL: http://jira.codehaus.org/browse/MNG-4638
Project: Maven 2 & 3
Issue Type: Bug
Components: Dependencies
Affects Versions: 3.0-alpha-7
Environment: Ubuntu 10.10 on Del Lattitude E6400
Reporter: Deep Joy Majumdar
Building the simple-air maven project from http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/simple-air/ on M3 alpha 7 fails when using sonatype's repository for resolving flex dependencies as described at http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html
The build works fine on Maven2 with the following added to the pom.xml
<properties>
<flexmojos.version>3.6.1</flexmojos.version>
<flex.version>3.2.0.3958</flex.version>
</properties>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
<id>flexmojos</id>
<url>http://repository.sonatype.org/content/groups/flexgroup/</url>
</repository>
</repositories>
I have installed the adt jar with
mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=adt.jar
But when I switch to M3a7 it doesn't seem to recognize the external repository. I am using different local repository locations for m2 and m3.
I tried getting M3 from svn trunk and building that but still no luck
I tried shifting to the new version 4.0-alpha of flexmojos which requires M3 but still no luck
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-4638) Sonatype repositories defined in POM
not used for dependency resolution
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218615#action_218615 ]
Benjamin Bentmann commented on MNG-4638:
----------------------------------------
bq. Is there a Wiki page on migration notes yet.
Yes, see the [Maven 3.x Compatibility Notes|https://cwiki.apache.org/confluence/display/MAVEN/Maven+3.x+Compatibility+Notes]. This page is linked from the Maven download section as well as the release announcement.
bq. Everywhere I read it said that whatever runs on maven2 should run on maven 3 as well.
No, in this form the statemennt does simply not hold. While we try to maintain as much backward-compatibility as reasonable and feasible, there are differences in API and behavior that some plugins/builds can notice.
> Sonatype repositories defined in POM not used for dependency resolution
> -----------------------------------------------------------------------
>
> Key: MNG-4638
> URL: http://jira.codehaus.org/browse/MNG-4638
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.0-alpha-7
> Environment: Ubuntu 10.10 on Del Lattitude E6400
> Reporter: Deep Joy Majumdar
> Assignee: Benjamin Bentmann
>
> Building the simple-air maven project from http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/simple-air/ on M3 alpha 7 fails when using sonatype's repository for resolving flex dependencies as described at http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html
> The build works fine on Maven2 with the following added to the pom.xml
> <properties>
> <flexmojos.version>3.6.1</flexmojos.version>
> <flex.version>3.2.0.3958</flex.version>
> </properties>
> <repositories>
> <repository>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <id>flexmojos</id>
> <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
> </repository>
> </repositories>
> I have installed the adt jar with
> mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=adt.jar
> But when I switch to M3a7 it doesn't seem to recognize the external repository. I am using different local repository locations for m2 and m3.
> I tried getting M3 from svn trunk and building that but still no luck
> I tried shifting to the new version 4.0-alpha of flexmojos which requires M3 but still no luck
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MNG-4638) Sonatype repositories defined in POM not
used for dependency resolution
Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-4638.
----------------------------------
Resolution: Incomplete
Assignee: Benjamin Bentmann
Your report doesn't include the actual failure log, so there is nothing to investigate. As a blind guess, your build might fail to resolve the flexmojos-maven-plugin which is expected as your POM snippet doesn't specify the required {{<pluginRepository>}} (cf. MNG-4191).
> Sonatype repositories defined in POM not used for dependency resolution
> -----------------------------------------------------------------------
>
> Key: MNG-4638
> URL: http://jira.codehaus.org/browse/MNG-4638
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.0-alpha-7
> Environment: Ubuntu 10.10 on Del Lattitude E6400
> Reporter: Deep Joy Majumdar
> Assignee: Benjamin Bentmann
>
> Building the simple-air maven project from http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/simple-air/ on M3 alpha 7 fails when using sonatype's repository for resolving flex dependencies as described at http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html
> The build works fine on Maven2 with the following added to the pom.xml
> <properties>
> <flexmojos.version>3.6.1</flexmojos.version>
> <flex.version>3.2.0.3958</flex.version>
> </properties>
> <repositories>
> <repository>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <id>flexmojos</id>
> <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
> </repository>
> </repositories>
> I have installed the adt jar with
> mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=adt.jar
> But when I switch to M3a7 it doesn't seem to recognize the external repository. I am using different local repository locations for m2 and m3.
> I tried getting M3 from svn trunk and building that but still no luck
> I tried shifting to the new version 4.0-alpha of flexmojos which requires M3 but still no luck
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (MNG-4638) Sonatype repositories defined in POM
not used for dependency resolution
Posted by "Deep Joy Majumdar (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-4638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=218614#action_218614 ]
Deep Joy Majumdar commented on MNG-4638:
----------------------------------------
@Benjamin Thanks thats exactly what the problem was. Is there a Wiki page on migration notes yet. Everywhere I read it said that whatever runs on maven2 should run on maven 3 as well. these small migration steps are noteworthy IMHO.
> Sonatype repositories defined in POM not used for dependency resolution
> -----------------------------------------------------------------------
>
> Key: MNG-4638
> URL: http://jira.codehaus.org/browse/MNG-4638
> Project: Maven 2 & 3
> Issue Type: Bug
> Components: Dependencies
> Affects Versions: 3.0-alpha-7
> Environment: Ubuntu 10.10 on Del Lattitude E6400
> Reporter: Deep Joy Majumdar
> Assignee: Benjamin Bentmann
>
> Building the simple-air maven project from http://svn.sonatype.org/flexmojos/trunk/flexmojos-testing/flexmojos-test-harness/projects/concept/simple-air/ on M3 alpha 7 fails when using sonatype's repository for resolving flex dependencies as described at http://www.sonatype.com/books/mvnref-book/reference/flex-dev-sect-config-build.html
> The build works fine on Maven2 with the following added to the pom.xml
> <properties>
> <flexmojos.version>3.6.1</flexmojos.version>
> <flex.version>3.2.0.3958</flex.version>
> </properties>
> <repositories>
> <repository>
> <releases>
> <enabled>true</enabled>
> </releases>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <id>flexmojos</id>
> <url>http://repository.sonatype.org/content/groups/flexgroup/</url>
> </repository>
> </repositories>
> I have installed the adt jar with
> mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=adt -Dversion=3.2.0.3958 -Dpackaging=jar -Dfile=adt.jar
> But when I switch to M3a7 it doesn't seem to recognize the external repository. I am using different local repository locations for m2 and m3.
> I tried getting M3 from svn trunk and building that but still no luck
> I tried shifting to the new version 4.0-alpha of flexmojos which requires M3 but still no luck
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira