[ 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