Do you know how can I go about getting the correct dependencies to be able to build. Everything was fine on friday I believe when I did my last build, and now I cant build my project. Somehting released in the last few days broke the maven-beta1 with the error that started this thread
On Sep 8, 12:05 pm, Marvin Froeder <[email protected]> wrote: > Hrmmm, looks like you uncovered a backward compatibility problem on maven 3 > b3.... > > We are going to need maven guys intervention > here...http://jira.codehaus.org/browse/MNG > > I will try to figure out if flexmojos can handle that, but I doubt it can. > > VELO > > On Wed, Sep 8, 2010 at 12:59 PM, Jorge Fiallega > <[email protected]>wrote: > > > > > I switched to beta3 and clean the repository. > > After that when using flexmojos-archetypes-modular-webapp > > it first does not pass the test phase. > > If I avoid the test phase by -Dmaven.test.skip=true > > then I get an error now on the war build > > > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > > plugin:4.0-SNAPSHOT:copy-flex-resources (default) on project war: > > Execution default of goal org.sonatype.flexmojos:flexmojos-maven- > > plugin:4.0-SNAPSHOT:copy-flex-resources failed. NullPointerException - > > > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > > 161) > > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > > 88) > > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > > 80) > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lif > > ecycleModuleBuilder.java: > > 87) > > at > > > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(Lif > > ecycleModuleBuilder.java: > > 59) > > at > > > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(Li > > fecycleStarter.java: > > 183) > > at > > > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStart > > er.java: > > 161) > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:315) > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152) > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:445) > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:168) > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:132) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: > > 39) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp > > l.java: > > 25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at > > > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.j > > ava: > > 290) > > at > > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java: > > 230) > > at > > > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher > > .java: > > 409) > > at > > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java: > > 352) > > Caused by: org.apache.maven.plugin.PluginExecutionException: Execution > > default of goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0- > > SNAPSHOT:copy-flex-resources failed. > > at > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP > > luginManager.java: > > 116) > > at > > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java: > > 145) > > ... 19 more > > Caused by: java.lang.NullPointerException > > at > > > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts( > > DefaultArtifactResolver.java: > > 185) > > at > > > org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(D > > efaultArtifactResolver.java: > > 175) > > at > > > org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder. > > java: > > 237) > > at > > > org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder. > > java: > > 219) > > at > > org.sonatype.flexmojos.plugin.war.CopyMojo.getProject(CopyMojo.java: > > 236) > > at > > > org.sonatype.flexmojos.plugin.war.CopyMojo.getDestinationFile(CopyMojo.java > > : > > 190) > > at > > > org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody0(CopyMojo.jav > > a: > > 145) > > at > > > org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody1$advice(CopyM > > ojo.java: > > 24) > > at > > > org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody2(CopyMojo.jav > > a: > > 125) > > at > > > org.sonatype.flexmojos.plugin.war.CopyMojo.execute_aroundBody3$advice(CopyM > > ojo.java: > > 17) > > at org.sonatype.flexmojos.plugin.war.CopyMojo.execute(CopyMojo.java: > > 1) > > at > > > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildP > > luginManager.java: > > 107) > > > On Sep 8, 11:42 am, Marvin Froeder <[email protected]> wrote: > > > Have you tried m3-b3? > > > > On Wed, Sep 8, 2010 at 10:57 AM, Jorge Fiallega <[email protected] > > >wrote: > > > > > OK to reproduce it all I did was generate a default archetype. This is > > > > what I did: > > > > > 1. Deleted my local repository for org/sonatype/aether and org/ > > > > sonatype/flexmojos > > > > 2. run mvn archetype:generate -DarchetypeRepository=http:// > > > > repository.sonatype.org/content/groups/flexgroup - > > > > DarchetypeGroupId=org.sonatype.flexmojos - > > > > DarchetypeArtifactId=flexmojos-archetypes-modular-webapp > > > > with Confirm properties configuration: > > > > groupId: you.me > > > > artifactId: test1 > > > > version: 1.0 > > > > package: you.me > > > > 3. run mvn clean package > > > > and this is the error > > > > [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- > > > > plugin:4.0-SNAPSHOT:compile-swc (default-compile-swc) on project swc: > > > > Unable to retrieve component configurator flexmojos for configuration > > > > of mojo org.sonatype.flexmojos:flexmojos-maven-plugin:4.0- > > > > SNAPSHOT:compile-swc: Component descriptor cannot be found in the > > > > component repository > > > > role: > > > > org.codehaus.plexus.component.configurator.ComponentConfigurator > > > > roleHint: flexmojos > > > > classRealm: none specified > > > > > All the default stuff. > > > > I am using using Apache Maven 3.0-beta-1 ... you asked about this. Do > > > > you know if there is an issue ? > > > > > On Sep 7, 1:41 pm, Jorge Fiallega <[email protected]> wrote: > > > > > I am using Apache Maven 3.0-beta-1 > > > > > > On Sep 7, 10:34 am, Marvin Froeder <[email protected]> wrote: > > > > > > > Are you using maven 3 beta 3 > > > > > > > VELO > > > > > > > On Tue, Sep 7, 2010 at 10:17 AM, Marvin Froeder <[email protected] > > > > > wrote: > > > > > > > never saw that... it does work fine here. > > > > > > > > On Tue, Sep 7, 2010 at 10:16 AM, Jorge Fiallega < > > > > [email protected]>wrote: > > > > > > > >> I noticed this morning that some new packages got downloaded > > when I > > > > > > >> tried to do the build that worked a couple of days ago. > > > > > > >> After that I got the following error: > > > > > > > >> Failed to execute goal > > > > org.sonatype.flexmojos:flexmojos-maven-plugin: > > > > > > >> 4.0-SNAPSHOT:compile-swf (default-compile-swf) on project > > myproject: > > > > > > >> Unable to retrieve component configurator flexmojos for > > > > configuration > > > > > > >> of mojo org.sonatype.flexmojos:flexmojos-maven-plugin:4.0- > > > > > > >> SNAPSHOT:compile-swf: Component descriptor cannot be found in > > the > > > > > > >> component repository > > > > > > >> role: > > > > > > >> org.codehaus.plexus.component.configurator.ComponentConfigurator > > > > > > >> roleHint: flexmojos > > > > > > >> classRealm: none specified > > > > > > > >> I cleaned up the repository, but it did not help. > > > > > > >> Any ideas ? > > > > > > > >> -- > > > > > > >> 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%2bunsubscr...@googlegrou > > > > > > >> ps.com> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > > > > >> 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%2bunsubscr...@googlegrou > > > > ps.com> > > <flex-mojos%2bunsubscr...@googlegrou ps.com> > > > > 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%2bunsubscr...@googlegrou > > ps.com> > > 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/
