Failed to execute goal on Project: cocould not resolve dependencies for project cs2c. nkscloudweb: nkscloudweb3: War: 3.0: The following artifacts cocould not be resolved:
Maven-plugins: Maven-cobertura-plugin: Plugin: 1.3, Maven-plugins: Maven-findbugs-plugin: Plugin: 1.3.1: cocould not find artifact Maven-plugins: maven-cobertura-plugin: Plugin: 1.3 in nexus (http: // 10.1.81.221: 8081/nexus/content/groups/Public)-> [help 1]
Org. Apache. Maven. lifecycle. lifecycleexecutionexception: failed to execute goal on Project nkscloudweb3: cocould not resolve dependencies for project cs2c. nkscloudweb: nkscloudweb3: War: 3.0:
The following artifacts cocould not be resolved: Maven-plugins: Maven-cobertura-plugin: Plugin: 1.3, Maven-plugins: Maven-findbugs-plugin: Plugin: 1.3.1: cocould not find artifact Maven-plugins: Maven-cobertura-plugin: Plugin: 1.3
This error is reported all the time. I checked it and did not reference these two dependencies.
Added the MVN compile-X-E and the debug information, which can be found below:
[Debug] dom4j: dom4j: jar: 1.6.1: Compile
[Debug] XML-APIs: jar: 1.0.b2: Compile
[Debug] org. JDOM: jar: 1.1.2: Compile
[Debug] jaxen: jar: 1.1.3: Compile
[Debug] JDOM: jar: 1.0: Compile
[Debug] xerces: xercesimpl: jar: 2.6.2: Compile
[Debug] XOM: jar: 1.0: Compile
[Debug] xerces: xmlparserapis: jar: 2.6.2: Compile
[Debug] xalan: jar: 2.6.0: Compile
[Debug] com. IBM. ICU: icu4j: jar: 2.6.1: Compile
[Debug] Maven-plugins: Maven-cobertura-plugin: Plugin: 1.3: Compile
[Debug] cobertura: jar: 1.8: Compile
[Debug] Oro: jar: 2.0.8: Compile
[Debug] commons-JELLY: commons-jelly-tags-Log: jar: 1.0: Compile
[Debug] Maven-plugins: Maven-findbugs-plugin: Plugin: 1.3.1: Compile
[Debug] findbugs: bcel: jar: 5.1: Compile
[Debug] findbugs: coreplugin: jar: 1.0.0: Compile
[Debug] findbugs: jar: 1.0.0: Compile
It was originally referenced by dom4j. You can modify its version, or add a description similar to this:
<Dependency>
<Groupid> jaxen </groupid>
<Artifactid> jaxen </artifactid>
<Version> 1.1.3 </version>
<Exclusions>
<Exclusion>
<Artifactid> Maven-cobertura-plugin </artifactid>
<Groupid> Maven-plugins </groupid>
</Exclusion>
<Exclusion>
<Artifactid> Maven-findbugs-plugin </artifactid>
<Groupid> Maven-plugins </groupid>
</Exclusion>
</Exclusions>
</Dependency>