Anyone? I'm trying to get a FM build so I can assist a colleague who ran into a bug we haven't managed to get simple reproduction for you on. Figured if I could supply the community a fix instead... :-) Cheers, R.
On Jan 13, 1:20 pm, Rupert <[email protected]> wrote: > Hi, Conrad, Velo, all > I'm seeing the same error as Conrad when trying to build FM 4 from > source from git, namely: > > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-invoker- > plugin:1.6-SONATYPE-r940877:install (default) on project flexmojos- > test-harness: Unable to resolve dependencies for: > org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT: > Failure to find org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0- > SNAPSHOT inhttp://repository.sonatype.org/content/groups/public/was > cached in the local repository, resolution will not be reattempted > until the update interval of flex-mojos-internal-repository has > elapsed or updates are forced > [ERROR] > [ERROR] org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0- > SNAPSHOT > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] flex-mojos-repository (http://repository.sonatype.org/content/ > groups/flexgroup/, releases=true, snapshots=false), > [ERROR] flex-mojos-internal-repository (http://repository.sonatype.org/ > content/groups/public/, releases=true, snapshots=true), > [ERROR] central (http://repo1.maven.org/maven2, releases=true, > snapshots=false) > [ERROR] -> [Help 1] > [ERROR] > > I'm using Maven 3.0.1 on Linux with the settings.xml section from the > build instructions named "flex-mojos-building" which I invoke thus: > > mvn -Pflex-mojos-building clean && mvn -Pflex-mojos-building -Pminimal > install && mvn -Pflex-mojos-building clean install ; echo $? > > Only the last full 'install' invocation gives a problem, specifically > during "Flexmojos Integration Tests". > This happens regardless of whether or not using either of the Maven- > standard test skipping defines. (probably irrelevant but thought I'd > mention) > > All thoughts welcome! > Thanks, R. > > On Dec 29 2010, 12:22 pm, Conrad Winchester > > <[email protected]> wrote: > > Hi Marvin, > > > am making progress in getting the default profile build working on OS X. I > > will be suggesting some patches shortly. > > > However I still can't get the build to complete. > > > I get the following error and have no idea why. > > > [INFO] Flexmojos Unit Test support - flexunit ............ SUCCESS [1.329s] > > [INFO] Flexmojos Unit Test support - flexunit 4 .......... SUCCESS [2.379s] > > [INFO] Flexmojos Unit Test support - fluint .............. SUCCESS [2.224s] > > [INFO] Flexmojos Unit Test support - funit ............... SUCCESS [1.748s] > > [INFO] Flexmojos Integration Tests ....................... FAILURE [10.868s] > > [INFO] Flexmojos Aggregator .............................. SKIPPED > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Total time: 2:25.870s > > [INFO] Finished at: Wed Dec 29 12:21:18 GMT 2010 > > [INFO] Final Memory: 82M/123M > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] Failed to execute goal > > org.apache.maven.plugins:maven-invoker-plugin:1.6-SONATYPE-r940877:install > > (default) on project flexmojos-test-harness: Unable to resolve dependencies > > for: org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT: > > Failure to find > > org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT > > inhttp://repository.sonatype.org/content/groups/public/wascached in the > > local repository, resolution will not be reattempted until the update > > interval of flex-mojos-internal-repository has elapsed or updates are forced > > [ERROR] > > [ERROR] org.sonatype.flexmojos:flexmojos-air-super-pom:pom:4.0-SNAPSHOT > > [ERROR] > > [ERROR] from the specified remote repositories: > > [ERROR] maven-central (http://repo1.maven.org/maven2/, releases=true, > > snapshots=false), > > [ERROR] jboss (http://repository.jboss.org/nexus/content/groups/public/, > > releases=true, snapshots=false), > > [ERROR] flex-mojos-repository > > (http://repository.sonatype.org/content/groups/flexgroup/, releases=true, > > snapshots=false), > > [ERROR] flex-mojos-internal-repository > > (http://repository.sonatype.org/content/groups/public/, releases=true, > > snapshots=true), > > [ERROR] central (http://repo1.maven.org/maven2, releases=true, > > snapshots=false) > > [ERROR] -> [Help 1] > > [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/MojoExecutionException > > [ERROR] > > [ERROR] After correcting the problems, you can resume the build with the > > command > > [ERROR] mvn <goals> -rf :flexmojos-test-harness > > > I have attached a debug log for you to look at. > > > Any help would be gratefully appreciated, > > > Conrad > > > On 16 Dec 2010, at 10:44, Marvin Froeder wrote: > > > > I will move tattletale to an isolated execution.... it is only needed to > > > track some craziness related to adt.jar > > > > VELO > > > > On Thu, Dec 16, 2010 at 4:39 AM, Conrad Winchester > > > <[email protected]> wrote: > > > Thank you Bryan > > > > that was just the help I needed. I added the following to my settings.xml > > > file > > > > <repository> > > > <id>maven-central</id> > > > <url>http://repo1.maven.org/maven2/</url> > > > <releases> > > > <enabled>true</enabled> > > > </releases> > > > <snapshots> > > > <enabled>false</enabled> > > > </snapshots> > > > </repository> > > > <repository> > > > <id>jboss</id> > > > > > > <url>http://repository.jboss.org/nexus/content/groups/public/</url> > > > <releases> > > > <enabled>true</enabled> > > > </releases> > > > <snapshots> > > > <enabled>false</enabled> > > > </snapshots> > > > </repository> > > > > and > > > > <pluginRepository> > > > <id>jboss</id> > > > > > > <url>http://repository.jboss.org/nexus/content/groups/public/</url> > > > <releases> > > > <enabled>true</enabled> > > > </releases> > > > <snapshots> > > > <enabled>false</enabled> > > > </snapshots> > > > </pluginRepository> > > > > and now I can build. Fantastic, only took a couple of days :-) > > > > I also had to increase the heap memory of maven in order for tattletale > > > to run, so my final command was > > > > export MAVEN_OPTS="-Xmx512m" > > > mvn clean install -P minimal > > > > Should the docs > > > athttps://docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+s...changed > > > to reflect this, so that other people don't have these issues? If so how > > > does one change them? > > > > Thanks again > > > > Conrad > > > > On 15 Dec 2010, at 20:44, Bryan Turner wrote: > > > >> Based on what I see for the tattletale plugin, though, it requires > > >> org.jboss.tattletale:tattletale:1.1.1.Final, which is not in Central, or > > >> in the FlexMojos repository (only has 1.1.0.Final). You'd have to proxy > > >> the JBoss repository to get it. That's > > >> athttps://repository.jboss.org/nexus/content/groups/public. > > >> (https://repository.jboss.org/nexus/content/groups/public/org/jboss/ta...) > > > >> On Wed, Dec 15, 2010 at 12:38 PM, Bryan Turner <[email protected]> > > >> wrote: > > >> org.sonatype.plugins:tattletale-maven-plugin:1.0 is in Maven Central > > >> (http://repo1.maven.org/maven2/org/sonatype/plugins/tattletale-maven-p...) > > > >> Note that you'll need to use -U on the mvn command to force it to > > >> recheck. As the error message in your e-mail states, the not found has > > >> been cached and Maven isn't checking on every build. > > > >> On Wed, Dec 15, 2010 at 11:25 AM, Conrad Winchester > > >> <[email protected]> wrote: > > >> Marvin, > > > >> Yes, I followed those instructions exactly. I have attached my maven > > >> setting file to show you. > > > >> -- > > >> 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 > > > >>http://flexmojos.sonatype.org/ > > > >> I had a look at > > > >>http://repository.sonatype.org/content/groups/flexgroup/ > > > >> but could not find the jetty tattletale anywhere. Is there a repository > > >> that I am missing from my setup? > > > >> Conrad > > > >> On 15 Dec 2010, at 12:12, Marvin Froeder wrote: > > > >>> Did you tried wiki? > > >>>https://docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+s... > > > >>> On Wed, Dec 15, 2010 at 5:17 AM, Conrad Winchester > > >>> <[email protected]> wrote: > > >>> Hi Again, > > > >>> in order to proceed with building flex mojos on my mac I have hardwired > > >>> the flashplayer command to "open" rather than the generic "Flash > > >>> Player" that it seems to get by default. On a mac with the correct file > > >>> association set up this will launch the flash player when pointed at a > > >>> swf (i.e. "open SelfExit.swf" will run SelfExit.swf in the system > > >>> default flash player). I understand that this is not a good solution in > > >>> the long run but this does get the tests running for now. > > > >>> Unfortunately the next module does not build due to a dependency > > >>> missing - > > ... > > read more » -- 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 http://flexmojos.sonatype.org/
