Hi Marvin

I'm using archetype:generate as described in Flex Mojos's getting
started page:

mvn archetype:generate
-DarchetypeRepository=http://repository.sonatype.org/content/groups/
flexgroup
-DarchetypeGroupId=org.sonatype.flexmojos
-DarchetypeArtifactId=flexmojos-archetypes-modular-webapp
-DarchetypeVersion=3.6.1


On May 1, 9:58 pm, Marvin Froeder <[email protected]> wrote:
> 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(DelegatingMethodAccessorImp 
> l.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(Default 
> MavenProjectBuilder.java:
> 1218)
>        at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMa 
> venProjectBuilder.java:
> 821)
>        at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInte 
> rnal(DefaultMavenProjectBuilder.java:
> 506)
>        at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProje 
> ctBuilder.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%2bunsubscr...@googlegrou 
> ps.com>
> For more options, visit this group athttp://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 athttp://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/

Reply via email to