[libaopalliance-java] 05/14: Add POM file to package. (Closes: #581566)

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Fri Jan 12 13:16:42 UTC 2018


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

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

commit bcbea070a01ef614fd3ecf9797c4327addada38f
Author: Torsten Werner <twerner at debian.org>
Date:   Sat May 15 22:32:16 2010 +0000

    Add POM file to package. (Closes: #581566)
---
 debian/changelog |  6 ++++++
 debian/control   |  2 +-
 debian/install   |  1 -
 debian/pom.xml   | 15 +++++++++++++++
 debian/rules     |  4 ++++
 5 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index d10a713..c5e258d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libaopalliance-java (20070526-4) unstable; urgency=low
+
+  * Add POM file to package. (Closes: #581566)
+
+ -- Torsten Werner <twerner at debian.org>  Sun, 16 May 2010 00:29:30 +0200
+
 libaopalliance-java (20070526-3) unstable; urgency=low
 
   [ Thierry Carrez ]
diff --git a/debian/control b/debian/control
index cc9ba6b..4dd7868 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: java
 Priority: extra
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
 Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: ant, cdbs, debhelper (>= 5), default-jdk
+Build-Depends: ant, cdbs, debhelper (>= 5), default-jdk, maven-repo-helper
 Standards-Version: 3.8.4
 Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libaopalliance-java
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libaopalliance-java/
diff --git a/debian/install b/debian/install
deleted file mode 100644
index 1e9a92f..0000000
--- a/debian/install
+++ /dev/null
@@ -1 +0,0 @@
-build/aopalliance.jar /usr/share/java/
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..af3323f
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,15 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>aopalliance</groupId>
+  <artifactId>aopalliance</artifactId>
+  <name>AOP alliance</name>
+  <version>1.0</version>
+  <description>AOP Alliance</description>
+  <url>http://aopalliance.sourceforge.net</url> 
+
+  <licenses>
+    <license>
+      <name>Public Domain</name>
+    </license>
+  </licenses>
+</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 3467b91..0411459 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,10 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_ANT_BUILD_TARGET := zip
 
+binary-post-install/libaopalliance-java::
+	mh_installpom -plibaopalliance-java debian/pom.xml
+	mh_installjar -plibaopalliance-java -l debian/pom.xml build/aopalliance.jar
+
 get-orig-source:
 	sh debian/orig-tar.sh $(DEB_UPSTREAM_VERSION)
 

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



More information about the pkg-java-commits mailing list