"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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content