exec-maven-plugin

mvn exec:java

<plugin>
	<groupId>org.codehaus.mojo</groupId>
	<artifactId>exec-maven-plugin</artifactId>
	<version>1.4.0</version>
	<executions>
		<execution>
			<goals>
				<goal>java</goal>
			</goals>
		</execution>
	</executions>
	<configuration>
		<mainClass>org.fool.test.HelloWorld</mainClass>
	</configuration>
</plugin>

 

你可能感兴趣的:(exec-maven-plugin)