[eclipselink] 03/04: Install the Maven artifacts (Closes: #729092)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Nov 27 23:43:44 GMT 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository eclipselink.
commit c36a1f44bc56a59d2da5b96b591cfd41feac2b8c
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Nov 28 00:37:27 2014 +0100
Install the Maven artifacts (Closes: #729092)
---
debian/changelog | 1 +
debian/control | 2 +-
debian/libeclipselink-java.jlibs | 3 -
debian/maven.ignoreRules | 1 +
debian/maven.rules | 1 +
debian/poms/eclipselink.pom | 76 ++++++++++++++++++++++
debian/poms/org.eclipse.persistence.jpa.jpql.pom | 68 +++++++++++++++++++
....eclipse.persistence.jpa.modelgen.processor.pom | 76 ++++++++++++++++++++++
debian/rules | 12 ++++
9 files changed, 236 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 2002174..430c5ce 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
eclipselink (2.5.1-2) UNRELEASED; urgency=medium
* Team upload.
+ * Install the Maven artifacts (Closes: #729092)
* debian/control:
- Standards-Version updated to 3.9.6 (no changes)
- Removed the recommended dependency on libservlet3.0-java
diff --git a/debian/control b/debian/control
index d96a77e..a9535bc 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Uploaders: Miguel Landaeta <miguel at miguel.cc>,
Andrew Ross <ubuntu at rossfamily.co.uk>
Section: java
Priority: optional
-Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper, ant,
+Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper, ant, maven-repo-helper,
libjpa-2.1-spec-java,
libgeronimo-jta-1.1-spec-java,
libgeronimo-validation-1.0-spec-java,
diff --git a/debian/libeclipselink-java.jlibs b/debian/libeclipselink-java.jlibs
deleted file mode 100644
index 06ac6e2..0000000
--- a/debian/libeclipselink-java.jlibs
+++ /dev/null
@@ -1,3 +0,0 @@
-target/eclipselink.jar
-target/org.eclipse.persistence.jpa.jpql.jar
-target/org.eclipse.persistence.jpa.modelgen.processor.jar
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..21cdfae
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+org.eclipse.persistence commonj.sdo * * * *
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..222eb24
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+org.eclipse.persistence javax.persistence * s/.*/2.x/ * *
diff --git a/debian/poms/eclipselink.pom b/debian/poms/eclipselink.pom
new file mode 100644
index 0000000..d0234c1
--- /dev/null
+++ b/debian/poms/eclipselink.pom
@@ -0,0 +1,76 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>eclipselink</artifactId>
+ <version>2.5.1</version>
+ <packaging>jar</packaging>
+ <name>EclipseLink (non-OSGi)</name>
+ <description>EclipseLink build based upon Git transaction f2b9fc5</description>
+ <url>http://www.eclipse.org/eclipselink</url>
+ <organization>
+ <name>Eclipse.org - EclipseLink Project</name>
+ <url>http://www.eclipse.org/eclipselink</url>
+ </organization>
+ <issueManagement>
+ <system>bugzilla</system>
+ <url>https://bugs.eclipse.org/bugs</url>
+ </issueManagement>
+ <inceptionYear>2007</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>EclipseLink Developer List</name>
+ <post>eclipselink-dev at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-dev</archive>
+ </mailingList>
+ <mailingList>
+ <name>EclipseLink User List</name>
+ <post>eclipselink-users at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-users</archive>
+ </mailingList>
+ </mailingLists>
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Licence</comments>
+ </license>
+ <license>
+ <name>Eclipse Distribution License v. 1.0</name>
+ <url>http://www.eclipse.org/org/documents/edl-v10.php</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Distribution License</comments>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:git:http://git.eclipse.org/eclipselink/eclipselink.runtime.git</connection>
+ <url>http://git.eclipse.org/eclipselink/eclipselink.runtime.git</url>
+ </scm>
+ <developers>
+ <developer>
+ <id>PeterKrogh</id>
+ <name>Peter Krogh</name>
+ <email>peter.krogh at oracle.com</email>
+ <organization>Eclipse.org - EclipseLink Project</organization>
+ <organizationUrl>http://www.eclipse.org/eclipselink</organizationUrl>
+ <roles>
+ <role>Project Manager</role>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>javax.persistence</artifactId>
+ <version>2.1.0</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>commonj.sdo</artifactId>
+ <version>2.1.1</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/debian/poms/org.eclipse.persistence.jpa.jpql.pom b/debian/poms/org.eclipse.persistence.jpa.jpql.pom
new file mode 100644
index 0000000..8512797
--- /dev/null
+++ b/debian/poms/org.eclipse.persistence.jpa.jpql.pom
@@ -0,0 +1,68 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>org.eclipse.persistence.jpa.jpql</artifactId>
+ <version>2.5.1</version>
+ <packaging>jar</packaging>
+ <name>EclipseLink Hermes JPQL Parser</name>
+ <description>EclipseLink build based upon Git transaction f2b9fc5</description>
+ <url>http://www.eclipse.org/eclipselink</url>
+ <organization>
+ <name>Eclipse.org - EclipseLink Project</name>
+ <url>http://www.eclipse.org/eclipselink</url>
+ </organization>
+ <issueManagement>
+ <system>bugzilla</system>
+ <url>https://bugs.eclipse.org/bugs</url>
+ </issueManagement>
+ <inceptionYear>2007</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>EclipseLink Developer List</name>
+ <post>eclipselink-dev at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-dev</archive>
+ </mailingList>
+ <mailingList>
+ <name>EclipseLink User List</name>
+ <post>eclipselink-users at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-users</archive>
+ </mailingList>
+ </mailingLists>
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Licence</comments>
+ </license>
+ <license>
+ <name>Eclipse Distribution License v. 1.0</name>
+ <url>http://www.eclipse.org/org/documents/edl-v10.php</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Distribution License</comments>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:git:http://git.eclipse.org/eclipselink/eclipselink.runtime.git</connection>
+ <url>http://git.eclipse.org/eclipselink/eclipselink.runtime.git</url>
+ </scm>
+ <developers>
+ <developer>
+ <id>PeterKrogh</id>
+ <name>Peter Krogh</name>
+ <email>peter.krogh at oracle.com</email>
+ <organization>Eclipse.org - EclipseLink Project</organization>
+ <organizationUrl>http://www.eclipse.org/eclipselink</organizationUrl>
+ <roles>
+ <role>Project Manager</role>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+
+</project>
+
+
+
diff --git a/debian/poms/org.eclipse.persistence.jpa.modelgen.processor.pom b/debian/poms/org.eclipse.persistence.jpa.modelgen.processor.pom
new file mode 100644
index 0000000..4f61392
--- /dev/null
+++ b/debian/poms/org.eclipse.persistence.jpa.modelgen.processor.pom
@@ -0,0 +1,76 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>org.eclipse.persistence.jpa.modelgen.processor</artifactId>
+ <version>2.5.1</version>
+ <packaging>jar</packaging>
+ <name>EclipseLink JPA Modelgen (non-OSGi)</name>
+ <description>EclipseLink build based upon Git transaction f2b9fc5</description>
+ <url>http://www.eclipse.org/eclipselink</url>
+ <organization>
+ <name>Eclipse.org - EclipseLink Project</name>
+ <url>http://www.eclipse.org/eclipselink</url>
+ </organization>
+ <issueManagement>
+ <system>bugzilla</system>
+ <url>https://bugs.eclipse.org/bugs</url>
+ </issueManagement>
+ <inceptionYear>2007</inceptionYear>
+ <mailingLists>
+ <mailingList>
+ <name>EclipseLink Developer List</name>
+ <post>eclipselink-dev at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-dev</archive>
+ </mailingList>
+ <mailingList>
+ <name>EclipseLink User List</name>
+ <post>eclipselink-users at eclipse.org</post>
+ <archive>http://dev.eclipse.org/mhonarc/lists/eclipselink-users</archive>
+ </mailingList>
+ </mailingLists>
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <url>http://www.eclipse.org/legal/epl-v10.html</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Licence</comments>
+ </license>
+ <license>
+ <name>Eclipse Distribution License v. 1.0</name>
+ <url>http://www.eclipse.org/org/documents/edl-v10.php</url>
+ <distribution>repo</distribution>
+ <comments>Standard Eclipse Distribution License</comments>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:git:http://git.eclipse.org/eclipselink/eclipselink.runtime.git</connection>
+ <url>http://git.eclipse.org/eclipselink/eclipselink.runtime.git</url>
+ </scm>
+ <developers>
+ <developer>
+ <id>PeterKrogh</id>
+ <name>Peter Krogh</name>
+ <email>peter.krogh at oracle.com</email>
+ <organization>Eclipse.org - EclipseLink Project</organization>
+ <organizationUrl>http://www.eclipse.org/eclipselink</organizationUrl>
+ <roles>
+ <role>Project Manager</role>
+ <role>Developer</role>
+ </roles>
+ <timezone>-5</timezone>
+ </developer>
+ </developers>
+ <dependencies>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>org.eclipse.persistence.core</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ <dependency>
+ <groupId>org.eclipse.persistence</groupId>
+ <artifactId>org.eclipse.persistence.jpa</artifactId>
+ <version>2.5.1</version>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
index f48fe26..577e5c0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,20 @@ export JAVA_HOME=/usr/lib/jvm/default-java
override_dh_auto_build:
ant -f debian/build.xml
+override_dh_auto_install:
+ dh_auto_install
+
+ mh_installpom -plibeclipselink-java --has-package-version debian/poms/eclipselink.pom
+ mh_installpom -plibeclipselink-java --has-package-version debian/poms/org.eclipse.persistence.jpa.jpql.pom
+ mh_installpom -plibeclipselink-java --has-package-version debian/poms/org.eclipse.persistence.jpa.modelgen.processor.pom
+
+ mh_installjar -plibeclipselink-java --java-lib debian/poms/eclipselink.pom target/eclipselink.jar
+ mh_installjar -plibeclipselink-java --java-lib debian/poms/org.eclipse.persistence.jpa.jpql.pom target/org.eclipse.persistence.jpa.jpql.jar
+ mh_installjar -plibeclipselink-java --java-lib debian/poms/org.eclipse.persistence.jpa.modelgen.processor.pom target/org.eclipse.persistence.jpa.modelgen.processor.jar
+
override_dh_auto_clean:
ant -f debian/build.xml clean
+ mh_clean
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/eclipselink.git
More information about the pkg-java-commits
mailing list