[pkg-java] r14911 - in trunk/velocity/debian: . patches

Torsten Werner twerner at alioth.debian.org
Thu Sep 15 12:44:33 UTC 2011


Author: twerner
Date: 2011-09-15 12:44:33 +0000 (Thu, 15 Sep 2011)
New Revision: 14911

Added:
   trunk/velocity/debian/BROKEN-velocity-doc.doc-base.2
   trunk/velocity/debian/maven.cleanIgnoreRules
   trunk/velocity/debian/maven.ignoreRules
   trunk/velocity/debian/maven.properties
   trunk/velocity/debian/velocity-doc.install
   trunk/velocity/debian/velocity.install
Removed:
   trunk/velocity/debian/MANIFEST.MF
   trunk/velocity/debian/antlib.xml
   trunk/velocity/debian/build.properties
   trunk/velocity/debian/dirs
   trunk/velocity/debian/patches/build.patch
   trunk/velocity/debian/velocity-doc.doc-base.2
Modified:
   trunk/velocity/debian/README.source
   trunk/velocity/debian/changelog
   trunk/velocity/debian/control
   trunk/velocity/debian/maven.publishedRules
   trunk/velocity/debian/maven.rules
   trunk/velocity/debian/patches/series
   trunk/velocity/debian/rules
   trunk/velocity/debian/velocity-doc.doc-base.1
   trunk/velocity/debian/velocity-doc.docs
   trunk/velocity/debian/velocity.poms
Log:
Use Maven to build the package. Parts of the documentation that require the
maven-site-plugin do not build yet.

Copied: trunk/velocity/debian/BROKEN-velocity-doc.doc-base.2 (from rev 14904, trunk/velocity/debian/velocity-doc.doc-base.2)
===================================================================
--- trunk/velocity/debian/BROKEN-velocity-doc.doc-base.2	                        (rev 0)
+++ trunk/velocity/debian/BROKEN-velocity-doc.doc-base.2	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1,11 @@
+Document: velocity2
+Title: Documentation for velocity
+Author: The Apache Velocity Development Team
+Abstract: This is the manual of Velocity, a Java-based template engine.
+ It permits anyone to use the simple yet powerful template language to 
+ reference objects defined in Java code.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/velocity-doc/index.html
+Files: /usr/share/doc/velocity-doc/*.html

Deleted: trunk/velocity/debian/MANIFEST.MF
===================================================================
--- trunk/velocity/debian/MANIFEST.MF	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/MANIFEST.MF	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,7 +0,0 @@
-Manifest-Version: 1.0
-Ant-Version: Apache Ant 1.7.1
-Created-By: 14.0-b08 (Sun Microsystems Inc.)
-Class-Path: /usr/share/java/jdom1.jar /usr/share/java/commons-collections3.jar 
-  /usr/share/java/logkit.jar /usr/share/java/werken.xpath.jar 
-  /usr/share/java/commons-lang.jar /usr/share/java/commons-logging.jar
-

Modified: trunk/velocity/debian/README.source
===================================================================
--- trunk/velocity/debian/README.source	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/README.source	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,9 +1,9 @@
-Patch System
-============
+Information about velocity
+--------------------------
 
-This package uses quilt to manage all modifications to the upstream
-source. Changes are stored in the source package as diffs in
-debian/patches and applied during the build.
+This package was debianized using the mh_make command
+from the maven-debian-helper package.
 
-See /usr/share/doc/quilt/README.source for a detailed explanation.
-
+The build system uses Maven but prevents it from downloading
+anything from the Internet, making the build compliant with
+the Debian policy.

Deleted: trunk/velocity/debian/antlib.xml
===================================================================
--- trunk/velocity/debian/antlib.xml	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/antlib.xml	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<antlib>
-   <taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask" />
-   <taskdef name="texen" classname="org.apache.velocity.texen.ant.TexenTask" />
-</antlib>
-

Deleted: trunk/velocity/debian/build.properties
===================================================================
--- trunk/velocity/debian/build.properties	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/build.properties	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,7 +0,0 @@
-maven.test.skip=true
-build.directory=target
-build.sourceDirectory=src/java
-build.resourcesDirectory=src/resources
-build.testSourceDirectory=src/test
-javadoc.dir=target/docs/api
-manifest=debian/MANIFEST.MF

Modified: trunk/velocity/debian/changelog
===================================================================
--- trunk/velocity/debian/changelog	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/changelog	2011-09-15 12:44:33 UTC (rev 14911)
@@ -10,8 +10,10 @@
   * Switch to source format 3.0.
   * Mangle alpha and beta versions in debian/watch.
   * Document copyright and license of xmleb.jar.
+  * Use Maven to build the package. Parts of the documentation that require the
+    maven-site-plugin do not build yet.
 
- -- Torsten Werner <twerner at debian.org>  Thu, 15 Sep 2011 10:12:42 +0200
+ -- Torsten Werner <twerner at debian.org>  Thu, 15 Sep 2011 11:20:00 +0200
 
 velocity (1.6.2-4) unstable; urgency=low
 

Modified: trunk/velocity/debian/control
===================================================================
--- trunk/velocity/debian/control	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/control	2011-09-15 12:44:33 UTC (rev 14911)
@@ -3,11 +3,12 @@
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
-Build-Depends: debhelper (>= 7), cdbs, default-jdk
-Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 5), ant, ant-optional, 
- junit, libexcalibur-logkit-java, libservlet2.5-java, 
- liblog4j1.2-java, libjdom1-java, libcommons-lang-java, libcommons-collections3-java, libcommons-logging-java,
- libwerken.xpath-java, liboro-java, default-jdk-doc
+Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4)
+Build-Depends-Indep: libmaven-javadoc-plugin-java, ant, libcommons-collections3-java, libcommons-lang-java,  
+ libcommons-logging-java, libexcalibur-logger-java, libjdom1-java (>= 1.0),  
+ liblog4j1.2-java, liboro-java, libservlet2.4-java, libwerken.xpath-java,  
+ junit, libhsqldb-java, ant-doc, default-jdk-doc, libcommons-logging-java-doc,  
+ libjdom1-java-doc, liblog4j1.2-java-doc 
 Standards-Version: 3.9.2
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/velocity
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/velocity
@@ -15,11 +16,9 @@
 
 Package: velocity
 Architecture: all
-Depends: ${misc:Depends}, default-jre-headless | java2-runtime-headless, 
- libcommons-lang-java, libcommons-collections3-java, liboro-java
-Recommends: libcommons-logging-java, libexcalibur-logkit-java, liblog4j1.2-java, 
- libservlet2.5-java, libjdom1-java, libwerken.xpath-java, libxerces2-java
-Suggests: velocity-doc, ant
+Depends: ${misc:Depends}, ${maven:Depends}
+Recommends: ${maven:OptionalDepends}
+Suggests: velocity-doc
 Description: Java-based template engine for web application
  Velocity is a Java-based template engine. It permits anyone to use
  the simple yet powerful template language to reference objects
@@ -36,7 +35,8 @@
 Package: velocity-doc
 Architecture: all
 Section: doc
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, ${maven:DocDepends}
+Recommends: ${maven:DocOptionalDepends}
 Suggests: velocity
 Description: Documentation for velocity
  Velocity is a Java-based template engine which is useful to develop 

Deleted: trunk/velocity/debian/dirs
===================================================================
--- trunk/velocity/debian/dirs	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/dirs	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,3 +0,0 @@
-usr/share/ant/lib
-usr/share/java
-etc/velocity

Added: trunk/velocity/debian/maven.cleanIgnoreRules
===================================================================
--- trunk/velocity/debian/maven.cleanIgnoreRules	                        (rev 0)
+++ trunk/velocity/debian/maven.cleanIgnoreRules	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1,17 @@
+# Maven clean ignore rules - ignore some Maven dependencies and plugins
+# during the clean phase of a Maven build
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM before mvn clean is called
+#   junit junit jar s/3\\..*/3.x/
+

Added: trunk/velocity/debian/maven.ignoreRules
===================================================================
--- trunk/velocity/debian/maven.ignoreRules	                        (rev 0)
+++ trunk/velocity/debian/maven.ignoreRules	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1,22 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\\..*/3.x/
+
+org.apache.maven.plugins maven-changelog-plugin * * * *
+org.apache.maven.plugins maven-changes-plugin * * * *
+org.apache.maven.plugins maven-jxr-plugin * * * *
+org.apache.maven.plugins maven-project-info-reports-plugin * * * *
+org.codehaus.mojo findbugs-maven-plugin * * * *
+org.codehaus.mojo taglist-maven-plugin * * * *

Added: trunk/velocity/debian/maven.properties
===================================================================
--- trunk/velocity/debian/maven.properties	                        (rev 0)
+++ trunk/velocity/debian/maven.properties	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+maven.test.skip=true

Modified: trunk/velocity/debian/maven.publishedRules
===================================================================
--- trunk/velocity/debian/maven.publishedRules	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/maven.publishedRules	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1 +1,19 @@
-s/velocity/org.apache.velocity/ * * s/.*/debian/
+# Maven published rules - additional rules to publish, to help
+# the packaging work of Debian maintainers using mh_make
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+

Modified: trunk/velocity/debian/maven.rules
===================================================================
--- trunk/velocity/debian/maven.rules	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/maven.rules	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,7 +1,26 @@
-commons-collections commons-collections jar s/3\..*/3.x/
-s/jdom/org.jdom/ jdom jar s/1\..*/debian/
-s/ant/org.apache.ant/ * * s/.*/debian/
-log4j log4j jar s/1\.2\..*/1.2.x/
-junit junit jar s/3\..*/3.x/
-# force using servlet 2.5
-javax.servlet * * s/.*/2.5/
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\\..*/3.x/
+
+commons-collections commons-collections jar s/3\..*/3.x/ * *
+s/jdom/org.jdom/ jdom jar s/1\..*/debian/ * *
+junit junit jar s/3\..*/3.x/ * *
+log4j log4j jar s/1\.2\..*/1.2.x/ * *
+org.apache.velocity velocity jar s/.*/debian/ * *
+commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * *
+s/hsqldb/org.hsqldb/ hsqldb * s/.*/debian/ * *
+s/ant/org.apache.ant/ * * s/.*/debian/ * *

Deleted: trunk/velocity/debian/patches/build.patch
===================================================================
--- trunk/velocity/debian/patches/build.patch	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/patches/build.patch	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,56 +0,0 @@
-Index: velocity-1.6.2/build/build.xml
-===================================================================
---- velocity-1.6.2.orig/build/build.xml	2009-01-22 03:36:59.000000000 +0530
-+++ velocity-1.6.2/build/build.xml	2010-03-17 11:06:23.000000000 +0530
-@@ -139,12 +139,18 @@
-   <!-- sets up the build environment (classpath and libs)                  -->
-   <!-- =================================================================== -->
-   <target name="build-prepare">
--    <ant antfile="${velocity.build.dir}/download.xml" target="build-download" />
- 
-     <!-- Build classpath -->
-     <path id="velocity.build.classpath">
--      <fileset dir="${build.lib}">
--        <include name="**/*.jar"/>
-+      <fileset dir="/usr/share/java">
-+        <include name="logkit.jar"/>
-+        <include name="commons-collections3.jar"/>
-+        <include name="commons-lang.jar"/>
-+        <include name="commons-logging.jar"/>
-+        <include name="jdom1.jar"/>
-+        <include name="log4j-1.2.jar"/>
-+        <include name="oro.jar"/>
-+        <include name="werken.xpath.jar"/>
-       </fileset>
-     </path>
- 
-@@ -463,6 +469,7 @@
-         <attribute name="Implementation-Vendor-Id" value="org.apache"/>
-         <attribute name="Implementation-Vendor" value="Apache Software Foundation"/>
-         <attribute name="Implementation-Version" value="${version}"/>
-+        <attribute name="Class-Path" value="excalibur-logkit.jar servlet-api-2.5.jar log4j-1.2.jar jdom1.jar commons-lang.jar commons-collections3.jar commons-logging.jar werken.xpath.jar oro.jar"/>
-       </manifest>
-     </jar>
-     <checksum file="${build.dir}/${jarname}.jar" algorithm="md5" property="checksum.jar.md5"/>
-@@ -918,7 +925,7 @@
-   <!-- Make HTML version of Velocity documentation                         -->
-   <!-- =================================================================== -->
- 
--  <target name="docs" depends="build-prepare,jar"
-+  <target name="docs" depends="build-prepare"
-           description="Generates the Velocity HTML documentation">
- 
-     <taskdef name="anakia"
-Index: velocity-1.6.2/build/build.properties
-===================================================================
---- velocity-1.6.2.orig/build/build.properties	2009-01-19 00:49:20.000000000 +0530
-+++ velocity-1.6.2/build/build.properties	2010-03-17 10:56:19.000000000 +0530
-@@ -35,7 +35,7 @@
- 
- velocity.build.dir= build
- 
--build.dir= ${velocity.dir}/bin
-+build.dir= ${velocity.dir}/target
- 
- # The source tree runs through a filter copy task to
- # allow substitution of version, date etc. and will

Modified: trunk/velocity/debian/patches/series
===================================================================
--- trunk/velocity/debian/patches/series	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/patches/series	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,2 +1 @@
-build.patch
 fix_example_scripts.patch

Modified: trunk/velocity/debian/rules
===================================================================
--- trunk/velocity/debian/rules	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/rules	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,37 +1,12 @@
 #!/usr/bin/make -f
-# debian/rules for velocity (uses CDBS)
 
 include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/class/maven.mk
 
-PACKAGE              := $(DEB_SOURCE_PACKAGE)
-VERSION              := $(DEB_UPSTREAM_VERSION)
-JAVA_HOME            := /usr/lib/jvm/default-java
-DEB_JARS             := ant-nodeps junit excalibur-logkit servlet-api-2.5 log4j-1.2 commons-lang commons-collections3 commons-logging werken.xpath bcel oro jdom1 antlr
-DEB_ANT_BUILD_TARGET := package javadoc
-DEB_ANT_BUILDFILE    := /usr/share/maven-ant-helper/maven-build.xml
-DEB_ANT_ARGS         := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dbin.package=$(PACKAGE) -Dversion=$(VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
 
-clean::
-	-rm -rf debian/tmp
+# site plugin does not work yet, needs maven-project-info-reports-plugin
+#DEB_MAVEN_DOC_TARGET = javadoc:jar site:site
 
-makebuilddir/velocity::
-	# install the resources in a separate directory (src/resources) to please the Maven-like build
-	install -d src/resources/org/apache/velocity/runtime/defaults
-	install -m 644 src/java/org/apache/velocity/runtime/defaults/directive.properties src/resources/org/apache/velocity/runtime/defaults/directive.properties
-	install -m 644 src/java/org/apache/velocity/runtime/defaults/velocity.properties src/resources/org/apache/velocity/runtime/defaults/velocity.properties
-	install -m 644 debian/antlib.xml src/resources/org/apache/velocity/antlib.xml
-
-build/velocity-doc::
-	cd $(DEB_BUILDDIR) && $(JAVACMD) -classpath $(DEB_CLASSPATH) \
-		 $(ANT_OPTS) -Dant.home=$(ANT_HOME) -Dbuild.docs=target/docs \
-		 org.apache.tools.ant.Main -buildfile $(CURDIR)/build/build.xml docs
-
-install/velocity::
-	mh_installpoms -p$(PACKAGE)
-	mh_installjar -p$(PACKAGE) -l pom.xml target/$(PACKAGE)-$(VERSION).jar
-	install -m 644 src/java/org/apache/velocity/runtime/defaults/velocity.properties debian/velocity/etc/velocity
-
 get-orig-source:
 	uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-

Modified: trunk/velocity/debian/velocity-doc.doc-base.1
===================================================================
--- trunk/velocity/debian/velocity-doc.doc-base.1	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/velocity-doc.doc-base.1	2011-09-15 12:44:33 UTC (rev 14911)
@@ -7,5 +7,5 @@
 Section: Programming
 
 Format: HTML
-Index: /usr/share/doc/velocity-doc/api/index.html
-Files: /usr/share/doc/velocity-doc/api/*.html
+Index: /usr/share/doc/velocity/api/index.html
+Files: /usr/share/doc/velocity/api/*.html

Deleted: trunk/velocity/debian/velocity-doc.doc-base.2
===================================================================
--- trunk/velocity/debian/velocity-doc.doc-base.2	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/velocity-doc.doc-base.2	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,11 +0,0 @@
-Document: velocity2
-Title: Documentation for velocity
-Author: The Apache Velocity Development Team
-Abstract: This is the manual of Velocity, a Java-based template engine.
- It permits anyone to use the simple yet powerful template language to 
- reference objects defined in Java code.
-Section: Programming
-
-Format: HTML
-Index: /usr/share/doc/velocity-doc/index.html
-Files: /usr/share/doc/velocity-doc/*.html

Modified: trunk/velocity/debian/velocity-doc.docs
===================================================================
--- trunk/velocity/debian/velocity-doc.docs	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/velocity-doc.docs	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1,5 +1,4 @@
-target/docs/api
-target/docs/*.html
-target/docs/*.css
-target/docs/images
-target/docs/translations
+#target/docs/*.html
+#target/docs/*.css
+#target/docs/images
+#target/docs/translations

Added: trunk/velocity/debian/velocity-doc.install
===================================================================
--- trunk/velocity/debian/velocity-doc.install	                        (rev 0)
+++ trunk/velocity/debian/velocity-doc.install	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1,2 @@
+target/apidocs/* usr/share/doc/velocity/api
+

Added: trunk/velocity/debian/velocity.install
===================================================================
--- trunk/velocity/debian/velocity.install	                        (rev 0)
+++ trunk/velocity/debian/velocity.install	2011-09-15 12:44:33 UTC (rev 14911)
@@ -0,0 +1 @@
+src/java/org/apache/velocity/runtime/defaults/velocity.properties /etc/velocity/

Modified: trunk/velocity/debian/velocity.poms
===================================================================
--- trunk/velocity/debian/velocity.poms	2011-09-15 11:09:27 UTC (rev 14910)
+++ trunk/velocity/debian/velocity.poms	2011-09-15 12:44:33 UTC (rev 14911)
@@ -1 +1,26 @@
-pom.xml --no-parent
+# 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 or
+#   --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
+#   --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.
+#   --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+#   --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created
+#     temporarily for certain artifacts such as Javadoc jars.
+#
+pom.xml --no-parent --has-package-version




More information about the pkg-java-commits mailing list