I have a pom.xml, which declares following dependencies:
<dependency>
<groupId>com.mycompany</groupId>
<artifactId>app-framework</artifactId>
<version>1.0-SNAPSHOT</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>com.mycompany</groupId>
<artifactId>app-framework</artifactId>
<version>1.0-SNAPSHOT</version>
<type>test-jar</type>
<scope>test</scope>
</dependency>
This creates an invalid .project for Eclipse as the artifactId is used as
project name. As the artifactId is not a unique identifier, following XML is
created:
<projectDescription>
<name>webapp</name>
<comment/>
<projects>
<project>app-framework</project>
<project>app-framework</project>
</projects>
</projectDescription>
This, of course, leads to an error in Eclipse.
Additionally, .classpath also contains duplicate entries in this case.
I've createda an entry in JIRA (http://jira.codehaus.org/browse/MECLIPSE-70)
that also contains a patch that fixes both problems.
I would be glad, if somebody could review it :-)
--
Reinhard Pötz Independent Consultant, Trainer & (IT)-Coach
{Software Engineering, Open Source, Web Applications, Apache Cocoon}
web(log): http://www.poetz.cc
--------------------------------------------------------------------
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]