Maven生成可执行程序插件使用

pom插件配置文件添加如下:
<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>appassembler-maven-plugin</artifactId>
				<version>1.0</version>
				<configuration>
					<programs>
						<program>
							<mainClass>com.ado.data.main.VcProfitInitMain</mainClass>
							<name>vcprofit</name>
						</program>
					</programs>
				</configuration>
			</plugin>


命令:
mvn package appassembler:assemble

你可能感兴趣的:(maven,xml)