On Fri, Jun 5, 2009 at 6:04 PM, Marvin Froeder <[email protected]> wrote:
> Emma folks didn't updated the latest release on central. I had to manually > install on our repo manager. It seems as though (almost) all of the required dependencies are located on the flex-mojos repository. http://repository.sonatype.org/content/groups/flexgroup/ The missing dependencies are graniteeds-2.0.0.RC1 and emma 2.1.5320. Would it be reasonable to add those to the flex-mojos repository so that a clean svn checkout and mvn install can succeed? Kind Regards, John Fallows > > > VELO > > > On Fri, Jun 5, 2009 at 2:02 PM, John R. Fallows > <[email protected]>wrote: > >> Thanks Mario, that's a really useful tip to workaround the problem by >> either using the Java.net Maven2 repository, or by manually downloading >> graniteds 2.0.0.RC1 JARs into my local repository so that Maven2 can resolve >> the dependency. >> >> However, the next person to checkout and build flex-mojos will still have >> the same problems outline in the original mail. >> >> Even with the graniteds 2.0.0.RC1 dependencies installed in my local >> Maven2 repository, the following unresolved dependency error occurs. >> >> [INFO] Building Flexmojos Maven Plugin >> ... >> Missing: >> ---------- >> 1) emma:emma:jar:2.1.5320 >> Path to dependency: >> 1) org.sonatype.maven.plugin:emma-maven-plugin:maven-plugin:1.0 >> 2) emma:emma:jar:2.1.5320 >> >> Kind Regards, >> John Fallows. >> >> >> On Fri, Jun 5, 2009 at 5:37 PM, Mario Ernst <[email protected]>wrote: >> >>> Have a look here: http://download.java.net/maven/2/ >>> --- >>> <repository> >>> <id>maven2-repository.dev.java.net</id> >>> <name>Java.net Repository for Maven</name> >>> <url>http://download.java.net/maven/2/</url> >>> <layout>default</layout> >>> </repository> >>> --- >>> >>> On Fri, Jun 5, 2009 at 6:31 PM, John R. Fallows < >>> [email protected]> wrote: >>> >>>> Folks, >>>> >>>> I'm having a few problems building Flex Mojos at the moment, any help >>>> would be greatly appreciated. >>>> >>>> First of all, here are the steps I followed, anticipating a successful >>>> build with Maven 2.0.9, so please let me know if there are different steps >>>> to follow instead. >>>> >>>> 1. mkdir flex-mojos-trunk >>>> 2. cd flex-mojos-trunk >>>> 3. svn co http://svn.sonatype.org/flexmojos/trunk . >>>> 4. mvn clean install >>>> >>>> Unfortunately, this failed due to an unsatisfied dependency for >>>> org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.3-SNAPSHOT >>>> which is unexpected because it is one of the module projects being built. >>>> >>>> [INFO] Scanning for projects... >>>> [INFO] Reactor build order: >>>> [INFO] Flexmojos Parent >>>> [INFO] Flexmojos Sandbox >>>> [INFO] Flexmojos Generator >>>> [INFO] Flexmojos Generator api >>>> [INFO] Flexmojos Generator - graniteds 1.1.0 >>>> [INFO] Flexmojos Generator - graniteds 2.0.0 >>>> [INFO] Flexmojos Maven Plugin >>>> [INFO] Flexmojos Super poms >>>> [INFO] Flexmojos Archetypes >>>> [INFO] Flexmojos Archetypes - flex-application >>>> [INFO] Flexmojos Archetypes - flex-library >>>> [INFO] Flexmojos Archetypes - modular web application >>>> [INFO] Flexmojos Testing >>>> [INFO] Flexmojos Unit Test support >>>> [INFO] Flexmojos Integration Tests >>>> [INFO] Flexmojos Aggregator >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [ERROR] BUILD ERROR >>>> [INFO] >>>> ------------------------------------------------------------------------ >>>> [INFO] Plugin could not be found - check that the goal name is correct: >>>> Unable to download the artifact from any repository >>>> ... >>>> >>>> org.sonatype.flexmojos:flexmojos-maven-plugin:maven-plugin:3.3-SNAPSHOT >>>> >>>> After looking at the top-level pom.xml, I found there are a few >>>> different build profiles available. So, in order to workaround the issue >>>> above, I tried the following instead: >>>> >>>> o mvn -P minimal clean install >>>> >>>> This made better progress than before, but still failed due to a >>>> different unresolved dependency. >>>> >>>> [INFO] Building Flexmojos Generator - graniteds 2.0.0 >>>> ... >>>> Missing: >>>> ---------- >>>> 1) org.graniteds:granite-generator:jar:2.0.0.RC1 >>>> ... >>>> Path to dependency: >>>> 1) >>>> org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.3-SNAPSHOT >>>> 2) org.graniteds:granite-generator:jar:2.0.0.RC1 >>>> >>>> 2) org.graniteds:granite-generator-share:jar:2.0.0.RC1 >>>> ... >>>> Path to dependency: >>>> 1) >>>> org.sonatype.flexmojos:flexmojos-generator-graniteds-2.0.0:jar:3.3-SNAPSHOT >>>> 2) org.graniteds:granite-generator-share:jar:2.0.0.RC1 >>>> >>>> Looking in the flex-mojos Maven2 repository, the 1.1.0 version of >>>> graniteds is present but the 2.0.0.RC1 version of graniteds is missing. >>>> >>>> >>>> http://repository.sonatype.org/content/groups/flexgroup/org/graniteds/granite-generator/ >>>> >>>> Perhaps it would be possible to add the graniteds 2.0.0.RC1 dependency >>>> to the flex-mojos repository? >>>> >>>> Kind Regards, >>>> John Fallows >>>> >>>> >>>> >>> >>> >>> -- >>> Mario Ernst >>> >>> >>> >> >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex-mojos?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
