Missing artifact when compiling Maven projects with JBoss EAP Maven repository

Solution Verified - Updated -

Issue

  • I have Maven project with dependency on Red Hat supplied libraries:
<dependency>
   <groupId>org.hibernate</groupId>
   <artifactId>hibernate-core</artifactId>
   <version>4.2.0.Final-redhat-1</version>
   <scope>provided</scope>
</dependency>
  • When I compile this project, I am getting error message:
Failure to find dom4j:dom4j:jar:1.6.1-redhat-4 in...
  • Similarly for the dependency:
<dependency>
   <groupId>org.codehaus.jackson</groupId>
   <artifactId>jackson-mapper-asl</artifactId>
   <version>1.9.9-redhat-2</version>
</dependency>
  • I am getting error message:
Failure to find org.codehaus.jackson:jackson-core-asl:jar:1.9.9-redhat-1 in...

Is there a solution ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.1

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