[geronimo-commonj-spec] 01/01: Modified the package to publish artifacts in Maven (Closes: #729017).
Stephen Nelson
stephenonelson-guest at moszumanska.debian.org
Tue Jan 14 21:48:50 UTC 2014
This is an automated email from the git hooks/post-receive script.
stephenonelson-guest pushed a commit to branch 729017
in repository geronimo-commonj-spec.
commit 5d52ea82a1042230640691fb97574a4ccb336652
Author: Stephen Nelson <stephen at eccostudio.com>
Date: Thu Jan 9 21:49:16 2014 +0000
Modified the package to publish artifacts in Maven (Closes: #729017).
---
debian/changelog | 4 ++--
debian/geronimo-commonj-spec.poms | 28 ----------------------------
debian/maven.cleanIgnoreRules | 1 -
debian/maven.ignoreRules | 1 -
debian/maven.publishedRules | 1 -
debian/maven.rules | 2 +-
debian/rules | 5 +++--
7 files changed, 6 insertions(+), 36 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 4d187c9..04eb994 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,8 @@
-geronimo-commonj-spec (1.1.1-2) UNRELEASED; urgency=medium
+geronimo-commonj-spec (1.1.1-2) UNRELEASED; urgency=low
[ Stephen Nelson ]
* Team upload.
- *
+ * Provide Maven artifact (Closes: #729017).
[ Miguel Landaeta ]
* Update maintainer's email address.
diff --git a/debian/geronimo-commonj-spec.poms b/debian/geronimo-commonj-spec.poms
deleted file mode 100644
index c89523b..0000000
--- a/debian/geronimo-commonj-spec.poms
+++ /dev/null
@@ -1,28 +0,0 @@
-# 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]
-#
-pom.xml --has-package-version --java-lib
diff --git a/debian/maven.cleanIgnoreRules b/debian/maven.cleanIgnoreRules
deleted file mode 100644
index 8b13789..0000000
--- a/debian/maven.cleanIgnoreRules
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
deleted file mode 100644
index 8b13789..0000000
--- a/debian/maven.ignoreRules
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/debian/maven.publishedRules b/debian/maven.publishedRules
deleted file mode 100644
index 8b13789..0000000
--- a/debian/maven.publishedRules
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/debian/maven.rules b/debian/maven.rules
index 8fefb87..5ed0cd5 100644
--- a/debian/maven.rules
+++ b/debian/maven.rules
@@ -1,2 +1,2 @@
-org.apache.geronimo.specs geronimo-commonj_1.1_spec jar * * *
+org.apache.geronimo.specs geronimo-commonj_1.1_spec jar s/.*/debian/ * *
diff --git a/debian/rules b/debian/rules
index 8aad8f8..2a0d1fd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,14 @@
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
+UVERSION := 1.1.1
%:
dh $@ --with javahelper
override_jh_installlibs:
- mh_installpom -plibgeronimo-commonj-spec-java pom.xml
- mh_installjar -plibgeronimo-commonj-spec-java --java-lib pom.xml geronimo-commonj-spec.jar
+ mh_installpom -plibgeronimo-commonj-spec-java --set-version=$(UVERSION) pom.xml
+ mh_installjar -plibgeronimo-commonj-spec-java --set-version=$(UVERSION) --java-lib pom.xml geronimo-commonj-spec.jar
override_dh_clean:
dh_clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-commonj-spec.git
More information about the pkg-java-commits
mailing list