Hi,
I have a project with a dependency to a pom file:
But maven always want to download the corresponding jar-file - although
<packaging>pom</.. is specified in dependency's pom-file.
How does maven determine if it is a pom or jar (or war) or whatever? Could
the metadata.xml be wrong?
Here the details:
<dependency>
<groupId>org.openrdf.elmo</groupId>
<artifactId>elmo</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
Repository:
http://repo.aduna-software.org/maven2/snapshots/org/openrdf/elmo/elmo/1.0-SNAPSHOT/
metadata:
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>org.openrdf.elmo</groupId>
<artifactId>elmo</artifactId>
<version>1.0-SNAPSHOT</version>
<versioning>
<snapshot>
<buildNumber>0</buildNumber>
</snapshot>
<lastUpdated>20080303184953</lastUpdated>
</versioning>
</metadata>
Any ideas? I could specify <type>pom</type> in the dependency, but then the
problem occurs with transitive dependencies...
Jan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]