JBoss Maven Repositories

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

External

Internal

Overview

JBoss EAP comes with a publicly accessible on-line Maven repository that contains many of the dependencies Java EE developers need to build applications on JBoss EAP. Maven repository archives are also being offered for each EAP release on the JBoss Customer Portal and can be installed locally.

RedHat Repositories

RedHat General Availability Maven Repository

https://maven.repository.redhat.com/ga/

This repository contains supported artifacts. It is also used to publish BOMs.

settings.xml declaration:

<settings ...>
  <profiles>
    <profile>
      <id>RedHat General Availability Maven Repository Profile</id>
      <repositories>
        <repository>
           <id>redhat-ga</id>
           <name>redhat-ga</name>
           <url>https://maven.repository.redhat.com/ga/</url>
           <layout>default</layout>
           <releases>
             <enabled>true</enabled>
             <updatePolicy>never</updatePolicy>
           </releases>
           <snapshots>
             <enabled>true</enabled>
             <updatePolicy>never</updatePolicy>
           </snapshots>
         </repository>
       </repositories>
     </profile>
  </profiles>
  ...
  <activeProfiles>
    <activeProfile>RedHat General Availability Maven Repository Profile</activeProfile>
  </activeProfiles>
</settings>

RedHat Tech Preview Maven Repository

http://maven.repository.redhat.com/techpreview/all

Other RedHat Tech Preview Maven Repository

https://maven.repository.redhat.com/nexus/content/groups/product-techpreview/

This is the repository where some of the patched JARs from EAPs are found. To find whether a EAP deployment has been patched and where the patches are, see EAP Patching.

RedHat Early Access Maven Repository

https://maven.repository.redhat.com/earlyaccess/all/

JBoss Repositories

The root of all JBoss Maven repositories is:

https://repository.jboss.org/nexus/content/repositories/

It contains the following repositories:

JBoss Repository Groups

A repository group provides a combined view of several repositories under a single URL. Available repository groups:

  • Public JBoss Group https://repository.jboss.org/nexus/content/groups/public-jboss Used by JBoss community users. Contains the repositories "JBoss Releases", "JBoss Thirdparty Releases", "JBoss Thirdparty Uploads", and "JBoss Snapshots". Does not include "JBoss Deprecated". Does not include proxy repositories.
  • Public Repositories https://repository.jboss.org/nexus/content/groups/public Used by JBoss community developers. Contains all JBoss repositories included in the "Public JBoss" group. Does not include "JBoss Deprecated" and "JBoss Restricted". Contains all proxy repositories other than "central".
  • Staging Repository Group https://repository.jboss.org/nexus/content/groups/staging Includes all release repositories in the "Public JBoss" group. Contains all non-snapshot proxy repositories including "central". Contains all the currently available (closed) staging repositories. Does not include any snapshot repositories. This repository should be used when performing a release.

Configuration of the Public JBoss Repository Group

https://repository.jboss.org/nexus/content/groups/public-jboss/

settings.xml declaration:

<settings ...>
  <profiles>
    <profile>
      <id>JBoss Public Maven Repository Group Profile</id>
      <repositories>
        <repository>
          <id>jboss-public-repository</id>
          <name>JBoss Public Maven Repository</name>
          <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
          <layout>default</layout>
        </repository>
      </repositories>
    </profile>
  </profiles>
  ...
  <activeProfiles>
    <activeProfile>JBoss Public Maven Repository Group Profile</activeProfile>
  </activeProfiles>
</settings>

JBoss Repository Search

Go to

https://repository.jboss.org/nexus

and use search.

JBoss EAP BOMs

JBoss EAP BOMs