
maven
东耳佳茗
东耳佳茗,一个有故事的程序员!
展开
-
MAVEN Install的时候报错Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1
问题:maven install的时候报错是maven-surefire-plugin插件的问题,解决方法如下pom.xml中修改maven-surefire-plugin插件配置<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-...原创 2020-01-03 17:34:29 · 324 阅读 · 0 评论 -
maven 多环境打包配置
实际开发过程中有多个环境,每次上不同环境更改配置的话不仅麻烦,而且容易出错,maven项目可以在pom文件中配置实现不同环境不同打包配置<profiles> <profile> <id>test</id> <properties> <deploy.type>test<...原创 2019-09-27 19:29:50 · 629 阅读 · 0 评论