[pkg-java] r8873 - trunk/plexus-compiler-manager/debian
Ludovic Claude
ludovicc-guest at alioth.debian.org
Sun Jul 5 19:27:36 UTC 2009
Author: ludovicc-guest
Date: 2009-07-05 19:27:35 +0000 (Sun, 05 Jul 2009)
New Revision: 8873
Added:
trunk/plexus-compiler-manager/debian/libplexus-compiler-manager-java.poms
trunk/plexus-compiler-manager/debian/pom.xml
Modified:
trunk/plexus-compiler-manager/debian/build.xml
trunk/plexus-compiler-manager/debian/changelog
trunk/plexus-compiler-manager/debian/control
trunk/plexus-compiler-manager/debian/orig-tar.sh
trunk/plexus-compiler-manager/debian/rules
trunk/plexus-compiler-manager/debian/watch
Log:
* New version
Modified: trunk/plexus-compiler-manager/debian/build.xml
===================================================================
--- trunk/plexus-compiler-manager/debian/build.xml 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/build.xml 2009-07-05 19:27:35 UTC (rev 8873)
@@ -16,14 +16,11 @@
<target name="compile" depends="init">
<mkdir dir="${classes.dir}"/>
<javac srcdir="${source.dir}" destdir="${classes.dir}"
- debug="true" source="1.5"/>
+ debug="true" source="1.4"/>
</target>
<target name="jar" description="o Create the jar" depends="compile">
<echo message="Building jar ${jar.name}" />
- <copy todir="${classes.dir}/META-INF">
- <fileset dir="META-INF"/>
- </copy>
<jar jarfile="${jar.name}">
<fileset dir="${classes.dir}">
<include name="**"/>
Modified: trunk/plexus-compiler-manager/debian/changelog
===================================================================
--- trunk/plexus-compiler-manager/debian/changelog 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/changelog 2009-07-05 19:27:35 UTC (rev 8873)
@@ -1,5 +1,18 @@
plexus-compiler-manager (1.5.3-3) unstable; urgency=low
+ * Add the Maven POM to the package
+ * Add a Build-Depends-Indep dependency on maven-repo-helper
+ * Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
+ * Update watch file and orig-tar.sh to keep working. Use SVN to download sources
+ * Change debian/build.xml: use Java source version 1.4 for compatibility,
+ don't include META-INF/ folder from the sources
+ * Remove redundant dependencies
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Sun, 05 Jul 2009 20:25:23 +0100
+
+plexus-compiler-manager (1.5.3-3) unstable; urgency=low
+
* Change Section: java.
* Update Standards-Version: 3.8.2 (no changes).
* Switch to default-jdk.
Modified: trunk/plexus-compiler-manager/debian/control
===================================================================
--- trunk/plexus-compiler-manager/debian/control 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/control 2009-07-05 19:27:35 UTC (rev 8873)
@@ -4,7 +4,8 @@
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Paul Cager <paul-debian at home.paulcager.org>, Torsten Werner <twerner at debian.org>
Build-Depends: cdbs, debhelper (>= 6), ant
-Build-Depends-Indep: default-jdk, libplexus-container-default-java, libplexus-utils-java, libplexus-compiler-api-java
+Build-Depends-Indep: maven-repo-helper, default-jdk, libplexus-utils-java,
+ libplexus-compiler-api-java
Standards-Version: 3.8.2
Homepage: http://plexus.codehaus.org
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/plexus-compiler-manager
@@ -12,7 +13,7 @@
Package: libplexus-compiler-manager-java
Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, libplexus-container-default-java, libplexus-utils-java, libplexus-compiler-api-java
+Depends: ${shlibs:Depends}, ${misc:Depends}, libplexus-utils-java, libplexus-compiler-api-java
Description: The manager for the Plexus compiler system
The Plexus project provides a full software stack for creating and
executing software projects. Based on the Plexus container, the applications
Added: trunk/plexus-compiler-manager/debian/libplexus-compiler-manager-java.poms
===================================================================
--- trunk/plexus-compiler-manager/debian/libplexus-compiler-manager-java.poms (rev 0)
+++ trunk/plexus-compiler-manager/debian/libplexus-compiler-manager-java.poms 2009-07-05 19:27:35 UTC (rev 8873)
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
Modified: trunk/plexus-compiler-manager/debian/orig-tar.sh
===================================================================
--- trunk/plexus-compiler-manager/debian/orig-tar.sh 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/orig-tar.sh 2009-07-05 19:27:35 UTC (rev 8873)
@@ -1,18 +1,19 @@
#!/bin/sh -e
-# $1 = version
+# $2 = version
-URL=http://repository.codehaus.org/org/codehaus/plexus/plexus-compiler-manager/$1/plexus-compiler-manager-$1-sources.jar
+TAR=../plexus-compiler-manager_$2.orig.tar.gz
+DIR=plexus-compiler-manager-$2
+TAG=$(echo plexus-compiler-$2 | sed 's,~alpha,-alpha-,')
-wget $URL || exit 2
-SOURCE=plexus-compiler-manager-$1
-mkdir $SOURCE
-cd $SOURCE || exit 2
-jar xf ../plexus-compiler-manager-$1-sources.jar
-cd ..
+svn export http://svn.codehaus.org/plexus/tags/$TAG/plexus-compiler-manager/src/main/java $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
-GZIP=--best tar czf plexus-compiler-manager_$1.orig.tar.gz $SOURCE || exit 2
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
-rm -rf $SOURCE plexus-compiler-manager-$1-sources.jar
-
-
Property changes on: trunk/plexus-compiler-manager/debian/orig-tar.sh
___________________________________________________________________
Modified: svn:executable
-
+ *
Added: trunk/plexus-compiler-manager/debian/pom.xml
===================================================================
--- trunk/plexus-compiler-manager/debian/pom.xml (rev 0)
+++ trunk/plexus-compiler-manager/debian/pom.xml 2009-07-05 19:27:35 UTC (rev 8873)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?><project>
+ <parent>
+ <artifactId>plexus-compiler</artifactId>
+ <groupId>org.codehaus.plexus</groupId>
+ <version>1.5.3</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <artifactId>plexus-compiler-manager</artifactId>
+ <name>Plexus Compiler Manager</name>
+ <version>1.5.3</version>
+ <dependencies>
+ <dependency>
+ <groupId>org.codehaus.plexus</groupId>
+ <artifactId>plexus-compiler-api</artifactId>
+ <version>1.5.3</version>
+ </dependency>
+ </dependencies>
+ <distributionManagement>
+ <status>deployed</status>
+ </distributionManagement>
+</project>
\ No newline at end of file
Modified: trunk/plexus-compiler-manager/debian/rules
===================================================================
--- trunk/plexus-compiler-manager/debian/rules 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/rules 2009-07-05 19:27:35 UTC (rev 8873)
@@ -1,21 +1,30 @@
#!/usr/bin/make -f
+include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-include /usr/share/cdbs/1/rules/debhelper.mk
-JAVA_HOME := /usr/lib/jvm/java-gcj
-DEB_ANT_BUILD_TARGET := jar
-DEB_ANT_BUILDFILE := debian/build.xml
-DEB_JARS := plexus-container-default plexus-utils plexus-compiler-api
-ANT_OPTS := -Dversion=$(DEB_UPSTREAM_VERSION) -Dcomponent=$(DEB_SOURCE_PACKAGE)
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
+DEB_ANT_BUILD_TARGET := jar
+DEB_ANT_BUILDFILE := debian/build.xml
+DEB_JARS := plexus-container-default plexus-utils plexus-compiler-api
+ANT_OPTS := -Dversion=$(DEB_UPSTREAM_VERSION) -Dcomponent=$(DEB_SOURCE_PACKAGE)
makebuilddir/libplexus-compiler-manager-java::
install -d classes/META-INF/plexus/
install -m644 debian/components.xml classes/META-INF/plexus/
-install/libplexus-compiler-manager-java::
- dh_install $(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java
- dh_link /usr/share/java/$(DEB_SOURCE_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/$(DEB_SOURCE_PACKAGE).jar
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml $(PACKAGE)-$(VERSION).jar
+clean::
+ -rm -rf debian/tmp
+
get-orig-source:
- -uscan --upstream-version 0
+ -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+get-orig-pom:
+ -wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/org/codehaus/plexus/plexus-compiler-manager/${VERSION}/plexus-compiler-manager-${VERSION}.pom
+
Property changes on: trunk/plexus-compiler-manager/debian/rules
___________________________________________________________________
Modified: svn:executable
-
+ *
Modified: trunk/plexus-compiler-manager/debian/watch
===================================================================
--- trunk/plexus-compiler-manager/debian/watch 2009-07-05 16:10:53 UTC (rev 8872)
+++ trunk/plexus-compiler-manager/debian/watch 2009-07-05 19:27:35 UTC (rev 8873)
@@ -1,2 +1,4 @@
version=3
-http://repository.codehaus.org/org/codehaus/plexus/plexus-compiler-manager ([0-9].*)/ debian debian/orig-tar.sh
+opts=uversionmangle=s{-alpha-}{~alpha} \
+ http://svn.codehaus.org/plexus/tags/ \
+ plexus-compiler-(.*)/ debian debian/orig-tar.sh
More information about the pkg-java-commits
mailing list