The error "cocould not find artifact Maven-plugins: Maven-cobertura-plugin: Plugin: 1.3" is not found in Maven.

Source: Internet
Author: User

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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.