JBoss Maven Repositories: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


=Overview=
=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.
https://maven.repository.redhat.com/ga/


Red Hat publishes the following Maven repositories:
Red Hat publishes the following Maven repositories:
=JBoss BOMs=
There is a dependency management BOM included in the JBoss EAP Maven repository, which specifies all the supported JBoss EAP binary artifacts. This BOM can be used in a build to ensure that Maven will prioritize supported JBoss EAP dependencies for all direct and transitive dependencies in the build. In other words, transitive dependencies will be managed to the correct supported dependency version where applicable. The version of this BOM matches the version of the JBoss EAP release.
<dependency>
  <groupId>org.jboss.bom</groupId>
  <artifactId>eap-runtime-artifacts</artifactId>
  <version>7.0.0.GA</version>
  <type>pom</type>
  <scope>import</scope>
  </dependency>


=Organizatorium=
=Organizatorium=

Revision as of 17:50, 6 September 2017

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.


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


Red Hat publishes the following Maven repositories:

JBoss BOMs

There is a dependency management BOM included in the JBoss EAP Maven repository, which specifies all the supported JBoss EAP binary artifacts. This BOM can be used in a build to ensure that Maven will prioritize supported JBoss EAP dependencies for all direct and transitive dependencies in the build. In other words, transitive dependencies will be managed to the correct supported dependency version where applicable. The version of this BOM matches the version of the JBoss EAP release.

<dependency>
  <groupId>org.jboss.bom</groupId>
  <artifactId>eap-runtime-artifacts</artifactId>
  <version>7.0.0.GA</version>
  <type>pom</type>
  <scope>import</scope>
 </dependency>

Organizatorium

Repositories from .m2/settings.xml:

JBoss Public Maven Repository: https://repository.jboss.org/nexus/content/groups/public-jboss

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



http://repository.jboss.org/nexus/content/groups/public/

This is the repository where some of the patched JARs from EAPs are found: https://maven.repository.redhat.com/nexus/content/groups/product-techpreview/

To find whether a EAP deployment has been patched and where the patches are, see EAP Patching.

To Migrate [JBossAndMaven].

https://repository.jboss.org/nexus/content/groups/public-jboss
<repository>
    <id>jboss-public-repository-group</id>
    <name>JBoss Public Maven Repository Group</name>
    <url>https://repository.jboss.org/nexus/content/groups/public-jboss/</url>
    <layout>default</layout>
</repository>
https://maven.repository.redhat.com/ga
<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>

BOMs

https://github.com/jboss-developer/jboss-eap-boms

See branches.