You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Tomislav Stojcevich <st...@gmail.com> on 2005/12/13 19:27:07 UTC
[m2.0.1] antlib error - Duplicate project ID found in pom.
Getting the following error in 2.0.1 when I run artifact:dependencies
from a project that has a parent pom. It use to work in 2.0.
[artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.
[artifact:dependencies] Diagnosis:
[artifact:dependencies]
[artifact:dependencies] Unable to build project: D:\Projects\abc\ejb\pom.xml
[artifact:dependencies] Duplicate project ID found in
D:\Projects\abc\ejb\pom.xml
Here is the build script:
<artifact:localRepository id="maven.local.repository"
location="@{localRepository}"/>
<artifact:pom id="maven.project" file="@{pom}" />
<artifact:dependencies pathId="maven.project.dependency.classpath"
verbose="@{verbose}"
useScope="compile">
<pom refid="maven.project" />
<localRepository refid="maven.local.repository"/>
</artifact:dependencies>
Any ideas?
--
tom
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org