Failed to Read Artifact Descriptor for Org.apache.maven.plugins:maven-jar-plugin:jar:2.4 Intellij

Last week I my laptop was updated to Windows 10. Since that time intelliJ is throwing Maven related errors which I take been unable to resolve. All of my Maven plugins are highlighted in red with an error for: "Failed to read antiquity descriptor for (dependency).". This is happening with every unmarried plugin and dependency. I should likewise mention this is a cloned project that works for anybody else so the problem is not with the pom.

Here is a screenshot of my Maven settings: enter image description here

I've tried many options to resolve this including: 1. Invalidate Caches / Restart 2. Re import Project iii. Re import Maven Dependencies. iv. Deleting the intelliJ .iml and .thought folder. v. Doing a Maven make clean install (volition touch on this in a moment). half-dozen. Doing a git pull and re importing. vii. Installing an external Maven (newest version), adding it to the surround variables and intelliJ.

Below is the error output from console when I attempt to run:

          "C:\Plan Files (x86)\Coffee\jdk1.8.0_31\jdk1.8.0_31\bin\coffee" "-Dmaven.dwelling house=C:\Program Files (x86)\JetBrains\IntelliJ Idea 2016.1.2\plugins\maven\lib\maven3" "-Dclassworlds.conf=C:\Programme Files (x86)\JetBrains\IntelliJ Idea 2016.1.2\plugins\maven\lib\maven3\bin\m2.conf" -Didea.launcher.port=**** "-Didea.launcher.bin.path=C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.1.2\bin" -Dfile.encoding=UTF-eight -classpath "C:\Programme Files (x86)\JetBrains\IntelliJ Idea 2016.ane.2\plugins\maven\lib\maven3\boot\plexus-classworlds-2.iv.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2016.ane.2\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher -Didea.version=2016.1.2 clean install [INFO] Scanning for projects... [WARNING]  [WARNING] Some problems were encountered while building the effective model for (redacted) [Alarm] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 78, column 21 [WARNING]  [Alarm] It is highly recommended to gear up these problems because they threaten the stability of your build. [WARNING]  [Warning] For this reason, future Maven versions might no longer back up building such malformed projects. [Alert]  [INFO]                                                                          [INFO] ------------------------------------------------------------------------ [INFO] Building (redacted)SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.iv.i.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.923s [INFO] Finished at: Wed Jan x 15:26:17 EST 2018 [INFO] Last Memory: 6M/123M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read antiquity descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to central (http://repo.maven.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org -> [Help 1] [Error]  [Error] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR]  [ERROR] For more information near the errors and possible solutions, please read the following articles: [ERROR] [Assistance 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException  Process finished with go out code ane                  

CMD Prompt attempt at a version / clean / make clean install i become the below results:

          C:\Users\(redacted)\(redacted)\(redacted)>mvn clean [INFO] Scanning for projects... [Warning] [WARNING] Some problems were encountered while edifice the effective model for (redacted)-SNAPSHOT [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 73, cavalcade 21 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [Warning] [WARNING] For this reason, futurity Maven versions might no longer back up building such malformed projects. [Alarm] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building (redacted) ane.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-make clean-plugin/2.5/maven-clean-plugin-two.5.pom [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Full time: 0.697 due south [INFO] Finished at: 2018-01-11T10:09:44-05:00 [INFO] Concluding Memory: 7M/17M [INFO] ------------------------------------------------------------------------ [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:ii.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.five: Could non transfer artifact org.apache.maven.plugins:maven-make clean-plugin:pom:two.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Unknown host repo.maven.apache.org -> [Help 1] [ERROR] [ERROR] To meet the full stack trace of the errors, re-run Maven with the -e switch. [Mistake] Re-run Maven using the -X switch to enable full debug logging. [Error] [Error] For more than information about the errors and possible solutions, please read the following articles: [ERROR] [Help ane] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException  C:\Users\(redacted)\repos2\gpp-automated-testing>                  

Concluding of all when I run mvn make clean -e for detailed errors I get the following errors:

          org.apache.maven.plugin.PluginResolutionException: Plugin org.apache.maven.plugins:maven-clean-plugin:2.v or one of its dependencies could non be resolved: Failed to read antiquity descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:ii.5  Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:two.5  Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org  Acquired by: org.apache.maven.railroad vehicle.TransferFailedException: repo.maven.apache.org  Caused past: java.net.UnknownHostException: repo.maven.apache.org                  

I tried to ping the host, I was unsure exactly which of these was the correct fashion to ping host and so I tried them all.

          C:\Users\(redacted)\repos2\(redacted)>ping http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-make clean-plugin/ii.4.1/maven-clean-plugin-2.4.ane.pom Ping asking could non discover host http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.four.1/maven-clean-plugin-2.4.1.pom. Delight check the name and try once more.  C:\Users\(redacted)\repos2\(redacted)>ping http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-make clean-plugin/ii.iv.1/maven-make clean-plugin-2.four.ane.pom Ping request could not find host http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/two.4.i/maven-make clean-plugin-2.4.1.pom. Please check the name and try again. C:\Users\(redacted)\repos2\(redacted)>ping http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/ Ping request could not find host http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-make clean-plugin/. Please check the name and try again. C:\Users\(redacted)\repos2\(redacted)>ping http://repo.maven.apache.org Ping request could not discover host http://repo.maven.apache.org. Please check the proper name and try over again.                  

kelleybabodest.blogspot.com

Source: https://stackoverflow.com/questions/48210453/maven-in-intellij-fails-to-read-artifact-descriptor-snapshot-update-is-enabled

0 Response to "Failed to Read Artifact Descriptor for Org.apache.maven.plugins:maven-jar-plugin:jar:2.4 Intellij"

Postar um comentário

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel