`

exec-maven-plugin

 
阅读更多

http://www.mojohaus.org/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>

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics