This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to branch master in repository libjettison-java.
commit 5e3723cdbf2fb7d2ddac16dbaea049586757771b Author: Damien Raude-Morvan <[email protected]> Date: Tue Mar 29 23:13:38 2011 +0000 * Team upload. * Install Maven artifacts (Closes: #620049). Thanks to James Page <[email protected]> : - 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. --- debian/changelog | 15 +++++++ debian/compat | 2 +- debian/control | 6 +-- debian/pom.xml | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ debian/rules | 11 ++++- 5 files changed, 148 insertions(+), 6 deletions(-) diff --git a/debian/changelog b/debian/changelog index b52b78a..ab25b9d 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,18 @@ +libjettison-java (1.2-3) unstable; urgency=low + + * Team upload. + * Install Maven artifacts (Closes: #620049). + Thanks to James Page <[email protected]> : + - 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 <[email protected]> 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 diff --git a/debian/compat b/debian/compat index 7ed6ff8..7f8f011 100644 --- a/debian/compat +++ b/debian/compat @@ -1 +1 @@ -5 +7 diff --git a/debian/control b/debian/control index c8a1c06..4130fa6 100644 --- a/debian/control +++ b/debian/control @@ -3,16 +3,16 @@ Section: java Priority: optional Maintainer: Debian Java Maintainers <[email protected]> Uploaders: Torsten Werner <[email protected]> -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 diff --git a/debian/pom.xml b/debian/pom.xml new file mode 100644 index 0000000..afdf74e --- /dev/null +++ b/debian/pom.xml @@ -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 diff --git a/debian/rules b/debian/rules index e48c6f1..5138981 100755 --- a/debian/rules +++ b/debian/rules @@ -5,10 +5,17 @@ include /usr/share/cdbs/1/class/ant.mk 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 + -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libjettison-java.git _______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

