Did you try using a different phase and / or goal? I personally only include and configure the asembly plugin and don't attach it to a specific phase or goal.
Like this: <artifactId>maven-assembly-plugin</artifactId> <configuration> <descriptors> <descriptor>src/main/assembly/full.xml</descriptor> </descriptors> <workDirectory>target/assembly/work</workDirectory> <outputDirectory>target</outputDirectory> </configuration> But still I never used the dir format. My distribution is only created once. Best regards, Ivo On 6/20/06, Barrie Treloar <[EMAIL PROTECTED]> wrote:
> 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]