maven
文章平均质量分 74
EverSpring007
计算机程序员
展开
-
Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin异常
在jdk1.8的pom.xml中,结构改为 <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin<...原创 2015-03-17 13:17:15 · 1018 阅读 · 0 评论 -
ArtifactTransferException: Failure to transfer异常
直接去本地仓库将报错目录删掉,再次maven--->update原创 2015-03-17 13:18:06 · 303 阅读 · 0 评论 -
Plugin execution not covered by lifecycle configuration: 异常
异常为:pllugin execution not covered by lifecycle configuration:ro.isdc.wro4j:wro4j-maven-plugin:1.7.6:run(execution: default, phase: compile): 有两种解决方案。1、在pom.xml中<build>...<plugins>中增加&...原创 2015-03-17 13:29:40 · 172 阅读 · 0 评论 -
maven profile和spring profile选择及配置
工作中经常遇到开发、测试、生产等多个环境切换,profile可以解决,目前主流的是spring profile和maven profile两种。以我项目配置文件为例,结构如下,主要的改变是在properties里: 一、spring profile 1、在spring的配置文件中配置profile,下面是我的app-context-profile.xml,把profile的配置独...原创 2017-10-12 14:42:17 · 480 阅读 · 0 评论