[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-2089) Add jboss release repo to distributionManagement in jboss-ejb3-build pom

jaikiran pai (JIRA) jira-events at lists.jboss.org
Tue May 11 06:20:05 EDT 2010


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

                 Key: EJBTHREE-2089
                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-2089
             Project: EJB 3.0
          Issue Type: Task
          Components: build
            Reporter: jaikiran pai
            Assignee: jaikiran pai


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. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list