So why does the "dir" format want to install the artifact but the
"zip" format doesn't?
Now that I have zip only I noticed this during the install phase:
[INFO] [install:install]
[INFO] Installing
<path>\<module>\target\<artifactId>-0.0.1-SNAPSHOT.jar to
<repo>\.m2\repository\<groupId>\<artifactId>\0.0.1-SNAPSHOT\<artifactId>-0.0.1-SNAPSHOT.jar
[INFO] Installing
<path>\<module>\target\<artifactId>-0.0.1-SNAPSHOT-bin.zip to
<repo>\.m2\repository\<groupId>\<artifactId>\0.0.1-SNAPSHOT\<artifactId>-0.0.1-SNAPSHOT-bin.zip
[INFO] Installing
<path>\<module>\target\<artifactId>-0.0.1-SNAPSHOT-bin.zip to
<repo>\.m2\repository\<groupId>\<artifactId>\0.0.1-SNAPSHOT\<artifactId>-0.0.1-SNAPSHOT-bin.zip
This might be because of the way I have configured the pom:
<build>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptors>
<descriptor>src/main/assembly/bin.xml</descriptor>
</descriptors>
</configuration>
<executions>
<execution>
<id>package-assembly</id>
<phase>package</phase>
<goals>
<goal>assembly</goal>
</goals>
</execution>
</executions>
</plugin>
Where the configuration is outside the execution so that it will also
get picked up when assembly:assembly is run on the command line.
So the zip format is installed into the repository, but for some reason twice.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]