You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Steve Loughran <st...@apache.org> on 2005/12/29 01:12:36 UTC
DuplicateProject ID with Maven2.0.1
I've just upgraded to maven2.01 and things are breaking :
compile-classpath:
[m2:dependencies] An error has occurred while processing the Maven
artifact tasks.
[m2:dependencies] Diagnosis:
[m2:dependencies]
[m2:dependencies] Unable to build project:
C:\Personal\examples\diary\persist\build\project.xml
[m2:dependencies] Duplicate project ID found in
C:\Personal\examples\diary\persist\build\project.xml
[m2:dependencies]
Except I dont have a duplicate project ID. I dont have any element even
called projectID in my project.xml:
<?xml version="1.0" encoding="UTF-8"?>
<model>
<modelVersion>4.0.0</modelVersion>
<groupId>org.antbook</groupId>
<version>0.1alpha</version>
<artifactId>persist</artifactId>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.12</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-annotations</artifactId>
<version>3.1beta7</version>
</dependency>
</dependencies>
</model>
What is going on here?
-steve
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: DuplicateProject ID with Maven2.0.1
Posted by Brett Porter <br...@apache.org>.
I believe this was already fixed in SVN (branches/maven-2.0.x, there is
a test version up on cvs.apache.org/maven-snapshot-repository).
- Brett
Steve Loughran wrote:
> I've just upgraded to maven2.01 and things are breaking :
>
> compile-classpath:
> [m2:dependencies] An error has occurred while processing the Maven
> artifact tasks.
> [m2:dependencies] Diagnosis:
> [m2:dependencies]
> [m2:dependencies] Unable to build project:
> C:\Personal\examples\diary\persist\build\project.xml
> [m2:dependencies] Duplicate project ID found in
> C:\Personal\examples\diary\persist\build\project.xml
> [m2:dependencies]
>
> Except I dont have a duplicate project ID. I dont have any element
> even called projectID in my project.xml:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <model>
> <modelVersion>4.0.0</modelVersion>
> <groupId>org.antbook</groupId>
> <version>0.1alpha</version>
> <artifactId>persist</artifactId>
> <packaging>jar</packaging>
> <dependencies>
> <dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.12</version>
> </dependency>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-annotations</artifactId>
> <version>3.1beta7</version>
> </dependency>
> </dependencies>
> </model>
>
> What is going on here?
>
> -steve
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org