[pkg-java] r13473 - trunk/libjettison-java/debian
Damien Raude-Morvan
drazzib at alioth.debian.org
Tue Mar 29 23:14:18 UTC 2011
Author: drazzib
Date: 2011-03-29 23:13:38 +0000 (Tue, 29 Mar 2011)
New Revision: 13473
Added:
trunk/libjettison-java/debian/pom.xml
Modified:
trunk/libjettison-java/debian/changelog
trunk/libjettison-java/debian/compat
trunk/libjettison-java/debian/control
trunk/libjettison-java/debian/rules
Log:
* Team upload.
* Install Maven artifacts (Closes: #620049).
Thanks to James Page <james.page at canonical.com> :
- debian/control: Add maven-repo-helper to Build-Depends.
- debian/rules: Use mh_installpom and mh_installjar instead of
install/dh_link.
- debian/pom.xml: Downloaded POM for Maven.
* Update Standards-Version: 3.9.1 (no changes needed).
* Bump Debhelper compat level to 7 (and update B-D).
* Drop Depends on a JRE since it's a library package.
Modified: trunk/libjettison-java/debian/changelog
===================================================================
--- trunk/libjettison-java/debian/changelog 2011-03-29 17:15:36 UTC (rev 13472)
+++ trunk/libjettison-java/debian/changelog 2011-03-29 23:13:38 UTC (rev 13473)
@@ -1,3 +1,18 @@
+libjettison-java (1.2-3) unstable; urgency=low
+
+ * Team upload.
+ * Install Maven artifacts (Closes: #620049).
+ Thanks to James Page <james.page at canonical.com> :
+ - debian/control: Add maven-repo-helper to Build-Depends.
+ - debian/rules: Use mh_installpom and mh_installjar instead of
+ install/dh_link.
+ - debian/pom.xml: Downloaded POM for Maven.
+ * Update Standards-Version: 3.9.1 (no changes needed).
+ * Bump Debhelper compat level to 7 (and update B-D).
+ * Drop Depends on a JRE since it's a library package.
+
+ -- Damien Raude-Morvan <drazzib at debian.org> Wed, 30 Mar 2011 01:11:22 +0200
+
libjettison-java (1.2-2) unstable; urgency=low
* Update copyright file because the json code uses the Apache license now. It
Modified: trunk/libjettison-java/debian/compat
===================================================================
--- trunk/libjettison-java/debian/compat 2011-03-29 17:15:36 UTC (rev 13472)
+++ trunk/libjettison-java/debian/compat 2011-03-29 23:13:38 UTC (rev 13473)
@@ -1 +1 @@
-5
+7
Modified: trunk/libjettison-java/debian/control
===================================================================
--- trunk/libjettison-java/debian/control 2011-03-29 17:15:36 UTC (rev 13472)
+++ trunk/libjettison-java/debian/control 2011-03-29 23:13:38 UTC (rev 13473)
@@ -3,16 +3,16 @@
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: debhelper (>= 5), cdbs
+Build-Depends: debhelper (>= 7), cdbs, maven-repo-helper
Build-Depends-Indep: ant, default-jdk
-Standards-Version: 3.8.4
+Standards-Version: 3.9.1
Homepage: http://jettison.codehaus.org/
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjettison-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjettison-java/
Package: libjettison-java
Architecture: all
-Depends: default-jre-headless | java5-runtime-headless, ${misc:Depends}
+Depends: ${misc:Depends}
Description: collection of StAX parsers and writers for JSON
Jettison is a collection of StAX parsers (streaming API for XML) and
writers which read and write JSON (JavaScript Object Notation). This
Added: trunk/libjettison-java/debian/pom.xml
===================================================================
--- trunk/libjettison-java/debian/pom.xml (rev 0)
+++ trunk/libjettison-java/debian/pom.xml 2011-03-29 23:13:38 UTC (rev 13473)
@@ -0,0 +1,120 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.codehaus.jettison</groupId>
+ <artifactId>jettison</artifactId>
+ <version>1.2</version>
+ <packaging>bundle</packaging>
+ <name>Jettison</name>
+ <description>A StAX implementation for JSON.</description>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>1.0.1</version>
+ </dependency>
+ <dependency>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ <version>3.2.2</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <scm>
+ <connection>scm:svn:https://svn.codehaus.org/jettison/tags/jettison-1.2</connection>
+ <developerConnection>scm:svn:https://svn.codehaus.org/jettison/tags/jettison-1.2</developerConnection>
+ <url>https://svn.codehaus.org/jettison/tags/jettison-1.2</url>
+ </scm>
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <optimize>true</optimize>
+ <debug>true</debug>
+ <showDeprecation>true</showDeprecation>
+ <showWarnings>true</showWarnings>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <configuration>
+ <tagBase>https://svn.codehaus.org/jettison/tags/</tagBase>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <extensions>true</extensions>
+ <version>1.0.0</version>
+ <configuration>
+ <instructions>
+ <Bundle-Name>${artifactId}</Bundle-Name>
+ <Bundle-SymbolicName>${groupId}.${artifactId}</Bundle-SymbolicName>
+ <Export-Package>org.codehaus.jettison*;version=${project.version}</Export-Package>
+ <Import-Package>*</Import-Package>
+ <Private-Package>!*</Private-Package>
+ <Implementation-Title>${project.name}</Implementation-Title>
+ <Implementation-Version>${project.version}</Implementation-Version>
+ </instructions>
+ </configuration>
+ </plugin>
+
+ </plugins>
+
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-project-info-reports-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <forkMode>pertest</forkMode>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+ <distributionManagement>
+ <repository>
+ <id>codehaus.org</id>
+ <name>jettison Central Repository</name>
+ <url>dav:https://dav.codehaus.org/repository/jettison/</url>
+ </repository>
+ <snapshotRepository>
+ <id>codehaus.org</id>
+ <name>jettison Central Development Repository</name>
+ <url>dav:https://dav.codehaus.org/snapshots.repository/jettison/</url>
+ </snapshotRepository>
+ <site>
+ <id>codehaus.org</id>
+ <url>dav:https://dav.codehaus.org/jettison/</url>
+ </site>
+ </distributionManagement>
+
+</project>
\ No newline at end of file
Modified: trunk/libjettison-java/debian/rules
===================================================================
--- trunk/libjettison-java/debian/rules 2011-03-29 17:15:36 UTC (rev 13472)
+++ trunk/libjettison-java/debian/rules 2011-03-29 23:13:38 UTC (rev 13473)
@@ -5,10 +5,17 @@
JAVA_HOME := /usr/lib/jvm/default-java
DEB_ANT_BUILDFILE := debian/build.xml
+PACKAGE := jettison
+MAVEN_REPO := http://repo1.maven.org/maven2
install/libjettison-java::
- install -m644 -D jettison.jar $(DEB_DESTDIR)/usr/share/java/jettison-$(DEB_UPSTREAM_VERSION).jar
- dh_link -plibjettison-java /usr/share/java/jettison-$(DEB_UPSTREAM_VERSION).jar /usr/share/java/jettison.jar
+ mh_installpom -plib$(PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) debian/pom.xml
+ mh_installjar -plib$(PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) -l debian/pom.xml $(PACKAGE).jar
get-orig-source:
uscan --force-download --rename
+
+get-orig-pom:
+ wget -U NoSuchBrowser/1.0 -O debian/pom.xml \
+ $(MAVEN_REPO)/org/codehaus/jettison/$(PACKAGE)/$(DEB_UPSTREAM_VERSION)/$(PACKAGE)-$(DEB_UPSTREAM_VERSION).pom
+
More information about the pkg-java-commits
mailing list