Changeset 13370


Ignore:
Timestamp:
07/01/11 16:53:18 (10 years ago)
Author:
Mark Evenson
Message:

Add support for releasing the contrib with Maven artifacts.

Create a "versioned" contrib jar as part of the release.

N.B. the pom.xml and instructions are untested.

Location:
trunk/abcl
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13357 r13370  
    928928      <copy file="${abcl.jar.path}"
    929929            tofile="${dist.dir}/abcl-${abcl.version}.jar"/>
     930      <copy file="${abcl-contrib.jar}"
     931            tofile="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
    930932    </target>
    931933
  • trunk/abcl/maven-release.txt

    r13224 r13370  
    1515
    1616# First, remember to build it!
    17 ant abcl.jar
    18 ant abcl.source.jar
    19 ant abcl.javadoc.jar
     17ant abcl.jar abcl.source.jar abcl.javadoc.jar abcl.contrib
     18
    2019# And maybe test it as well
    2120ant abcl.test
     
    2524mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-sources.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=sources
    2625mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-javadoc.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots -Dclassifier=javadoc
     26mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-contrib-${abcl.version}-jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots
    2727
    2828# For releases - the version in the POM should be x.y.z
     
    3030mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-sources.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dclassifier=sources
    3131mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-${abcl.version}-javadoc.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging -Dclassifier=javadoc
     32mvn gpg:sign-and-deploy-file -Dfile=dist/abcl-contrib-${abcl.version}.jar -DpomFile=contrib/pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging
    3233
    3334
Note: See TracChangeset for help on using the changeset viewer.