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

carandraug-guest pushed a commit to branch master
in repository imagej.

commit 1bab6d693c09f5761cd820c41b7fdaf248a76244
Author: Carnë Draug <carandraug+...@gmail.com>
Date:   Thu Aug 10 23:51:10 2017 +0100

    Include maven pom.xml from ImageJA releases in Maven Central
---
 debian/changelog         |   3 ++
 debian/control           |   1 +
 debian/imagej.poms       |   1 +
 debian/maven.ignoreRules |   1 +
 debian/pom.xml           | 125 +++++++++++++++++++++++++++++++++++++++++++++++
 debian/rules             |   2 +-
 6 files changed, 132 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a1b1b95..516afe4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,9 @@ imagej (1.51p+dfsg-1) UNRELEASED; urgency=medium
   [ Carnë Draug ]
   * Added ImageJ to the Education and ImageProcessing category on the
     desktop file.
+  * Include the maven pom.xml file for artifact ij in group net.imagej
+    which is part of ImageJA.  This enables the packaging of ImageJ
+    plugins which often use maven.
 
  -- Andreas Tille <ti...@debian.org>  Sat, 12 Aug 2017 00:29:11 +0200
 
diff --git a/debian/control b/debian/control
index 288bb0c..bfa1547 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends: default-jdk,
                debhelper (>= 10),
                ant,
                javahelper
+Build-Depends-Indep: maven-repo-helper
 Standards-Version: 3.9.8
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/imagej.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/imagej.git
diff --git a/debian/imagej.poms b/debian/imagej.poms
new file mode 100644
index 0000000..a72dab9
--- /dev/null
+++ b/debian/imagej.poms
@@ -0,0 +1 @@
+debian/pom.xml --java-lib --artifact=ij.jar --no-parent --has-package-version
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..5c42d34
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1 @@
+com.yuvimasory orange-extensions * * * *
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..e7d2523
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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/xsd/maven-4.0.0.xsd";>
+       <modelVersion>4.0.0</modelVersion>
+
+       <parent>
+               <groupId>org.scijava</groupId>
+               <artifactId>pom-scijava</artifactId>
+               <version>16.2.0</version>
+               <relativePath />
+       </parent>
+
+       <groupId>net.imagej</groupId>
+       <artifactId>ij</artifactId>
+       <version>1.51p</version>
+
+       <name>ImageJ</name>
+       <description>ImageJ is an open source Java image processing program 
inspired by NIH Image for the Macintosh.</description>
+       <url>https://imagej.net/</url>
+       <inceptionYear>1997</inceptionYear>
+       <organization>
+               <name>NIH</name>
+               <url>https://nih.gov/</url>
+       </organization>
+       <licenses>
+               <license>
+                       <name>Public domain</name>
+                       <url>https://imagej.net/disclaimer.html</url>
+                       <distribution>repo</distribution>
+               </license>
+       </licenses>
+
+       <developers>
+               <developer>
+                       <id>rasband</id>
+                       <name>Wayne Rasband</name>
+                       <url>https://imagej.net/Wayne_Rasband</url>
+                       <roles>
+                               <role>founder</role>
+                               <role>lead</role>
+                               <role>developer</role>
+                               <role>debugger</role>
+                               <role>reviewer</role>
+                               <role>support</role>
+                               <role>maintainer</role>
+                       </roles>
+               </developer>
+       </developers>
+       <contributors>
+               <contributor><name>See release notes</name></contributor>
+       </contributors>
+
+       <mailingLists>
+               <mailingList>
+                       <name>ImageJ</name>
+                       <subscribe>https://imagej.net/list.html</subscribe>
+                       <unsubscribe>https://imagej.net/list.html</unsubscribe>
+                       <post>ima...@list.nih.gov</post>
+                       
<archive>https://list.nih.gov/archives/imagej.html</archive>
+               </mailingList>
+               <mailingList>
+                       <name>ImageJ-devel</name>
+                       
<subscribe>https://imagej.net/mailman/listinfo/imagej-devel</subscribe>
+                       
<unsubscribe>https://imagej.net/mailman/listinfo/imagej-devel</unsubscribe>
+                       <post>imagej-de...@imagej.net</post>
+                       
<archive>https://imagej.net/pipermail/imagej-devel/</archive>
+               </mailingList>
+       </mailingLists>
+
+       <scm>
+               <connection>scm:git:git://github.com/imagej/ImageJA</connection>
+               
<developerConnection>scm:git:g...@github.com:imagej/ImageJA</developerConnection>
+               <tag>HEAD</tag>
+               <url>https://github.com/imagej/ImageJA</url>
+       </scm>
+       <issueManagement>
+               <system>GitHub Issues</system>
+               <url>https://github.com/imagej/imagej1/issues</url>
+       </issueManagement>
+       <ciManagement>
+               <system>Jenkins</system>
+               <url>https://jenkins.imagej.net/</url>
+       </ciManagement>
+
+       <properties>
+               <main-class>ij.ImageJ</main-class>
+               <license.licenseName>N/A</license.licenseName>
+               <license.copyrightOwners>N/A</license.copyrightOwners>
+
+               <scijava.jvm.version>1.6</scijava.jvm.version>
+               <javac.path>${java.home}/../lib/tools.jar</javac.path>
+       </properties>
+
+       <dependencies>
+               <dependency>
+                       <groupId>com.yuvimasory</groupId>
+                       <artifactId>orange-extensions</artifactId>
+                       <version>1.3.0</version>
+                       <scope>provided</scope>
+               </dependency>
+       </dependencies>
+
+       <profiles>
+               <profile>
+                       <id>javac</id>
+                       <activation>
+                               <file>
+                                       <!-- NB: Custom properties do not work 
here, so we hardcode. -->
+                                       
<exists>${java.home}/../lib/tools.jar</exists>
+                               </file>
+                       </activation>
+                       <dependencies>
+                               <dependency>
+                                       <groupId>com.sun</groupId>
+                                       <artifactId>tools</artifactId>
+                                       <version>1.4.2</version>
+                                       <scope>system</scope>
+                                       <systemPath>${javac.path}</systemPath>
+                               </dependency>
+                       </dependencies>
+               </profile>
+       </profiles>
+</project>
diff --git a/debian/rules b/debian/rules
index 2c7a19c..2707f7f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
 # debian/rules for imagej
 
 %:
-       dh $@ --with javahelper
+       dh $@ --buildsystem=ant --with maven-repo-helper --with javahelper
 
 # install/imagej::
 override_dh_auto_install:

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/debian-med/imagej.git

_______________________________________________
debian-med-commit mailing list
debian-med-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to