Maven execution IDs have changed in maven versions greater than 2.2.0.
It seems that you can disable a default a default execution by binding it to the phase “none”:
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>default</id> <goals> <goal>unpack</goal> </goals> <phase>none</phase> </execution> <execution> <id>unpack</id> <phase>process-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> [...] </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> |