[libitext-java] 69/76: Install the Maven artifacts for libitext-rtf-java and libitext-rups-java

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Jul 28 22:46:37 UTC 2016


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository libitext-java.

commit 1b210877128276e66dd9ad22ade95cdf51a20cff
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Jul 28 18:46:07 2016 +0200

    Install the Maven artifacts for libitext-rtf-java and libitext-rups-java
---
 debian/changelog          |   1 +
 debian/libitext-java.poms |  31 +++++++++++++-
 debian/pom-rtf.xml        | 102 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/pom-rups.xml       | 102 ++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules              |  15 ++-----
 5 files changed, 238 insertions(+), 13 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 48fe9e1..8a6410f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 libitext-java (2.1.7-11) UNRELEASED; urgency=medium
 
+  * Install the Maven artifacts for libitext-rtf-java and libitext-rups-java
   * Removed the libitext-java-gcj package
   * Moved the package to Git
   * Standards-Version updated to 3.9.8
diff --git a/debian/libitext-java.poms b/debian/libitext-java.poms
index d2bf67a..42d226f 100644
--- a/debian/libitext-java.poms
+++ b/debian/libitext-java.poms
@@ -1 +1,30 @@
-ant/pom.xml
+# 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]
+#
+ant/pom.xml         --has-package-version --java-lib -e2.1.7 --package=libitext-java      --artifact=lib/iText.jar
+debian/pom-rtf.xml  --has-package-version --java-lib -e2.1.7 --package=libitext-rtf-java  --artifact=lib/iText-rtf.jar
+debian/pom-rups.xml --has-package-version --java-lib -e2.1.7 --package=libitext-rups-java --artifact=lib/iText-rups.jar
diff --git a/debian/pom-rtf.xml b/debian/pom-rtf.xml
new file mode 100644
index 0000000..55c1a36
--- /dev/null
+++ b/debian/pom-rtf.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.lowagie</groupId>
+	<artifactId>itext-rtf</artifactId>
+	<packaging>jar</packaging>
+	<name>iText, a Free Java-PDF library (rtf package)</name>
+	<version>2.1.7</version>
+	<description>iText, a free Java-PDF library (rtf package)</description>
+	<url>http://www.lowagie.com/iText/</url>
+	<mailingLists>
+		<mailingList>
+			<name>iText Questions</name>
+			<subscribe>
+				http://lists.sourceforge.net/lists/listinfo/itext-questions
+			</subscribe>
+			<post>itext-questions at lists.sourceforge.net</post>
+			<archive>
+				http://news.gmane.org/gmane.comp.java.lib.itext.general
+			</archive>
+			<otherArchives>
+				<otherArchive>http://www.nabble.com/iText---General-f2701.html</otherArchive>
+				<otherArchive>http://www.junlu.com/2.html</otherArchive>
+				<otherArchive>http://sourceforge.net/mailarchive/forum.php?forum_id=3273</otherArchive>
+				<otherArchive>http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/</otherArchive>
+			</otherArchives>
+		</mailingList>
+	</mailingLists>
+	<developers>
+		<developer>
+			<id>blowagie</id>
+			<name>Bruno Lowagie</name>
+			<email>bruno at lowagie.com</email>
+			<url>http://www.lowagie.com</url>
+		</developer>
+		<developer>
+			<id>psoares33</id>
+			<name>Paulo Soares</name>
+			<email>psoares33 at users.sourceforge.net</email>
+		</developer>
+		<developer>
+			<id>hallm</id>
+			<name>Mark Hall</name>
+			<email>hallm at users.sourceforge.net</email>
+		</developer>
+		<developer>
+			<id>xlv</id>
+			<name>Xavier Le Vourch</name>
+			<email>xlv at users.sourceforge.net</email>
+		</developer>
+	</developers>
+	<licenses>
+		<license>
+			<name>Mozilla Public License</name>
+			<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+			<comments>
+				iText was originally published under the LGPLicense.
+				LGPL can be used as an alternative license for the MPL.
+			</comments>
+		</license>
+	</licenses>
+	<scm>
+		<connection>scm:svn:http://itext.svn.sourceforge.net/svnroot/itext</connection>
+		<url>http://itext.svn.sourceforge.net/viewvc/itext</url>
+	</scm>
+	<dependencies>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bcmail-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bcprov-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bctsp-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifest>
+							<mainClass>
+								com.lowagie.tools.ToolboxAvailable
+							</mainClass>
+						</manifest>
+					</archive>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
diff --git a/debian/pom-rups.xml b/debian/pom-rups.xml
new file mode 100644
index 0000000..92a2667
--- /dev/null
+++ b/debian/pom-rups.xml
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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.lowagie</groupId>
+	<artifactId>itext-rups</artifactId>
+	<packaging>jar</packaging>
+	<name>iText, a Free Java-PDF library (rups package)</name>
+	<version>2.1.7</version>
+	<description>iText, a free Java-PDF library (rups package)</description>
+	<url>http://www.lowagie.com/iText/</url>
+	<mailingLists>
+		<mailingList>
+			<name>iText Questions</name>
+			<subscribe>
+				http://lists.sourceforge.net/lists/listinfo/itext-questions
+			</subscribe>
+			<post>itext-questions at lists.sourceforge.net</post>
+			<archive>
+				http://news.gmane.org/gmane.comp.java.lib.itext.general
+			</archive>
+			<otherArchives>
+				<otherArchive>http://www.nabble.com/iText---General-f2701.html</otherArchive>
+				<otherArchive>http://www.junlu.com/2.html</otherArchive>
+				<otherArchive>http://sourceforge.net/mailarchive/forum.php?forum_id=3273</otherArchive>
+				<otherArchive>http://www.mail-archive.com/itext-questions%40lists.sourceforge.net/</otherArchive>
+			</otherArchives>
+		</mailingList>
+	</mailingLists>
+	<developers>
+		<developer>
+			<id>blowagie</id>
+			<name>Bruno Lowagie</name>
+			<email>bruno at lowagie.com</email>
+			<url>http://www.lowagie.com</url>
+		</developer>
+		<developer>
+			<id>psoares33</id>
+			<name>Paulo Soares</name>
+			<email>psoares33 at users.sourceforge.net</email>
+		</developer>
+		<developer>
+			<id>hallm</id>
+			<name>Mark Hall</name>
+			<email>hallm at users.sourceforge.net</email>
+		</developer>
+		<developer>
+			<id>xlv</id>
+			<name>Xavier Le Vourch</name>
+			<email>xlv at users.sourceforge.net</email>
+		</developer>
+	</developers>
+	<licenses>
+		<license>
+			<name>Mozilla Public License</name>
+			<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+			<comments>
+				iText was originally published under the LGPLicense.
+				LGPL can be used as an alternative license for the MPL.
+			</comments>
+		</license>
+	</licenses>
+	<scm>
+		<connection>scm:svn:http://itext.svn.sourceforge.net/svnroot/itext</connection>
+		<url>http://itext.svn.sourceforge.net/viewvc/itext</url>
+	</scm>
+	<dependencies>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bcmail-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bcprov-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+		<dependency>
+			<groupId>bouncycastle</groupId>
+			<artifactId>bctsp-jdk14</artifactId>
+			<version>138</version>
+		</dependency>
+	</dependencies>
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifest>
+							<mainClass>
+								com.lowagie.tools.ToolboxAvailable
+							</mainClass>
+						</manifest>
+					</archive>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
diff --git a/debian/rules b/debian/rules
index 1087700..5c1140a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -22,30 +22,21 @@ debian/stamp-makebuilddir:
 	touch $@
 
 install/lib$(LIBRARY_PACKAGE)-java::
-	dh_installdirs -plib$(LIBRARY_PACKAGE)-java usr/share/java
 	# Add Class-Path
 	jh_manifest -c "$(CORE_CLASS_PATH)" lib/iText.jar
-	install -m 644 lib/iText.jar debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plib$(LIBRARY_PACKAGE)-java usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE).jar
 	jh_depends -plib$(LIBRARY_PACKAGE)-java
-	mh_installpoms -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION)
-	mh_installjar -plib$(LIBRARY_PACKAGE)-java -l -e$(DEB_UPSTREAM_VERSION) ant/pom.xml debian/lib$(LIBRARY_PACKAGE)-java/usr/share/java/$(LIBRARY_PACKAGE)-$(DEB_UPSTREAM_VERSION).jar
+	mh_install -plib$(LIBRARY_PACKAGE)-java
 
 install/lib$(LIBRARY_PACKAGE)-rtf-java::
-	dh_installdirs -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java
 	# Add Class-Path
 	jh_manifest -c "$(RTF_CLASS_PATH)" lib/iText-rtf.jar
-	# install
-	install -m 644 lib/iText-rtf.jar debian/lib$(LIBRARY_PACKAGE)-rtf-java/usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plib$(LIBRARY_PACKAGE)-rtf-java usr/share/java/$(LIBRARY_PACKAGE)-rtf-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rtf.jar
+	mh_install -plib$(LIBRARY_PACKAGE)-java
 	jh_depends -plib$(LIBRARY_PACKAGE)-rtf-java
 
 install/lib$(LIBRARY_PACKAGE)-rups-java::
-	dh_installdirs -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java
 	# Add Class-Path
 	jh_manifest -c "$(RUPS_CLASS_PATH)" lib/iText-rups.jar
-	install -m 644 lib/iText-rups.jar debian/lib$(LIBRARY_PACKAGE)-rups-java/usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar
-	dh_link -plib$(LIBRARY_PACKAGE)-rups-java usr/share/java/$(LIBRARY_PACKAGE)-rups-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(LIBRARY_PACKAGE)-rups.jar
+	mh_install -plib$(LIBRARY_PACKAGE)-java
 	jh_depends -plib$(LIBRARY_PACKAGE)-rups-java
 
 clean::

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libitext-java.git



More information about the pkg-java-commits mailing list