<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<addMavenDescriptor>false</addMavenDescriptor>
<manifest>
<mainClass>com.mycompany.app.App</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
</plugins>
</build>
分享到:
相关推荐
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean (default-clean) on project
解决Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1] 1. 下载maven-archetype-quickstart-1.1.jar 文件地址: 2.cmd窗口执行mvn install:install-file -...
maven-project-info-reports-plugin-2.2.jar
maven-notice-plugin-1.0.1.jar
maven-archetype-quickstart-1.1.jar包下载
解决tomcat8-maven-plugin-3.0-r1655215.jar阿里云同有的问题。放到路径org\apache\tomcat\maven\tomcat8-maven-plugin\3.0-r1655215\就可以了
maven-deploy-plugin-2.7.jar
maven-archetype-webapp-1.0.jar,下载,如果有需要的同志可以自己下载,。
maven-site-plugin-3.3.jar
maven-jar-plugin-3.1.1.jar
maven-resources-plugin-2.4.1.jar
maven-deploy-plugin-2.8.2.jar
maven-maven-plugin-1.4-sources.jar
maven-surefire-plugin-2.22.1.jar
maven-project-info-reports-plugin-2.1.jar
maven-plugin-parameter-documenter-2.0.jar
maven-shared-utils-3.2.1.jar
maven资源 apache-maven-3.3.9-bin.zip
maven-manifest-plugin-1.0.0-sources.jar
maven-scm-client-1.4.jar