execプラグイン まとめ
exec-maven-pluginについて
2つのゴールを持つ
java goal
pom.xml
<plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.6.0</version> <executions> <execution> <goals> <goal>java</goal> </goals> </execution> </executions> <configuration> <mainClass>${exec.java.mainClass}</mainClass> </configuration> </plugin>