常用maven配置总结
工作中需要写些小demo或是新建项目的时候需要新建maven项目的pom.xml配置,这就需要重新配置maven配置文件,这个时候总是会出现心里想要的配置找不到,然后需要去百度->测试->修改->百度...。感觉很浪费时间,所以这里总结下maven的常用配置,都是自己实践过的,而且长期更新。
4.0.0
com.yihengyi
javacore
jar
1.0-SNAPSHOT
javacore Maven Webapp
http://maven.apache.org
ali-maven
http://maven.aliyun.com/nexus/content/groups/public
true
true
always
fail
nexus
nexus
http://192.168.6.106:8081/repository/maven-public/
true
true
nexus
nexus
http://192.168.6.106:8081/repository/maven-public/
true
true
UTF-8
UTF-8
1.8
org.juint.jupiter
junit.jupiter.api
5.6.2
test
org.juint.jupiter
junit.jupiter.engine
5.6.2
test
javacore
org.apache.maven.plugins
maven-compiler-plugin
3.7.0
1.8
1.8
-parameters
maven-assembly-plugin
false
jar-with-dependencies
com.yihengyi.dataprocess.process.ProcessErrorData
make-assembly
package
assembly
org.apache.tomcat.maven
tomcat7-maven-plugin
2.2
mytomcat7
http://192.168.6.204:8080/manager/text
admin
admin@123
/test
true