I just cloned the git repository to ensure I can properly submit a patch to the latest development version.
> git clone http://github.com/Flexmojos/flexmojos.git flexmojos I still am running into the maven-artifact 3.0-RC2 issue. I'm using maven 3.0-beta-3. C:\code\flexmojos_4.x>mvn --version Apache Maven 3.0-beta-3 (r990787; 2010-08-30 07:44:03-0500) Java version: 1.6.0_20 Java home: C:\Program Files (x86)\Java\jdk1.6.0_20\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 7" version: "6.1" arch: "x86" Family: "windows" C:\code\flexmojos_4.x> If I explicitly change the pom.xml to have a version for the maven artifacts it seems to get further (I'll have to go through and change all the maven dependencies). How do you have your development environment setup to use Maven 3 but not run into these issues, is there something else I can do? <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-artifact</artifactId> <version>3.0-beta-3</version> </dependency ~ doug daniels On Thu, Oct 7, 2010 at 2:53 PM, Marvin Froeder <[email protected]> wrote: > Flexmojos was moved to github a few days ago... > http://github.com/Flexmojos/flexmojos > > I didn't disable the SVN yet, but will do eventually. > > On Thu, Oct 7, 2010 at 10:43 PM, Doug Daniels > <[email protected]>wrote: > >> I'll dig into the issue and submit a patch if I figure it out. >> >> I'm having some trouble building the Flexmojos 4.x branch. >> >> I've checked out: >> svn co http://svn.sonatype.org/flexmojos/branches/flexmojos-4.xflexmojos-4.x >> >> I changed my ~/settings.xml to include the Sonatype repositories based on >> the instructions on the wiki: >> >> https://docs.sonatype.org/display/FLEXMOJOS/Building+Flexmojos+from+sources >> >> >> When I run a mvn install it can't locate maven-artifact 3.0-RC2 (what >> repository has that I've tried google around for it): >> >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Building Flexmojos Common Matcher 4.0-SNAPSHOT >> [INFO] >> ------------------------------------------------------------------------ >> [WARNING] The POM for org.apache.maven:maven-artifact:jar:3.0-RC2 is >> missing, no dependency information available >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Reactor Summary: >> [INFO] >> [INFO] Flexmojos Parent .................................. SUCCESS >> [0.477s] >> [INFO] Flexmojos util .................................... SUCCESS >> [2.245s] >> [INFO] Flexmojos Common Matcher .......................... FAILURE >> [0.013s] >> [INFO] Flexmojos Sandbox ................................. SKIPPED >> [INFO] Flexmojos Generator ............................... SKIPPED >> [INFO] Flexmojos Generator api ........................... SKIPPED >> [INFO] Flexmojos Generator Plugin ........................ SKIPPED >> [INFO] Flexmojos Generator - Internal Threadlocal generator SKIPPED >> [INFO] Flexmojos ThreadLocalToolkit wrapper .............. SKIPPED >> [INFO] Flexmojos Generator - Internal ifaces generator ... SKIPPED >> [INFO] Flexmojos Flex compiler ........................... SKIPPED >> [INFO] Flexmojos Flex3 compatibility layer ............... SKIPPED >> [INFO] Flexmojos Generator - Internal Flex2 generator .... SKIPPED >> [INFO] Flexmojos Flex2 compatibility layer ............... SKIPPED >> [INFO] Flexmojos Test Coverage reported .................. SKIPPED >> [INFO] Flexmojos Generator - graniteds 1.1.0 ............. SKIPPED >> [INFO] Flexmojos Generator - graniteds 2.0.0 ............. SKIPPED >> [INFO] Flexmojos Generator - graniteds 2.1.0 ............. SKIPPED >> [INFO] Flexmojos Generator - Constraints ................. SKIPPED >> [INFO] Flexmojos Testing ................................. SKIPPED >> [INFO] Flexmojos Tester api .............................. SKIPPED >> [INFO] Flexmojos Maven Plugin ............................ SKIPPED >> [INFO] Flexmojos Super poms .............................. SKIPPED >> [INFO] Flexmojos Aggregator .............................. SKIPPED >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] BUILD FAILURE >> [INFO] >> ------------------------------------------------------------------------ >> [INFO] Total time: 3.105s >> [INFO] Finished at: Thu Oct 07 14:40:17 CDT 2010 >> [INFO] Final Memory: 13M/32M >> [INFO] >> ------------------------------------------------------------------------ >> [ERROR] Failed to execute goal on project flexmojos-common-matchers: Could >> not resolve dependencies for project org.sonatype.flexmojos:flexm >> ojos-common-matchers:jar:4.0-SNAPSHOT: The following artifacts could not >> be resolved: org.apache.maven:maven-artifact:jar:3.0-RC2: Failure t >> o find org.apache.maven:maven-artifact:jar:3.0-RC2 in >> http://repository.sonatype.org/content/groups/flexgroup/ was cached in >> the local repos >> itory. Resolution will not be reattempted until the update interval of >> flex-mojos-repository has elapsed or updates are forced. -> [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/DependencyResolutionException >> [ERROR] >> [ERROR] After correcting the problems, you can resume the build with the >> command >> [ERROR] mvn <goals> -rf :flexmojos-common-matchers >> >> >> ~ doug daniels >> >> >> On Thu, Oct 7, 2010 at 12:58 PM, Marvin Froeder <[email protected]>wrote: >> >>> Yeah, I did saw that yesterday, but I don't have time to fix that any >>> time soon. >>> >>> If you fix it lemme know. >>> >>> >>> VELO >>> >>> >>> On Thu, Oct 7, 2010 at 8:57 PM, Doug Daniels >>> <[email protected]>wrote: >>> >>>> I opened a JIRA issue I'm having a problem using the copy-flex- >>>> resources: >>>> https://issues.sonatype.org/browse/FLEXMOJOS-353 >>>> >>>> I'm trying to have it copy a multiple SWF dependencies (from a >>>> multimodule SWF pom.xml build), and strip off all the extra maven >>>> versioning information (we try to have our dev environment match >>>> production but the forced maven naming convention breaks that.) >>>> >>>> >>>> For example I have 2 swf's included as dependencies to a war project: >>>> <dependency> >>>> <groupId>${project.groupId}</groupId> >>>> <version>${project.version}</version> >>>> <artifactId>test-client</artifactId> >>>> <type>swf</type> >>>> <classifier>main</classifier> >>>> </dependency> >>>> <dependency> >>>> <groupId>${project.groupId}</groupId> >>>> <version>${project.version}</version> >>>> <artifactId>test-client</artifactId> >>>> <type>swf</type> >>>> <classifier>lobby</classifier> >>>> </dependency> >>>> >>>> I configure my plugin as such: >>>> <plugin> >>>> <groupId>org.sonatype.flexmojos</groupId> >>>> <artifactId>flexmojos-maven-plugin</artifactId> >>>> <version>${flexmojos.version}</version> >>>> <executions> >>>> <execution> >>>> <goals> >>>> <goal>copy-flex-resources</goal> <!-- Copy of Flex resource into WAR -- >>>> > >>>> </goals> >>>> </execution> >>>> </executions> >>>> <configuration> >>>> <useFinalName>true</useFinalName> >>>> <stripVersion>true</stripVersion> >>>> <stripModuleArtifactInfo>true</stripModuleArtifactInfo> >>>> </configuration> >>>> >>>> It results in: >>>> test-client-main.swf >>>> test-client-lobby.swf >>>> >>>> I'd expect: >>>> main.swf >>>> lobby.swf. >>>> >>>> -- >>>> 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]<flex-mojos%[email protected]> >>>> For more options, visit this group at >>>> http://groups.google.com/group/flex-mojos >>>> >>>> http://flexmojos.sonatype.org/ >>>> >>> >>> -- >>> 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]<flex-mojos%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/flex-mojos >>> >>> http://flexmojos.sonatype.org/ >>> >> >> -- >> 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]<flex-mojos%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/flex-mojos >> >> http://flexmojos.sonatype.org/ >> > > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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/
