[libjibx1.2-java] 15/33: Provide maven artifacts Remove MIA uploaders Use copyright 1.0 file structure Update debhelper to version 9

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Tue Feb 2 10:27:15 UTC 2016


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

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

commit 4825ddbd8ce17d56dd480f436da67efdc6878d70
Author: Stephen Nelson <stephen at eccostudio.com>
Date:   Wed Mar 12 22:15:47 2014 +0000

    Provide maven artifacts
    Remove MIA uploaders
    Use copyright 1.0 file structure
    Update debhelper to version 9
---
 debian/changelog            |  13 +++++
 debian/compat               |   2 +-
 debian/control              |  10 ++--
 debian/copyright            |  80 +++++++++++++++++++++++------
 debian/jibx-bind.pom        | 120 ++++++++++++++++++++++++++++++++++++++++++++
 debian/jibx-extras.pom      |  89 ++++++++++++++++++++++++++++++++
 debian/jibx-run.pom         |  84 +++++++++++++++++++++++++++++++
 debian/jibx-schema.pom      | 102 +++++++++++++++++++++++++++++++++++++
 debian/libjibx1.2-java.poms |   5 ++
 debian/rules                |  17 ++++---
 10 files changed, 493 insertions(+), 29 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index c4eedd2..60361e2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,16 @@
+libjibx1.2-java (1.2.3-3) UNRELEASED; urgency=low
+
+  * Team upload.
+  * Update standards version to 3.9.5
+  * Remove Michael Koch from uploaders. (Closes: #654082) 
+  * Add Stephen Nelson to uploaders. 
+  * Update the Vcs fields.
+  * Use debhelper version 9.
+  * Provide Maven artifact. (Closes: #729021)
+  * Fix deprecation warnings in debian/rules
+
+ -- Stephen Nelson <stephen at eccostudio.com>  Wed, 12 Mar 2014 21:49:38 +0000
+
 libjibx1.2-java (1.2.3-2) unstable; urgency=low
 
   * Team upload.
diff --git a/debian/compat b/debian/compat
index 7f8f011..ec63514 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-7
+9
diff --git a/debian/control b/debian/control
index a61ec5f..7291446 100644
--- a/debian/control
+++ b/debian/control
@@ -2,14 +2,14 @@ Source: libjibx1.2-java
 Section: java
 Priority: optional
 Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Eric Lavarde <deb at zorglub.s.bawue.de>, Michael Koch <konqueror at gmx.de>
-Build-Depends: debhelper (>= 7.0.0), cdbs (>= 0.4.8), default-jdk, ant,
+Uploaders: Eric Lavarde <deb at zorglub.s.bawue.de>, Stephen Nelson <stephen at eccostudio.com> 
+Build-Depends: debhelper (>= 9), cdbs (>= 0.4.8), default-jdk, ant, maven-repo-helper
 Build-Depends-Indep: antlr, libbcel-java, liblog4j1.2-java, libxpp3-java,
  libjoda-time-java
-Standards-Version: 3.9.2
+Standards-Version: 3.9.5
 Homepage: http://jibx.sf.net/
-Vcs-svn: svn://svn.debian.org/svn/pkg-java/trunk/libjibx-java/branch-1.2/
-Vcs-browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjibx-java/branch-1.2/
+Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libjibx-java/branch-1.2
+Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libjibx-java/branch-1.2
 
 Package: libjibx1.2-java
 Architecture: all
diff --git a/debian/copyright b/debian/copyright
index 4d5f896..d389901 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,15 +1,16 @@
-This package was debianized by Eric Lavarde <deb at zorglub.s.bawue.de> on
-Mon,  1 Aug 2005 21:00:17 +0200.
-
-It was downloaded from http://jibx.sf.net/
-
-Copyright (c) 2003-2005, Dennis M. Sosnoski <dsosnoski at users.sourceforge.net>
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jibx 
+Upstream-Contact: Dennis M. Sosnoski <dsosnoski at users.sourceforge.net> 
+Source: http://sourceforge.net/projects/jibx/
 
+Files: *
+Copyright: 2003-2005 Dennis M. Sosnoski
+License: BSD-3-clause
 All rights reserved.
-
+.
 Redistribution and use in source and binary forms, with or without modification,
 are permitted provided that the following conditions are met:
-
+.
  * Redistributions of source code must retain the above copyright notice, this
    list of conditions and the following disclaimer.
  * Redistributions in binary form must reproduce the above copyright notice,
@@ -18,7 +19,7 @@ are permitted provided that the following conditions are met:
  * Neither the name of JiBX nor the names of its contributors may be used
    to endorse or promote products derived from this software without specific
    prior written permission.
-
+.
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
@@ -30,10 +31,59 @@ ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+Files: build/src/org/jibx/binding/ant/CompileTask.java
+Copyright: 2003 Andrew J. Glover
+License: BSD-3-clause
+All rights reserved.
+.
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+.
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ * Neither the name of JiBX nor the names of its contributors may be used
+   to endorse or promote products derived from this software without specific
+   prior written permission.
+.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
-./build/src/org/jibx/binding/ant/CompileTask.java
-Copyright (c) 2003, Andrew J. Glover (same license as above)
-
-
-License statements in ./docs/jibx-license.html for the dependencies
-BCEL and XPP3 can be safely ignored.
+Files: debian/*
+Copyright: 2005, Eric Lavarde
+Copyright: 2014, Stephen Nelson
+License: BSD-3-clause
+All rights reserved.
+.
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+.
+ * Redistributions of source code must retain the above copyright notice, this
+   list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice,
+   this list of conditions and the following disclaimer in the documentation
+   and/or other materials provided with the distribution.
+ * Neither the name of JiBX nor the names of its contributors may be used
+   to endorse or promote products derived from this software without specific
+   prior written permission.
+.
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/jibx-bind.pom b/debian/jibx-bind.pom
new file mode 100644
index 0000000..d77c44c
--- /dev/null
+++ b/debian/jibx-bind.pom
@@ -0,0 +1,120 @@
+<?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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.jibx.config</groupId>
+    <artifactId>main-reactor</artifactId>
+    <version>1.2.3</version>
+  </parent>
+
+  <groupId>org.jibx</groupId>
+  <artifactId>jibx-bind</artifactId>
+  <packaging>bundle</packaging>
+
+  <name>jibx-bind - JiBX binding</name>
+  <description>JiBX binding code</description>
+
+
+  <profiles>
+    <profile> 
+      <id>sonatype-oss-release</id>
+      <build>
+      <!-- ***CAREFUL*** This logic moves the source code to the current project, then
+      does NOT compile it. This way, the api and source are in the repo. -->
+	    <plugins>
+	      <plugin>
+	        <artifactId>maven-resources-plugin</artifactId>
+	        <version>2.4.3</version>
+	        <executions>
+          <execution>
+            <id>copy-jibx-bind</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/src/main/java</outputDirectory>
+              <resources>          
+                <resource>
+                  <directory>${coreSourceDir}</directory>
+                  <filtering>false</filtering>
+                  <includes>
+                    <include>org/jibx/binding/**/*.java</include>
+                    <include>org/jibx/util/**/*.java</include>
+                  </includes>
+                  <excludes>
+                    <exclude>org/jibx/binding/generator/**/*.java</exclude>
+                    <exclude>org/jibx/binding/schema*/**/*.java</exclude>
+                    <exclude>org/jibx/custom/**/*.java</exclude>
+                  </excludes>
+                </resource>
+              </resources>              
+            </configuration>            
+          </execution>
+	        </executions>
+	      </plugin>
+	    </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>
+                !org.jibx.binding.generator.*,  <!-- In jibx-tools -->
+                org.jibx.binding.*;version=${project.version},
+                org.jibx.util.*;version=${project.version},
+            </Export-Package>
+	    <Include-Resource>@${jibxLibDir}/jibx-bind.jar;inline=**</Include-Resource>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jibx-run</artifactId>
+      <version>1.2.3</version>
+    </dependency>
+
+    <dependency>
+      <groupId>bcel</groupId>
+      <artifactId>bcel</artifactId>
+    </dependency>
+
+    <dependency>
+      <groupId>log4j</groupId>
+      <artifactId>log4j</artifactId>
+      <exclusions>
+        <exclusion>
+          <groupId>javax.jms</groupId>
+          <artifactId>jms</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jmx</groupId>
+          <artifactId>jmxri</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>com.sun.jdmk</groupId>
+          <artifactId>jmxtools</artifactId>
+        </exclusion>
+      </exclusions>
+    </dependency>
+
+	<dependency>
+	   <groupId>com.thoughtworks.qdox</groupId>
+	   <artifactId>qdox</artifactId>
+	   <scope>compile</scope>
+	</dependency>
+  </dependencies>
+
+</project>
diff --git a/debian/jibx-extras.pom b/debian/jibx-extras.pom
new file mode 100644
index 0000000..a9af98a
--- /dev/null
+++ b/debian/jibx-extras.pom
@@ -0,0 +1,89 @@
+<?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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.jibx.config</groupId>
+    <artifactId>main-reactor</artifactId>
+    <version>1.2.3</version>
+  </parent>
+
+  <groupId>org.jibx</groupId>
+  <artifactId>jibx-extras</artifactId>
+  <packaging>bundle</packaging>
+
+  <name>jibx-extras - JiBX extras</name>
+  <description>JiBX extras code</description>
+
+  <profiles>
+    <profile> 
+      <id>sonatype-oss-release</id>
+      <build>
+      <!-- ***CAREFUL*** This logic moves the source code to the current project, then
+      does NOT compile it. This way, the api and source are in the repo. -->
+	    <plugins>
+	      <plugin>
+	        <artifactId>maven-resources-plugin</artifactId>
+	        <version>2.4.3</version>
+	        <executions>
+          <execution>
+            <id>copy-jibx-extras</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/src/main/java</outputDirectory>
+              <resources>          
+                <resource>
+                  <directory>${extrasSourceDir}</directory>
+                  <filtering>false</filtering>
+                </resource>
+              </resources>              
+            </configuration>            
+          </execution>
+	        </executions>
+	      </plugin>
+	    </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>
+                org.jibx.extras.*;version=${project.version},
+            </Export-Package>
+	    <Include-Resource>@${jibxLibDir}/jibx-extras.jar;inline=**</Include-Resource>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jibx-run</artifactId>
+      <version>1.2.3</version>
+    </dependency>
+
+	<dependency>
+	   <groupId>dom4j</groupId>
+	   <artifactId>dom4j</artifactId>
+	   <scope>compile</scope>
+	</dependency>
+	<dependency>
+	   <groupId>org.jdom</groupId>
+	   <artifactId>jdom</artifactId>
+	   <scope>compile</scope>
+	</dependency>
+  </dependencies>
+
+</project>
diff --git a/debian/jibx-run.pom b/debian/jibx-run.pom
new file mode 100644
index 0000000..0ddbd5f
--- /dev/null
+++ b/debian/jibx-run.pom
@@ -0,0 +1,84 @@
+<?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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.jibx.config</groupId>
+    <artifactId>main-reactor</artifactId>
+    <version>1.2.3</version>
+  </parent>
+
+  <groupId>org.jibx</groupId>
+  <artifactId>jibx-run</artifactId>
+  <packaging>bundle</packaging>
+
+  <name>jibx-run - JiBX runtime</name>
+  <description>JiBX runtime code</description>
+  
+  <profiles>
+    <profile> 
+      <id>sonatype-oss-release</id>
+      <build>
+      <!-- ***CAREFUL*** This logic moves the source code to the current project, then
+      does NOT compile it. This way, the api and source are in maven central. -->
+	    <plugins>
+	      <plugin>
+	        <artifactId>maven-resources-plugin</artifactId>
+	        <version>2.4.3</version>
+	        <executions>
+	          <execution>
+	            <id>copy-jibx-run</id>
+	            <phase>validate</phase>
+	            <goals>
+	              <goal>copy-resources</goal>
+	            </goals>
+	            <configuration>
+	              <outputDirectory>${basedir}/src/main/java</outputDirectory>
+	              <resources>          
+	                <resource>
+	                  <directory>${coreSourceDir}</directory>
+	                  <filtering>false</filtering>
+	                  <includes>
+	                    <include>org/jibx/runtime/**/*.java</include>
+	                  </includes>
+	                </resource>
+	              </resources>              
+	            </configuration>            
+	          </execution>
+	        </executions>
+	      </plugin>
+	    </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>
+                org.jibx.runtime.*;version=${project.version},
+            </Export-Package>
+	    <Include-Resource>@${jibxLibDir}/jibx-run.jar;inline=**</Include-Resource>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>joda-time</groupId>
+      <artifactId>joda-time</artifactId>
+    </dependency>
+    <dependency>
+      <groupId>xpp3</groupId>
+      <artifactId>xpp3</artifactId>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/debian/jibx-schema.pom b/debian/jibx-schema.pom
new file mode 100644
index 0000000..71da87f
--- /dev/null
+++ b/debian/jibx-schema.pom
@@ -0,0 +1,102 @@
+<?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/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <groupId>org.jibx.config</groupId>
+    <artifactId>main-reactor</artifactId>
+    <version>1.2.3</version>
+  </parent>
+
+  <groupId>org.jibx</groupId>
+  <artifactId>jibx-schema</artifactId>
+  <packaging>bundle</packaging>
+
+  <name>jibx-schema - JiBX schema</name>
+  <description>JiBX schema code</description>
+
+  <profiles>
+    <profile> 
+      <id>sonatype-oss-release</id>
+      <build>
+      <!-- ***CAREFUL*** This logic moves the source code to the current project, then
+      does NOT compile it. This way, the api and source are in the repo. -->
+	    <plugins>
+	      <plugin>
+	        <inherited>true</inherited>
+	        <groupId>org.apache.maven.plugins</groupId>
+	        <artifactId>maven-compiler-plugin</artifactId>
+	        <configuration>
+	          <excludes>
+	            <exclude>**/**</exclude>	<!-- This will not compile any, but include the source in the dist -->
+	          </excludes>
+	        </configuration>
+	      </plugin>
+	      <plugin>
+	        <artifactId>maven-resources-plugin</artifactId>
+	        <version>2.4.3</version>
+	        <executions>
+          <execution>
+            <id>copy-jibx-schema</id>
+            <phase>validate</phase>
+            <goals>
+              <goal>copy-resources</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${basedir}/src/main/java</outputDirectory>
+              <resources>          
+                <resource>
+                  <directory>${coreSourceDir}</directory>
+                  <filtering>false</filtering>
+                  <includes>
+                    <include>org/jibx/schema/**/*.java</include>
+                  </includes>
+                  <excludes>
+                    <exclude>org/jibx/schema/codegen/**/*.java</exclude>
+                    <exclude>org/jibx/schema/generator/**/*.java</exclude>
+                  </excludes>
+                </resource>
+              </resources>              
+            </configuration>            
+          </execution>
+	        </executions>
+	      </plugin>
+	    </plugins>
+      </build>
+    </profile>
+  </profiles>
+  
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.felix</groupId>
+        <artifactId>maven-bundle-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <instructions>
+            <Export-Package>
+                !org.jibx.schema.codegen.*,  <!-- In jibx-tools -->
+                !org.jibx.schema.generator.*,  <!-- In jibx-tools -->
+                org.jibx.schema.*;version=${project.version},
+            </Export-Package>
+	    <Include-Resource>@${jibxLibDir}/jibx-schema.jar;inline=**</Include-Resource>
+          </instructions>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+  <dependencies>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jibx-bind</artifactId>
+      <version>1.2.3</version>
+    </dependency>
+    <dependency>
+      <groupId>${project.groupId}</groupId>
+      <artifactId>jibx-extras</artifactId>
+      <version>1.2.3</version>
+    </dependency>
+  </dependencies>
+
+</project>
diff --git a/debian/libjibx1.2-java.poms b/debian/libjibx1.2-java.poms
new file mode 100644
index 0000000..f791a08
--- /dev/null
+++ b/debian/libjibx1.2-java.poms
@@ -0,0 +1,5 @@
+debian/jibx-run.pom --has-package-version --no-parent
+debian/jibx-bind.pom --has-package-version --no-parent
+debian/jibx-extras.pom --has-package-version --no-parent
+debian/jibx-run.pom --has-package-version --no-parent
+debian/jibx-schema.pom --has-package-version --no-parent
diff --git a/debian/rules b/debian/rules
index df6ae1f..2fb958b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,24 +3,25 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/ant.mk
 
-DEB_COMPRESS_EXCLUDE := .class
+DEB_COMPRESS_EXCLUDE_DEFAULT := .class
 JAVA_HOME            := /usr/lib/jvm/default-java
 DEB_JARS             := $(ANT_HOME)/lib/ant-launcher.jar bcel log4j-1.2 qdox xpp3 joda-time
 DEB_ANT_BUILD_TARGET := setrelease current devdoc
 DEB_ANT_ARGS         := -Dbindname=jibx-bind-$(DEB_UPSTREAM_VERSION) -Dextrasname=jibx-extras-$(DEB_UPSTREAM_VERSION) -Drunname=jibx-run-$(DEB_UPSTREAM_VERSION) -Dschemaname=jibx-schema-$(DEB_UPSTREAM_VERSION)
 DEB_BUILDDIR         := build
-DEB_DH_INSTALLCHANGELOGS_ARGS := changes.txt
-
+DEB_INSTALL_CHANGELOGS_ALL := changes.txt
 DEB_UPSTREAM_VERSION_2 := $(shell echo $(DEB_UPSTREAM_VERSION) | cut -f1,2 -d. )
 
-clean:: 
+clean::
+	mh_clean 
 	-rm -fr build/api build/classes lib/*
 
 install/libjibx1.2-java::
-	dh_install -plibjibx$(DEB_UPSTREAM_VERSION_2)-java lib/jibx-bind-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_install -plibjibx$(DEB_UPSTREAM_VERSION_2)-java lib/jibx-extras-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_install -plibjibx$(DEB_UPSTREAM_VERSION_2)-java lib/jibx-run-$(DEB_UPSTREAM_VERSION).jar usr/share/java
-	dh_install -plibjibx$(DEB_UPSTREAM_VERSION_2)-java lib/jibx-schema-$(DEB_UPSTREAM_VERSION).jar usr/share/java
+	mh_installpoms -plibjibx$(DEB_UPSTREAM_VERSION_2)-java
+	mh_installjar -plibjibx$(DEB_UPSTREAM_VERSION_2)-java --usj-version=$(DEB_UPSTREAM_VERSION) --java-lib --no-usj-versionless debian/jibx-run.pom lib/jibx-run-$(DEB_UPSTREAM_VERSION).jar
+	mh_installjar -plibjibx$(DEB_UPSTREAM_VERSION_2)-java --usj-version=$(DEB_UPSTREAM_VERSION) --java-lib --no-usj-versionless debian/jibx-bind.pom lib/jibx-bind-$(DEB_UPSTREAM_VERSION).jar
+	mh_installjar -plibjibx$(DEB_UPSTREAM_VERSION_2)-java --usj-version=$(DEB_UPSTREAM_VERSION) --java-lib --no-usj-versionless debian/jibx-extras.pom lib/jibx-extras-$(DEB_UPSTREAM_VERSION).jar
+	mh_installjar -plibjibx$(DEB_UPSTREAM_VERSION_2)-java --usj-version=$(DEB_UPSTREAM_VERSION) --java-lib --no-usj-versionless debian/jibx-schema.pom lib/jibx-schema-$(DEB_UPSTREAM_VERSION).jar
 	if [ "$(DEB_UPSTREAM_VERSION)" != "$(DEB_UPSTREAM_VERSION_2)" ]; then \
 		dh_link -plibjibx$(DEB_UPSTREAM_VERSION_2)-java usr/share/java/jibx-bind-$(DEB_UPSTREAM_VERSION).jar \
 								usr/share/java/jibx-bind-$(DEB_UPSTREAM_VERSION_2).jar ; \

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



More information about the pkg-java-commits mailing list