[pkg-java] r8756 - trunk/junit/debian

Ludovic Claude ludovicc-guest at alioth.debian.org
Thu Jul 2 10:18:07 UTC 2009


Author: ludovicc-guest
Date: 2009-07-02 10:18:06 +0000 (Thu, 02 Jul 2009)
New Revision: 8756

Added:
   trunk/junit/debian/junit.poms
   trunk/junit/debian/maven.rules
   trunk/junit/debian/pom.xml
Modified:
   trunk/junit/debian/changelog
   trunk/junit/debian/compat
   trunk/junit/debian/control
   trunk/junit/debian/orig-tar.sh
   trunk/junit/debian/rules
Log:
* New version

Modified: trunk/junit/debian/changelog
===================================================================
--- trunk/junit/debian/changelog	2009-07-02 10:10:33 UTC (rev 8755)
+++ trunk/junit/debian/changelog	2009-07-02 10:18:06 UTC (rev 8756)
@@ -1,10 +1,31 @@
-junit (3.8.2-2) UNRELEASED; urgency=low
+junit (3.8.2-2) unstable; urgency=low
 
-  * (Build-)depend on default-jre/-jdk (>= 1.4).
-  * Build with -target 1.4.
+  * Add Maven POM descriptor
+  * Add a Build-Depends-Indep dependency on maven-repo-helper
+  * debian/rules: added get-orig-pom target to run manually to download the latest 
+    Maven POM and add it to the debian directory.
+  * Fix some Lintian warnings: bump Standards-Version to 3.8.1, 
+    cannot fix Copyright warning as no information
+    was found in the source code or the web site about the copyright owners,
+    and adding ${misc:Depends} causes FTBSF.
+  * Change section to java
+  * Use mh_installpom and mh_installjar to install the POM and the jar to the
+    Maven repository
 
- -- Matthias Klose <doko at debian.org>  Mon, 20 Oct 2008 12:37:05 +0000
+ -- Ludovic Claude <ludovic.claude at laposte.net>  Mon, 16 Mar 2009 00:33:07 +0000
 
+junit (3.8.2-1ubuntu2) intrepid; urgency=low
+
+  * Compile java files with -target 1.4. LP: #264808.
+
+ -- Matthias Klose <doko at ubuntu.com>  Mon, 20 Oct 2008 14:25:15 +0200
+
+junit (3.8.2-1ubuntu1) intrepid; urgency=low
+
+  * (Build-)depend on default-jre/-jdk.
+  * Don't build with -target 1.3.
+
+ -- Matthias Klose <doko at ubuntu.com>  Wed, 30 Jul 2008 15:32:08 +0000
 junit (3.8.2-1) unstable; urgency=low
 
   [ Kumar Appaiah ]

Modified: trunk/junit/debian/compat
===================================================================
--- trunk/junit/debian/compat	2009-07-02 10:10:33 UTC (rev 8755)
+++ trunk/junit/debian/compat	2009-07-02 10:18:06 UTC (rev 8756)
@@ -1 +1 @@
-4
+6

Modified: trunk/junit/debian/control
===================================================================
--- trunk/junit/debian/control	2009-07-02 10:10:33 UTC (rev 8755)
+++ trunk/junit/debian/control	2009-07-02 10:18:06 UTC (rev 8756)
@@ -1,11 +1,11 @@
 Source: junit
-Section: devel
+Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Michael Koch <konqueror at gmx.de>, Wolfgang Baer <WBaer at gmx.de>
-Build-Depends: debhelper (>= 4.2.30), cdbs
-Build-Depends-Indep: default-jdk
-Standards-Version: 3.7.3
+Build-Depends: debhelper (>= 4.2.30), cdbs, default-jdk-builddep
+Build-Depends-Indep: maven-repo-helper
+Standards-Version: 3.8.1
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/junit
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/junit
 Homepage: http://www.junit.org

Added: trunk/junit/debian/junit.poms
===================================================================
--- trunk/junit/debian/junit.poms	                        (rev 0)
+++ trunk/junit/debian/junit.poms	2009-07-02 10:18:06 UTC (rev 8756)
@@ -0,0 +1 @@
+debian/pom.xml --no-parent

Added: trunk/junit/debian/maven.rules
===================================================================
--- trunk/junit/debian/maven.rules	                        (rev 0)
+++ trunk/junit/debian/maven.rules	2009-07-02 10:18:06 UTC (rev 8756)
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/

Modified: trunk/junit/debian/orig-tar.sh
===================================================================
--- trunk/junit/debian/orig-tar.sh	2009-07-02 10:10:33 UTC (rev 8755)
+++ trunk/junit/debian/orig-tar.sh	2009-07-02 10:18:06 UTC (rev 8756)
@@ -14,8 +14,8 @@
 # move to directory 'tarballs'
 if [ -r .svn/deb-layout ]; then
     . .svn/deb-layout
-    mv $3 $origDir
-    echo "moved $3 to $origDir"
+    cp -l $2 $origDir
+    echo "moved $2 to $origDir"
 fi
 
 exit 0

Added: trunk/junit/debian/pom.xml
===================================================================
--- trunk/junit/debian/pom.xml	                        (rev 0)
+++ trunk/junit/debian/pom.xml	2009-07-02 10:18:06 UTC (rev 8756)
@@ -0,0 +1,26 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>junit</groupId>
+  <artifactId>junit</artifactId>
+  <version>3.8.2</version>
+  <name>JUnit</name>
+  <url>http://junit.org</url>
+  <description>
+    JUnit is a regression testing framework written by Erich Gamma and Kent Beck. It is used by the developer who implements unit tests in Java.
+  </description>
+  <organization>
+    <name>JUnit</name>
+    <url>http://www.junit.org</url>
+  </organization>
+  <licenses>
+    <license>
+      <name>Common Public License Version 1.0</name>
+      <url>http://www.opensource.org/licenses/cpl1.0.txt</url>
+    </license>
+  </licenses>
+  <scm>
+    <url>http://junit.cvs.sourceforge.net/junit/</url>
+  </scm>
+  <dependencies>
+  </dependencies>
+</project>

Modified: trunk/junit/debian/rules
===================================================================
--- trunk/junit/debian/rules	2009-07-02 10:10:33 UTC (rev 8755)
+++ trunk/junit/debian/rules	2009-07-02 10:18:06 UTC (rev 8756)
@@ -21,7 +21,7 @@
 	patch -p0 < debian/TestCollector.java.diff
 
 	mkdir -p classes
-	(cd src;${JAVAC} -source 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
+	(cd src;${JAVAC} -source 1.4 -target 1.4 -classpath ${CLASSPATH} -d ../classes junit/*/*.java)
 	cp -r src/junit/swingui/icons classes/junit/swingui
 	cp src/junit/runner/*.gif classes/junit/runner
 	cp src/junit/runner/excluded.properties classes/junit/runner
@@ -34,8 +34,18 @@
 	-rm -rf classes doc/api ${JARNAME}
 	-rm -f `find . -name "*~"`
 	-rm -rf src
+	-rm -rf debian/tmp
 
 install/junit:: 
 	-rm -f javadoc/package-list
-	install -m 644 ${JARNAME} debian/junit/usr/share/java/junit-${UPSTREAM_VERSION}.jar
 	install -m 755 debian/junit.sh debian/junit/usr/bin/junit
+	mh_installpoms -pjunit 
+	mh_installjar -pjunit -l debian/pom.xml ${JARNAME}
+
+get-orig-pom:
+	wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/junit/junit/${UPSTREAM_VERSION}/junit-${UPSTREAM_VERSION}.pom
+
+get-orig-source:
+	-uscan --download-version ${DEB_UPSTREAM_VERSION} --force-download --rename
+
+




More information about the pkg-java-commits mailing list