[glassfish] 39/40: add pom for jpa.jar

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Wed Sep 24 16:00:31 UTC 2014


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

ebourg-guest pushed a commit to annotated tag debian/1%3A2.1.1-b31-1
in repository glassfish.

commit fc89ccd405c993ff60ea7eae74247531c7943d3b
Author: Torsten Werner <twerner at debian.org>
Date:   Tue May 18 21:06:54 2010 +0000

    add pom for jpa.jar
---
 debian/build.xml | 15 ++++++++++++++-
 debian/rules     |  4 ++++
 2 files changed, 18 insertions(+), 1 deletion(-)

diff --git a/debian/build.xml b/debian/build.xml
index b64f872..46d9a7d 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -58,7 +58,10 @@
       <target name="all"/>
       <target name="jar"/>
     </ant>
-    <ant dir="../persistence-api" target="all"/>
+    <ant dir="../persistence-api">
+      <target name="all"/>
+      <target name="jar"/>
+    </ant>
     <ant dir="../connector-api" target="all"/>
     <ant dir="../management-api" target="all"/>
     <ant dir="../jmac-api" target="all"/>
@@ -127,6 +130,15 @@
     </copy>
   </target>
 
+  <target name="jpa-pom">
+    <property file="../persistence-api/build.properties"/>
+    <copy file="../persistence-api/persistence-api.pom" tofile="poms/jpa.xml">
+      <filterset>
+	<filter token="VERSION" value="${release.version}"/>
+      </filterset>
+    </copy>
+  </target>
+
   <target name="activation-pom">
     <property file="../activation/build.properties"/>
     <copy file="../activation/activation.pom" tofile="poms/activation.xml">
@@ -141,6 +153,7 @@
     <antcall target="ejb-api-pom" inheritAll="false"/>
     <antcall target="jstl-pom" inheritAll="false"/>
     <antcall target="jta-pom" inheritAll="false"/>
+    <antcall target="jpa-pom" inheritAll="false"/>
     <antcall target="activation-pom" inheritAll="false"/>
   </target>
 
diff --git a/debian/rules b/debian/rules
index 4f9242e..f23ca30 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,6 +48,10 @@ install/glassfish-javaee::
 	mh_installjar -pglassfish-javaee debian/poms/jta.xml \
 	  transaction-api/build/release/jta.jar \
 	  /usr/share/java/glassfish-jta.jar
+	mh_installpom -pglassfish-javaee debian/poms/jpa.xml
+	mh_installjar -pglassfish-javaee debian/poms/jpa.xml \
+	  persistence-api/build/release/persistence-api.jar \
+	  /usr/share/java/glassfish-jpa.jar
 
 install/glassfish-activation::
 	mh_installpom -pglassfish-activation debian/poms/activation.xml

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



More information about the pkg-java-commits mailing list