最近在研究tigase即时通讯组件,在官网下载下来的tigase-server源码中pom会报错,该报错信息我花了二天时间才解决,其实知道方法了 很快就能搞定的
只要在pom文件的<bulid>节点中加入如下代码
<pluginManagement> <plugins> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. --> <plugin> <groupId>org.eclipse.m2e </groupId> <artifactId>lifecycle-mapping</artifactId> <version> 1.0.0 </version> <configuration> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId> org.codehaus.gmaven </groupId> <artifactId> gmaven-plugin </artifactId> <versionRange> [1.5,) </versionRange> <goals> <goal>execute </goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> <pluginExecution> <pluginExecutionFilter> <groupId> org.commonjava.maven.plugins </groupId> <artifactId> directory-maven-plugin </artifactId> <versionRange> [0.1,) </versionRange> <goals> <goal>directory-of </goal> </goals> </pluginExecutionFilter> <action> <ignore></ignore> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata> </configuration> </plugin> </plugins> </pluginManagement>
添加后 重新maven update下就可以了,希望可以帮忙遇到同样问题的你。
相关推荐
apache-maven-3.5.4-bin.tar.gz的插件,在Mac本下的使用,可以参考本人的使用博客
apache-maven-3.6.1-bin.tar.gz liunx中的maven。
maven项目插件的配置,大家如果在进行clean,package或者运行时出错,有可能是maven插件的问题,可以试试这个配置
解决tomcat8-maven-plugin-3.0-r1655215.jar阿里云同有的问题。放到路径org\apache\tomcat\maven\tomcat8-maven-plugin\3.0-r1655215\就可以了
maven-archetype-webapp-1.0.jar,下载,如果有需要的同志可以自己下载,。
maven是个项目管理工具,如果我们不告诉它我们的代码要使用什么样的jdk版本编译的话...maven的默认编译使用的jdk版本貌似很低,使用maven-compiler-plugin插件可以指定项目源码的jdk版本,编译后的jdk版本,以及编码。
解决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 -...
<artifactId>maven-shade-plugin <version>3.1.0 <phase>package <goal>shade implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer"> <resource>META-INF/spring....
maven-deploy-plugin-2.8.2.jar
maven-resources-plugin-2.4.1.jar
Maven坐标:org.codehaus.jettison:jettison:1.3.7; 标签:codehaus、jettison、jar包、java、API文档、中文版; 使用方法:解压翻译后的API文档,用浏览器打开“index.html”文件,即可纵览文档内容。 人性化翻译...
Android studio离线组件最新版本的 Google Maven 依赖项offline-gmaven-stable,文件分割成 三个 压缩包,必须集齐 三个 文件后才能一起解压一起使用: Android studio离线组件offline-gmaven-stable.part1.rar ...
localRepository节点默认是被注释掉的,需要把它移到注释之外,然后将localRepository节点的值改为我们在3.1中创建的目录D:\Program Files\Apache\maven-repository。 3. localRepository节点用于配置本地仓库,本地...
apache-maven的插件包:apache-maven-3.3.9-bin.zip。。
Failure to transfer org.codehaus.plexus:plexus-archiver:pom:1.0 from http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update ...
Apache Maven (apache-maven-3.8.4-bin.tar.gz)是一个软件项目管理和理解工具。基于项目对象模型 (POM) 的概念,Maven 可以从一条中央信息中管理项目的构建、报告和文档。
还在为找不到jar文件烦心吗,不用了到我空间来有你想要的,持续更新。。。 maven-ant-tasks.jar
【在本地库中装载maven-archetype-quickstart】 1. 下载该文件 2. 打开cmd窗口,执行mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=maven-archetype-quickstart -Dversion=1.1 -...
sonarqube-v8.2.0.32929.zip 含以下插件 sonar-maven-plugin-3.7.0.1746.jar sonar-l10n-zh-plugin-8.2.jar sonar-pmd-plugin-3.2.0-SNAPSHOT.jar sonar-pdfreport-plugin-3.0.1.jar
Android studio离线组件最新版本的 Google Maven 依赖项offline-gmaven-stable,文件分割成 三个 压缩包,必须集齐 三个 文件后才能一起解压一起使用: Android studio离线组件offline-gmaven-stable.part1.rar ...