[libgpars-groovy-java] 03/05: Install the Maven artifacts (Closes: #728407)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Fri Oct 16 13:26:22 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libgpars-groovy-java.
commit 29d5581f4009ebc37f48a0b2a844d43f6c7cf3aa
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Fri Oct 16 00:15:31 2015 +0200
Install the Maven artifacts (Closes: #728407)
---
debian/changelog | 1 +
debian/control | 2 +-
debian/libgpars-groovy-java.poms | 1 +
debian/pom.xml | 54 ++++++++++++++++++++++++++++++++++++++++
debian/rules | 8 ++----
5 files changed, 59 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 062e29b..1b0b1be 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
libgpars-groovy-java (1.2.1-4) UNRELEASED; urgency=medium
* Team upload.
+ * Install the Maven artifacts (Closes: #728407)
* Build with gradle-debian-helper
* debian/control: Updated the Homepage field
diff --git a/debian/control b/debian/control
index 87a7c64..be56c2c 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Section: java
Priority: optional
Build-Depends: debhelper (>= 9),
default-jdk,
- javahelper,
+ maven-repo-helper,
groovy2 (>= 2.0.8~),
libnetty-3.9-java,
libjsr166y-java (>= 1.7.0~),
diff --git a/debian/libgpars-groovy-java.poms b/debian/libgpars-groovy-java.poms
new file mode 100644
index 0000000..ba913ce
--- /dev/null
+++ b/debian/libgpars-groovy-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --java-lib --has-package-version --artifact=build/libs/gpars-*.jar
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..5addf0c
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.codehaus.gpars</groupId>
+ <artifactId>gpars</artifactId>
+ <version>1.2.1</version>
+ <name>GPars</name>
+ <description>The Groovy and Java high-level concurrency library offering actors, dataflow, CSP, agents, parallel collections, fork/join and more</description>
+ <url>http://gpars.codehaus.org</url>
+ <inceptionYear>2009</inceptionYear>
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <dependencies>
+ <dependency>
+ <groupId>org.multiverse</groupId>
+ <artifactId>multiverse-core</artifactId>
+ <version>0.7.0</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jcsp</groupId>
+ <artifactId>jcsp</artifactId>
+ <version>1.1-rc5</version>
+ <scope>compile</scope>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jsr166-mirror</groupId>
+ <artifactId>jsr166y</artifactId>
+ <version>1.7.0</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.groovy</groupId>
+ <artifactId>groovy-all</artifactId>
+ <version>2.1.9</version>
+ <scope>compile</scope>
+ <optional>true</optional>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.netty</groupId>
+ <artifactId>netty</artifactId>
+ <version>3.2.9.Final</version>
+ <scope>compile</scope>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+</project>
diff --git a/debian/rules b/debian/rules
index d32ee6c..cc7bb3e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,16 +1,12 @@
#!/usr/bin/make -f
export JAVA_HOME=/usr/lib/jvm/default-java
-UPSTREAM_VERSION := $(shell dpkg-parsechangelog | sed -n '/^Version:/s/^[^:]*: \(.*\)-.*$$/\1/p')
%:
- dh $@ --with javahelper --buildsystem=gradle
+ dh $@ --with maven_repo_helper --buildsystem=gradle
override_dh_auto_build:
- dh_auto_build -- --project-prop finalRelease=true -Pgpars_groovyVersion=2.x assemble
-
-override_dh_auto_install:
- jh_installlibs build/libs/gpars-${UPSTREAM_VERSION}.jar
+ dh_auto_build -- --project-prop finalRelease=true -Pgpars_groovyVersion=2.x -x zipDoc -x zipSrc assemble documentation
override_dh_auto_clean:
-rm -rf .gradle build buildSrc/.gradle buildSrc/build
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libgpars-groovy-java.git
More information about the pkg-java-commits
mailing list