maven-tomcat7-plugin produces corrupted executable JAR
问题 I have problem using Maven Tomcat7 plugin to produce JAR archives with embedded Tomcat7 instance. Here is my pom.xml snippet: <plugin> <groupId>org.apache.tomcat.maven</groupId> <artifactId>tomcat7-maven-plugin</artifactId> <version>2.2</version> <configuration> <path>/${project.artifactId}</path> </configuration> <executions> <execution> <phase>package</phase> <goals> <goal>exec-war</goal> </goals> </execution> </executions> </plugin> My project uses war packaging. The JAR file containing