[SCM] Hessian: simple binary protocol for connecting web services branch, master, updated. debian/4.0.6-1-7-g36b5cbe
Emmanuel Bourg
ebourg at apache.org
Tue Jul 30 15:52:59 UTC 2013
The following commit has been merged in the master branch:
commit 7b6a1fa4cb1d529f6784a3c773882002f5c620e5
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Tue Jul 30 17:43:12 2013 +0200
Install the Maven pom and the jar in /usr/share/maven-repo
diff --git a/debian/changelog b/debian/changelog
index 1825080..a324fc1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ hessian (4.0.33-1) experimental; urgency=low
* New upstream release
* Removed the test classes from the generated jar
+ * Install the Maven pom and the jar in /usr/share/maven-repo
* debian/watch: Updated to find the latest versions of Hessian
* debian/control:
- Updated the dependency on the Servlet API (2.5 -> 3.0)
diff --git a/debian/control b/debian/control
index 529afa1..2518ed0 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
Uploaders: Miguel Landaeta <miguel at miguel.cc>, Emmanuel Bourg <ebourg at apache.org>
Section: java
Priority: optional
-Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper,
+Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper, maven-repo-helper,
libservlet3.0-java
Standards-Version: 3.9.4
Vcs-Git: git://anonscm.debian.org/pkg-java/hessian.git
diff --git a/debian/libhessian-java.poms b/debian/libhessian-java.poms
new file mode 100644
index 0000000..6da7a93
--- /dev/null
+++ b/debian/libhessian-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+debian/pom.xml --has-package-version --java-lib --artifact=hessian.jar
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..a32e7de
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,4 @@
+
+org.apache.maven.plugins maven-gpg-plugin * * * *
+org.apache.maven.plugins maven-javadoc-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..e6b8818
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,5 @@
+
+com.caucho hessian jar s/.*/debian/ * *
+s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.2/ * *
+s/org.apache.tomcat/javax.servlet/ jsp-api jar s/.*/2.2/ * *
+s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/3.0/ * *
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..edabbb8
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,114 @@
+<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>com.caucho</groupId>
+ <artifactId>hessian</artifactId>
+ <packaging>jar</packaging>
+ <version>4.0.33</version>
+ <name>Hessian</name>
+ <description>Hessian is a compact binary protocol for connecting web services.</description>
+ <url>http://hessian.caucho.com</url>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 1.1</name>
+ <url>http://www.apache.org/licenses/LICENSE-1.1.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <developers>
+ <developer>
+ <id>ferg</id>
+ <name>Scott Ferguson</name>
+ <email>ferg at caucho.com</email>
+ </developer>
+ </developers>
+
+ <scm>
+ <url>svn://svn.caucho.com/home/svn/svnroot/resin/trunk/modules/hessian</url>
+ <connection>scm:svn:svn://svn.caucho.com/home/svn/svnroot/resin/trunk/modules/hessian</connection>
+ </scm>
+
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ <version>2.5</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <properties>
+ <project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <sourceDirectory>src</sourceDirectory>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>1.5</source>
+ <target>1.5</target>
+ <excludes>
+ <exclude>**/test/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.1.2</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <excludes>
+ <exclude>**/test/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.9</version>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <links>
+ <link>http://docs.oracle.com/javaee/6/api</link>
+ </links>
+ <sourceFileExcludes>
+ <exclude>**/test/**</exclude>
+ </sourceFileExcludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <version>1.1</version>
+ <executions>
+ <execution>
+ <id>sign-artifacts</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/debian/rules b/debian/rules
index da336ee..06d5527 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,12 @@ DEB_UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -rne 's,^Version: ([^-
override_jh_build:
jh_build hessian.jar com
+override_dh_auto_install:
+ mh_install -plibhessian-java
+
+override_dh_auto_clean:
+ mh_clean
+
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
uscan --force-download --download-version $(DEB_UPSTREAM_VERSION)
--
Hessian: simple binary protocol for connecting web services
More information about the pkg-java-commits
mailing list