JBoss Deprecated Repository

The jboss.org Maven repository includes a repository called "JBoss Deprecated".  This was created in an effort to clean up the contents of the old jboss.org repository (http://repository.jboss.org/maven2).  The URL for the deprecated repository is: http://repository.jboss.org/nexus/content/repositories/deprecated

 

The repository URL can be added to your settings.xml in a profile or in a mirror setting.

 

   <!-- Redirect requests for the old repo to go to the new deprecated repo -->
    <mirror>
      <id>deprecated-jboss-repo</id>
      <name>Use new repo to handle requests to deprecated repo</name>
      <mirrorOf>repository.jboss.org</mirrorOf>
      <url>http://repository.jboss.org/nexus/content/repositories/deprecated</url>
    </mirror>
    <mirror>
      <id>deprecated-jboss-repo2</id>
      <name>Use new repo to handle requests to deprecated repo</name>
      <mirrorOf>jboss</mirrorOf>
      <url>http://repository.jboss.org/nexus/content/repositories/deprecated</url>
    </mirror>

 

Contents of the Deprecated Repostiory

 

There are several types of artifacts currently in the deprecated repository.

  • Artifacts that match the GAV (GroupId, ArtifactId, Version) of central but contain a different jar or pom.
  • Artifacts that match an artifact in central but have moved to a different GAV.
  • Some old jboss groupIds that are no longer used (See Maven JBoss GroupIds ).

 

 

Common Deprecated Artifacts

This table provides information about how to replace deprecated artifacts.

 

Deprecated Artifact GAV
      Correct Artifact GAV      
apache-avalon-logkit:logkit:1.2logkit:logkit:1.2
apache-httpclient:commons-httpclient:3.1commons-httpclient:commons-httpclient:3.1
apache-log4j:log4jlog4j:log4j
apache-scout:scout:1.1.1org.apache.ws.scout:scout:1.1.1
apache-slide:webdavlib:2.0slide:webdavlib:2.0

apache-xerces:xml-apis:2.9.1,

apache-xerces:xml-apis:2.9.0

xml-apis:xml-apis:1.3.04
apache-xerces:xml-apis:2.7.0xml-apis:xml-apis:1.3.02
apache-xerces:resolver:2.9.1xml-resolver:xml-resolver:1.2
apache-xerces:xercesImpl:2.9.1xerces:xercesImpl:2.9.1
cglib:cglib:2.1.3cglib:cglib:2.1_3
org.apache.ws.plicy:wscommons-policy:1.0ws-commons:policy:1.0
quartz:quartz:1.6.0opensymphony:quartz:1.6.0
sun-jaxws:jaxws-rt:2.1.3com.sun.xml.ws:jaxws-rt:2.1.3
sun-jaxws:jsr173-api:2.1.1javax.xml.stream:stax-api:1.0-2
sun-jaxws:jsr181-api:2.1.1javax.jws:jsr181-api:1.0-MR1
sun-jaxws:jaxws-tools:2.1.3com.sun.xml.ws:javaxws-tools:2.1.3
sun-jaxws:jaxws-api:2.1.1javax.xml.ws:jaxws-api:2.1-1
trove:trove:2.1.1trove:trove:1.0.2
wutka-dtdparser/dtdparser121/1.2.1com.wutka:dtdparser:1.21

 

 

.