maven jar deployed twice in a war module with attachClasses set to true
问题 I am trying to use module as a dependency in another project by deploying it to our nexus repository. The problem is that maven tries to deploy the jar twice and our policy forbids to overwrite a release version. The module is packaged as a war. Here is my configuration. <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>build-war</id> <phase>package</phase> <goals> <goal>war</goal> </goals> <