[velocity-tools] 17/26: Install the Maven artifacts for velocity-tools-view (Closes: #738111)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Mon Nov 16 15:31:13 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository velocity-tools.

commit b10582f0bfa5d3dda799c533e27963071ed26e08
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Mon Dec 1 21:54:19 2014 +0000

    Install the Maven artifacts for velocity-tools-view (Closes: #738111)
---
 debian/changelog                   | 1 +
 debian/libvelocity-tools-java.poms | 1 +
 debian/rules                       | 3 +--
 debian/velocity-tools-view.pom     | 6 ++++++
 4 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 935c142..4a94ba5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 velocity-tools (2.0-3) UNRELEASED; urgency=medium
 
   * Team upload.
+  * Install the Maven artifacts for velocity-tools-view (Closes: #738111)
   * debian/control:
     - Standards-Version updated to 3.9.6 (no changes)
     - Use canonical URLs for the Vcs-* fields
diff --git a/debian/libvelocity-tools-java.poms b/debian/libvelocity-tools-java.poms
index d4f7111..0f0ae24 100644
--- a/debian/libvelocity-tools-java.poms
+++ b/debian/libvelocity-tools-java.poms
@@ -1 +1,2 @@
 pom.xml
+debian/velocity-tools-view.pom
diff --git a/debian/rules b/debian/rules
index 6aabe1e..654967d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,8 +21,7 @@ binary-post-install/lib$(DEB_SOURCE_PACKAGE)-java::
 	mh_installpoms -plib$(DEB_SOURCE_PACKAGE)-java
 	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java -l pom.xml -n$(DEB_SOURCE_PACKAGE)-generic dist/$(DEB_SOURCE_PACKAGE)-generic-$(DEB_UPSTREAM_VERSION).jar
 	# View JAR
-	dh_install -plib$(DEB_SOURCE_PACKAGE)-java dist/$(DEB_SOURCE_PACKAGE)-view-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_link -plib$(DEB_SOURCE_PACKAGE)-java usr/share/java/$(DEB_SOURCE_PACKAGE)-view-$(DEB_UPSTREAM_VERSION).jar usr/share/java/$(DEB_SOURCE_PACKAGE)-view.jar
+	mh_installjar -plib$(DEB_SOURCE_PACKAGE)-java -l debian/velocity-tools-view.pom -n$(DEB_SOURCE_PACKAGE)-view dist/$(DEB_SOURCE_PACKAGE)-view-$(DEB_UPSTREAM_VERSION).jar
 
 clean::
 	-rm -rf debian/tmp
diff --git a/debian/velocity-tools-view.pom b/debian/velocity-tools-view.pom
new file mode 100644
index 0000000..42f021b
--- /dev/null
+++ b/debian/velocity-tools-view.pom
@@ -0,0 +1,6 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>velocity-tools</groupId>
+  <artifactId>velocity-tools-view</artifactId>
+  <version>2.0</version>
+</project>

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



More information about the pkg-java-commits mailing list