[armedbear-cvs] r13370 - in trunk/abcl: . contrib
mevenson at common-lisp.net
mevenson at common-lisp.net
Fri Jul 1 16:53:18 UTC 2011
Author: mevenson
Date: Fri Jul 1 09:53:18 2011
New Revision: 13370
Log:
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.
Added:
trunk/abcl/contrib/pom.xml
Modified:
trunk/abcl/build.xml
trunk/abcl/maven-release.txt
Modified: trunk/abcl/build.xml
==============================================================================
--- trunk/abcl/build.xml Fri Jul 1 07:00:27 2011 (r13369)
+++ trunk/abcl/build.xml Fri Jul 1 09:53:18 2011 (r13370)
@@ -927,6 +927,8 @@
depends="abcl.binary.tar,abcl.source.tar,abcl.binary.zip,abcl.source.zip">
<copy file="${abcl.jar.path}"
tofile="${dist.dir}/abcl-${abcl.version}.jar"/>
+ <copy file="${abcl-contrib.jar}"
+ tofile="${dist.dir}/abcl-contrib-${abcl.version}.jar"/>
</target>
<import file="netbeans-build.xml" optional="true"/>
Added: trunk/abcl/contrib/pom.xml
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/abcl/contrib/pom.xml Fri Jul 1 09:53:18 2011 (r13370)
@@ -0,0 +1,56 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
+ xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <!-- NOT USABLE FOR BUILDS, only for installing into a repository! -->
+
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.sonatype.oss</groupId>
+ <artifactId>oss-parent</artifactId>
+ <version>6</version>
+ </parent>
+ <groupId>org.armedbear.lisp</groupId>
+ <artifactId>abcl-contrib</artifactId>
+ <version>0.26.0-SNAPSHOT</version>
+ <packaging>jar</packaging>
+ <name>Armed Bear Common Lisp (ABCL) Contribs</name>
+ <description>Extra packages--contribs--for ABCL</description>
+ <url>http://common-lisp/project/armedbear</url>
+ <licenses>
+ <license>
+ <name>GNU General Public License with Classpath exception</name>
+ <url>http://www.gnu.org/software/classpath/license.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:svn:svn://common-lisp.net/project/armedbear/svn/trunk/</connection>
+ <developerConnection>scm:svn:svn+ssh://common-lisp.net/project/armedbear/svn/trunk/</developerConnection>
+ <url>http://common-lisp.net/websvn/listing.php?repname=armedbear</url>
+ </scm>
+ <developers>
+ <developer>
+ <id>ehu</id>
+ <name>Erik Huelsmann</name>
+ <email>ehuels (at) gmail (dot) com</email>
+ </developer>
+ <developer>
+ <id>easyE</id>
+ <name>Mark Evenson</name>
+ <email>evenson (at) panix (dot) com</email>
+ </developer>
+ <developer>
+ <id>V-ille</id>
+ <name>Ville Voutilainen</name>
+ <email>ville.voutilainen (at) gmail (dot) com</email>
+ </developer>
+ <developer>
+ <id>astalla</id>
+ <name>Alessio Stalla</name>
+ <email>alessiostalla (at) gmail (dot) com</email>
+ </developer>
+ </developers>
+ <dependencies />
+</project>
Modified: trunk/abcl/maven-release.txt
==============================================================================
--- trunk/abcl/maven-release.txt Fri Jul 1 07:00:27 2011 (r13369)
+++ trunk/abcl/maven-release.txt Fri Jul 1 09:53:18 2011 (r13370)
@@ -14,9 +14,8 @@
# </server>
# First, remember to build it!
-ant abcl.jar
-ant abcl.source.jar
-ant abcl.javadoc.jar
+ant abcl.jar abcl.source.jar abcl.javadoc.jar abcl.contrib
+
# And maybe test it as well
ant abcl.test
@@ -24,11 +23,13 @@
mvn gpg:sign-and-deploy-file -Dfile=dist/abcl.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/content/repositories/snapshots/ -DrepositoryId=sonatype-nexus-snapshots
mvn 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
mvn 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
+mvn 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
# For releases - the version in the POM should be x.y.z
mvn gpg:sign-and-deploy-file -Dfile=dist/abcl.jar -DpomFile=pom.xml -Durl=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -DrepositoryId=sonatype-nexus-staging
mvn 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
mvn 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
+mvn 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
More information about the armedbear-cvs
mailing list