What archetyype did you used??? Sent from DROID
Em 01/05/2010 10:51, "Hez" <[email protected]>escreveu: Hi I encounter the following error after I created a multi-module project using Flex Mojos 3.6.1 (groupId: dummy, artifiactId: dummy and package: dummy): C:\Temp\dummy>mvn clean install [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error building POM (may not be this project's POM). Project ID: dummy:swc Reason: Parent element is a duplicate of the current project for project dummy:swc [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.reactor.MavenExecutionException: Parent element is a duplicate of the current project for project dummy:swc at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java: 378) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 292) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java: 129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java: 39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.project.ProjectBuildingException: Parent element is a duplicate of the current project for project dummy:swc at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java: 1218) at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java: 821) at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java: 506) at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java: 198) at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java: 583) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:534) at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java: 365) ... 11 more I suspect this could be the problem in C:\Temp\dummy\swc\pom.xml, where the parent is dummy:swc:1.0-SNAPSHOT. Instead, it should be generated as dummy:dummy:1.0-SNAPSHOT. Do you think this is a bug in Flex Mojos? -- 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/
