Intellij Idea Maven build "Could not read artifact descriptor"

All idea-based maven fail with the following error for each Maven dependency:

"Failed to read the artifact: coordinates dependency", where "dependency: coordinates" can be any dependency in my pom.

When I go to the corresponding dependency inside pom, the part underlined in red reads ...

Dependency: coordinates not found.

The string works fine on the command line (using cygwin).

I use:

Intellij Idea 14.0.2 Maven 3.2.3 jdk 1.7.0_71

Since I work on a corporate network, I have to access the outside world through a proxy server. I configured Intellij Idea to use this proxy, so it should not have any problems accessing the maven central repositories.

When I finish the idea log file as the assembly fails, I get the following:

2014-12-15 12: 07: 01,905 [2682540] INFO - ij.compiler.impl.CompileDriver - GETTING STARTED OF THE COMPUTER (PROCESS STORY) 2014-12-15 12: 07: 01,928 [2682563] INFO - j.compiler.server .BuildManager - using the preloaded build process to compile C: \ code_checkouts \ idea_project 2014-12-15 12: 07: 03,056 [2683691] INFO - lij.compiler.impl.CompilerUtil - COMPILATION IS COMPLETED (BUILDING PROCESS); Errors: 18; warnings: 0 took 1102 ms: 0 min 1 sec 2014-12-15 12: 07: 03,890 [2684525] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: 12: 07: 03,852 | -INFO in ch.qos.logback.classic.LoggerContext [default] - Resource [logback.groovy] found in [jar: file: / C: / Program% 20Files% 20 (x86) /JetBrains/IntelliJ%20IDEA%2014.0 .2 / plugins / gradle / lib / gradle.jar! /Logback.groovy] 2014-12-15 12: 07: 03,890 [2684525] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: 12: 07: 03,854 | -ERROR in ch.qos.logback.classic.LoggerContext [default] - Groovy class classes are not available in the class path. ABORTIVE INITIALIZATION. 2014-12-15 12: 07: 03,936 [2684571] INFO - j.compiler.server.BuildManager - BUILDER_PROCESS [stdout]: the build process has begun. Classpath: / C: / Program Files (x86) / JetBrains / IntelliJ IDEA 14.0.2 / lib / jps-launcher.jar; C: / Program Files / Java / jdk1.7.0_71 / lib / tools.jar; / C: / Program Files (x86) / JetBrains / IntelliJ IDEA 14.0.2 / lib / optimizedFileManager.jar; C: / Program Files (x86) / JetBrains / IntelliJ IDEA 14.0.2 / lib / ecj-4.4.jar

Can anyone suggest a solution ???

The answer to this question suggests that this is really a problem with connecting to the network, but there is nothing in this fragment from the logs (above) to confirm this. Is there a way to increase the level of detail in IDEA logs to give more information about the problem? For example, how do I configure debug logging in IDEA?

Failed to read artifact handle for maven-resources-plugin

+5
source share
1 answer

Although you wrote this, make sure Maven uses the same settings.xml from both cmd and IDEA. maven has no logic in IDEA, and it just runs the commands you give them.

+7
source

Source: https://habr.com/ru/post/1209083/


All Articles