exec-maven-plugin
About
Use Cases
Run Java Class Example
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>java</goal>
</goals>
<configuration>
<mainClass>com.example.Tool</mainClass>
</configuration>
</execution>
</executions>
</plugin>Last updated