[email protected] wrote:
My modules pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.miasoftware</groupId>
<artifactId>com.miasoftware.miastudio.model</artifactId>
<packaging>zip</packaging>
[...]
</project>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.miasoftware</groupId>
<artifactId>com.miasoftware.miastudio.model.edit</artifactId>
<packaging>zip</packaging>
[...]
<dependencies>
<dependency>
<groupId>com.miasoftware</groupId>
<artifactId>com.miasoftware.miastudio.model</artifactId>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
Try adding
<type>zip</type>
to your dependency to have it match your <packaging>. If omitted, the
type defaults to "jar" but as you already noted, your modules produce
ZIPs and not JARs.
See [0] and [1] for some background on project packaging and artifact type.
Benjamin
[0] http://maven.apache.org/pom.html#Maven_Coordinates
[1] http://maven.apache.org/pom.html#Dependencies
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email