You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org> on 2010/04/22 10:52:14 UTC
[jira] Closed: (MNG-4638) Sonatype repositories defined in POM not
used for dependency resolution
[ 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