PluginResolutionException( Failed to read artifact descriptor for org.apache.maven.plugins:)
来源:互联网 发布:猫鼠游戏真实事件 知乎 编辑:程序博客网 时间:2024/05/22 21:40
https://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
This error occurs when you employ a plugin that Maven could not download. Possible causes for this error are:
- You are referring to a non-existing plugin, e.g. by means of a typo in its group id, artifact id or version.
- You are using a third-party Maven plugin that is not deployed to the central Maven repository and your POM/settings is missing the required<pluginRepository> to download the plugin. Note that <repository> declarations are not considered when looking for the plugin and its dependencies, only<pluginRepositories> are searched for plugins.
- The plugin repository you have configured requires authentication and Maven failed to provide the correct credentials to the server. In this case, make sure your${user.home}/.m2/settings.xml contains a <server> declaration whose<id> matches the <id> of the plugin repository to use. See the Maven Settings Reference for more details.
- There is a general network problem that prevents Maven from accessing any remote repository, e.g. a missing proxy configuration.
- Maven failed to save the files to your local repository, see LocalRepositoryNotAccessibleException for more details.
- The plugin repository you have configured is disabled for the specific version of the plugin you requested. For instance, if you want to use a SNAPSHOT version of a plugin, make sure you don't have<snapshots><enabled>false</enabled></snapshots> configured. Likewise, in order to resolve a released version of the plugin, the plugin repository should not be configured with<releases><enabled>false</enabled></releases>. See the POM Reference for more information on repository configuration.
In those cases, check your POM and/or settings for the proper contents. If you configured the plugin repository in a profile of yoursettings.xml, also verify that this profile gets actually activated, e.g. via invokingmvn help:active-profiles.
In case of a general network-related problem, you could also consult the following articles:
- Configuring a Proxy
- Security and Deployment Settings
- Guide to Remote Repository Access through Authenticated HTTPS
Note: For performance reasons, Maven caches the information that the plugin could not be downloaded. Depending on your setup, you might need to clear this cache by adding the flag-U to the command line for your corrections to take effect.
- PluginResolutionException( Failed to read artifact descriptor for org.apache.maven.plugins:)
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-jar-plugin:jar:2.5
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-war-plugin:2.3
- Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
- mvn install失败:Failed to read artifact descriptor org.apache.maven.plugins:maven-install-plugin:jar:2
- Failed to read artifact descriptor for org.eclipse.tycho 错误
- Failed to read artifact descriptor for org.apache.poi:poi-ooxml:pom.lastUpdated:3.10-FINAL
- Maven 报错:Failed to read artifact descriptor for ***包
- Maven项目报错:Failed to read artifact descriptor for ***
- Maven 'failed to read artifact descriptor'
- [WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins....
- Failed to parse plugin descriptor for org.apache.hadoop:hadoop-maven-plugins
- failed to read artifact descriptor for xx
- maven Maven错误Failed to read artifact descriptor for xxx:jar 和 missing artifact maven dependency
- MAVEN安全代理设置引起的“[WARNING] Failed to retrieve plugin descriptor for org.apache.maven.plugins:...”
- Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins:maven-site-plugin:maven
- Failed to read artifact descriptor
- maven创建web报Cannot read lifecycle mapping metadata for artifact org.apache.maven.plugins
- 通过PHP怎样取到android系统下apk应用的包名,版本号等信息
- 华丽的css3效果演示集合
- Open Inventor显示区域设置SoReoriganizeAction
- eclipse中文字体太小的问题
- C++标准转换运算符const_cast
- PluginResolutionException( Failed to read artifact descriptor for org.apache.maven.plugins:)
- AT&T与Intel汇编语言的比较
- 警告:xxxx 是 Sun 的专用 API,可能会在未来版本中删除
- 腾讯 vs 百度
- JBPM4.4环境搭建
- fckeditor的jsp中的使用
- flex---->定位和布局
- Android phone在拨号盘输入*#06#的处理流程
- listview加载性能优化ViewHolder