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>

 

猜你喜欢

转载自agilestyle.iteye.com/blog/2286346