Uploaded image for project: 'EJB 3.0'
  1. EJB 3.0
  2. EJBTHREE-2089

Add jboss release repo to distributionManagement in jboss-ejb3-build pom

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • build
    • None
    • jboss-ejb3-build:1.0.12

      As per the new release guidelines http://community.jboss.org/wiki/MavenDeployingaRelease

      <quote>
      In order to deploy to the Maven releases repository, your project POM (or parent POM) will need to be configured with the appropriate distributionManagement information. The best practice is to inherit this information from the JBoss parent pom (version 5 or later).

      <parent>
      <groupId>org.jboss</groupId>
      <artifactId>jboss-parent</artifactId>
      <version>5</version>
      </parent>

      If you are not able to inherit from the jboss parent pom, you will need the following configuration in your POM.

      <distributionManagement>
      <repository>
      <id>jboss-releases-repository</id>
      <name>JBoss Releases Repository</name>
      <url>https://repository.jboss.org/nexus/service/local/staging/deploy/maven2/&lt;/url>
      </repository>
      ...
      </distributionManagement>

      </quote>

      We have had some issues using jboss-parent 5, so instead of using that version, add the distribution management section to the pom.

            jaikiran Jaikiran Pai (Inactive)
            jaikiran Jaikiran Pai (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: