How do I change the default goal of a war so that it produces an exploded war instead of .war file when I run the package goal?
I am trying to do the following, but it seems not working: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-war-plugin</artifactId> <version>2.0.2</version> <executions> <execution> <id>exploded-war</id> <phase>package</phase> <goals> <goal>exploded</goal> </goals> <configuration> <tasks> <echo>Creating an exploded war.</echo> </tasks> </configuration> </execution> </executions> </plugin> Regards, Dobri