"maven-clean-plugin:pom:2.4.1-redhat-1 cannot be found" when using jboss-bom-parent as module parent

Solution Verified - Updated -

Issue

We want to use the Jboss provided libs in jboss-eap-6.1.0-maven-repository.zip. So, we include the following pom as the parent pom of our project pom.

    <groupId>org.jboss.bom</groupId>
    <artifactId>jboss-bom-parent</artifactId>
    <version>1.0.4.Final-redhat-4</version>

When we run the maven build command "mvn clean install" on our project, we run into an error saying that org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1-redhat-1 cannot be found.

Environment

  • JBoss Enterprise Application Platform (EAP) 6
  • Maven

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.