[objenesis] 02/04: Switch back to maven-debian-helper.

Markus Koschany apo at moszumanska.debian.org
Thu May 26 20:46:53 UTC 2016


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

apo pushed a commit to branch master
in repository objenesis.

commit db8e0ac919f154da6530f718fd44500dbd40601c
Author: Markus Koschany <apo at debian.org>
Date:   Thu May 26 22:31:30 2016 +0200

    Switch back to maven-debian-helper.
---
 debian/README.source                      |   8 -
 debian/control                            |   3 +-
 debian/libobjenesis-java-doc.doc-base.api |  10 +
 debian/libobjenesis-java-doc.install      |   1 +
 debian/libobjenesis-java-doc.javadoc      |   1 -
 debian/libobjenesis-java.poms             |   5 +-
 debian/maven.ignoreRules                  |  28 ++
 debian/maven.properties                   |   5 +
 debian/maven.rules                        |  21 ++
 debian/parent-pom.xml                     | 519 ------------------------------
 debian/pom.xml                            |  77 -----
 debian/rules                              |   6 +-
 12 files changed, 70 insertions(+), 614 deletions(-)

diff --git a/debian/README.source b/debian/README.source
deleted file mode 100644
index 89e5608..0000000
--- a/debian/README.source
+++ /dev/null
@@ -1,8 +0,0 @@
-objenesis
-=========
-
-The structure of the original tarball changed in version 2.3. In order to
-create a dfsg compliant tarball, you need to remove the -bin and -javadoc jar
-and extract the -sources jar. This will produce just one org directory. The
-META-INF directory can be removed. Recompress everything with xz and you will
-get Debian's original tarball.
diff --git a/debian/control b/debian/control
index fcb345f..0ca8fb1 100644
--- a/debian/control
+++ b/debian/control
@@ -9,10 +9,9 @@ Build-Depends:
  debhelper (>= 9),
  default-jdk,
  default-jdk-doc,
- javahelper,
  junit4,
  libmaven-javadoc-plugin-java,
- maven-repo-helper
+ maven-debian-helper (>= 1.4)
 Standards-Version: 3.9.8
 Vcs-Git: https://anonscm.debian.org/git/pkg-java/objenesis.git
 Vcs-Browser: https://anonscm.debian.org/cgit/pkg-java/objenesis.git
diff --git a/debian/libobjenesis-java-doc.doc-base.api b/debian/libobjenesis-java-doc.doc-base.api
new file mode 100644
index 0000000..aac7492
--- /dev/null
+++ b/debian/libobjenesis-java-doc.doc-base.api
@@ -0,0 +1,10 @@
+Document: libobjenesis-java
+Title: API Javadoc for Objenesis parent project
+Author: Joe Walnes, Henri Tremblay, Leonardo Mesquita developers
+Abstract: This is the API Javadoc provided for the
+ libobjenesis-java library.
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libobjenesis-java/api/index.html
+Files: /usr/share/doc/libobjenesis-java/api/*
diff --git a/debian/libobjenesis-java-doc.install b/debian/libobjenesis-java-doc.install
new file mode 100644
index 0000000..8c07946
--- /dev/null
+++ b/debian/libobjenesis-java-doc.install
@@ -0,0 +1 @@
+target/site/apidocs/* usr/share/doc/libobjenesis-java/api
diff --git a/debian/libobjenesis-java-doc.javadoc b/debian/libobjenesis-java-doc.javadoc
deleted file mode 100644
index ce83b25..0000000
--- a/debian/libobjenesis-java-doc.javadoc
+++ /dev/null
@@ -1 +0,0 @@
-internal
diff --git a/debian/libobjenesis-java.poms b/debian/libobjenesis-java.poms
index 8d561a7..6dd1018 100644
--- a/debian/libobjenesis-java.poms
+++ b/debian/libobjenesis-java.poms
@@ -25,5 +25,6 @@
 #   --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
 #     Empty by default. [mh_install]
 #
-debian/pom.xml --has-package-version --java-lib --artifact=objenesis.jar
-debian/parent-pom.xml --has-package-version
+pom.xml --has-package-version
+main/pom.xml --has-package-version --java-lib
+tck/pom.xml --ignore
diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules
new file mode 100644
index 0000000..49d2a37
--- /dev/null
+++ b/debian/maven.ignoreRules
@@ -0,0 +1,28 @@
+# Maven ignore rules - ignore some Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., this dependency is then removed
+# from the POM
+#   junit junit jar s/3\..*/3.x/
+
+com.google.code.maven-license-plugin maven-license-plugin * * * *
+com.keyboardsamurais.maven maven-timestamp-plugin * * * *
+org.apache.felix maven-bundle-plugin * * * *
+org.apache.maven.plugins maven-eclipse-plugin * * * *
+org.apache.maven.plugins maven-pmd-plugin * * * *
+org.apache.maven.plugins maven-remote-resources-plugin * * * *
+org.apache.maven.plugins maven-source-plugin * * * *
+org.apache.maven.wagon wagon-ssh-external * * * *
+org.codehaus.mojo findbugs-maven-plugin * * * *
+org.apache.maven.plugins maven-release-plugin * * * *
+com.mycila.maven-license-plugin maven-license-plugin * * * *
+
diff --git a/debian/maven.properties b/debian/maven.properties
new file mode 100644
index 0000000..c14f797
--- /dev/null
+++ b/debian/maven.properties
@@ -0,0 +1,5 @@
+# Include here properties to pass to Maven during the build.
+# For example:
+# maven.test.skip=true
+
+project.build.sourceEncoding=ISO-8859-1
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..fcc1d5a
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,21 @@
+# Maven rules - transform Maven dependencies and plugins
+# Format of this file is:
+# [group] [artifact] [type] [version] [classifier] [scope]
+# where each element can be either
+# - the exact string, for example org.apache for the group, or 3.1
+#   for the version. In this case, the element is simply matched
+#   and left as it is
+# - * (the star character, alone). In this case, anything will
+#   match and be left as it is. For example, using * on the
+#  position of the artifact field will match any artifact id
+# - a regular expression of the form s/match/replace/
+#   in this case, elements that match are transformed using
+#   the regex rule.
+# All elements much match before a rule can be applied
+# Example rule: match jar with groupid= junit, artifactid= junit
+# and version starting with 3., replacing the version with 3.x
+#   junit junit jar s/3\..*/3.x/
+
+junit junit jar s/4\..*/4.x/ * *
+org.objenesis objenesis-parent pom s/.*/debian/ * *
+org.objenesis objenesis jar s/.*/debian/ * *
diff --git a/debian/parent-pom.xml b/debian/parent-pom.xml
deleted file mode 100644
index f9b216e..0000000
--- a/debian/parent-pom.xml
+++ /dev/null
@@ -1,519 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<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.objenesis</groupId>
-  <artifactId>objenesis-parent</artifactId>
-  <version>2.3</version>
-  <packaging>pom</packaging>
-
-  <name>Objenesis parent project</name>
-  <description>A library for instantiating Java objects</description>
-  <url>http://objenesis.org</url>
-  <inceptionYear>2006</inceptionYear>
-
-  <prerequisites>
-    <maven>3.2.1</maven>
-  </prerequisites>
-
-  <modules>
-    <module>main</module>
-    <module>tck</module>
-  </modules>
-
-  <licenses>
-    <license>
-      <name>Apache 2</name>
-      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-      <distribution>repo</distribution>
-    </license>
-  </licenses>
-
-  <!-- Used for the copyright -->
-  <organization>
-    <name>Joe Walnes, Henri Tremblay, Leonardo Mesquita</name>
-  </organization>
-
-  <scm>
-    <url>https://github.com/easymock/objenesis</url>
-    <developerConnection>scm:git:git at github.com:easymock/objenesis.git</developerConnection>
-    <connection>scm:git:https://github.com/easymock/objenesis.git</connection>
-    <tag>2.3</tag>
-  </scm>
-
-  <developers>
-    <developer>
-      <id>joe</id>
-      <name>Joe Walnes</name>
-      <timezone>-5</timezone>
-    </developer>
-    <developer>
-      <id>henri</id>
-      <name>Henri Tremblay</name>
-      <timezone>-5</timezone>
-    </developer>
-    <developer>
-      <id>leonardo</id>
-      <name>Leonardo Mesquita</name>
-      <timezone>-5</timezone>
-    </developer>
-  </developers>
-
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
-
-  <dependencyManagement>
-    <dependencies>
-      <dependency>
-        <groupId>junit</groupId>
-        <artifactId>junit</artifactId>
-        <version>4.12</version>
-      </dependency>
-    </dependencies>
-  </dependencyManagement>
-
-  <dependencies>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <scope>test</scope>
-    </dependency>
-  </dependencies>
-
-  <build>
-    <plugins>
-      <plugin>
-        <artifactId>maven-compiler-plugin</artifactId>
-        <configuration>
-          <source>1.5</source>
-          <target>1.5</target>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-jar-plugin</artifactId>
-        <configuration>
-          <useDefaultManifestFile>true</useDefaultManifestFile>
-          <archive>
-            <index>true</index>
-            <addMavenDescriptor>false</addMavenDescriptor>
-            <manifest>
-              <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
-              <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
-            </manifest>
-          </archive>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-release-plugin</artifactId>
-        <configuration>
-          <!-- Required to let release with the benchmark project using snapshots. I can't put it directly in the benchmark project. It doesn't work -->
-          <allowTimestampedSnapshots>true</allowTimestampedSnapshots>
-          <!-- Renamed because the default would be objenesis-parent-x.y -->
-          <tagNameFormat>@{project.version}</tagNameFormat>
-          <!-- Quite annoying in case of error that the changes were pushed -->
-          <pushChanges>false</pushChanges>
-          <!-- Do not activate special profile from the superpom. We do it ourselves -->
-          <useReleaseProfile>false</useReleaseProfile>
-          <!-- Profiles required for the release -->
-          <releaseProfiles>release,full,all</releaseProfiles>
-          <!-- To use the same version on the module and the parent -->
-          <autoVersionSubmodules>true</autoVersionSubmodules>
-        </configuration>
-      </plugin>
-      <plugin>
-        <artifactId>maven-site-plugin</artifactId>
-        <inherited>false</inherited>
-        <configuration>
-          <siteDirectory>${project.basedir}/website</siteDirectory>
-        </configuration>
-      </plugin>
-      <plugin>
-        <groupId>com.mycila.maven-license-plugin</groupId>
-        <artifactId>maven-license-plugin</artifactId>
-        <inherited>false</inherited>
-        <configuration>
-          <!-- skipping the license check on the parent pom since it's not needed -->
-          <skip>true</skip>
-        </configuration>
-      </plugin>
-    </plugins>
-    <extensions>
-      <extension>
-        <groupId>org.apache.maven.wagon</groupId>
-        <artifactId>wagon-ssh-external</artifactId>
-        <version>2.10</version>
-      </extension>
-    </extensions>
-    <pluginManagement>
-      <plugins>
-        <plugin>
-          <artifactId>maven-assembly-plugin</artifactId>
-          <version>2.6</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-compiler-plugin</artifactId>
-          <version>3.5.1</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-jar-plugin</artifactId>
-          <version>2.6</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.19.1</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-clean-plugin</artifactId>
-          <version>3.0.0</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-deploy-plugin</artifactId>
-          <version>2.8.2</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-gpg-plugin</artifactId>
-          <version>1.6</version>
-          <executions>
-            <execution>
-              <id>sign-artifacts</id>
-              <phase>verify</phase>
-              <goals>
-                <goal>sign</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <artifactId>maven-install-plugin</artifactId>
-          <version>2.5.2</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-release-plugin</artifactId>
-          <version>2.5.2</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-resources-plugin</artifactId>
-          <version>2.7</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>3.5</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-source-plugin</artifactId>
-          <version>3.0.0</version>
-        </plugin>
-        <plugin>
-          <artifactId>maven-javadoc-plugin</artifactId>
-          <version>2.10.3</version>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.felix</groupId>
-          <artifactId>maven-bundle-plugin</artifactId>
-          <version>3.0.1</version>
-          <executions>
-            <execution>
-              <id>bundle-manifest</id>
-              <phase>prepare-package</phase>
-              <goals>
-                <goal>manifest</goal>
-              </goals>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>com.keyboardsamurais.maven</groupId>
-          <artifactId>maven-timestamp-plugin</artifactId>
-          <version>1.0</version>
-          <executions>
-            <execution>
-              <id>year</id>
-              <goals>
-                <goal>create</goal>
-              </goals>
-              <configuration>
-                <propertyName>year</propertyName>
-                <timestampPattern>yyyy</timestampPattern>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>com.mycila.maven-license-plugin</groupId>
-          <artifactId>maven-license-plugin</artifactId>
-          <version>1.10.b1</version>
-          <configuration>
-            <header>${project.basedir}/../header.txt</header>
-            <strictCheck>true</strictCheck>
-            <excludes>
-              <!-- Not being ignore by default -->
-              <exclude>.gitignore</exclude>
-              <!-- Nothing is copyrighted in target -->
-              <exclude>target/**</exclude>
-              <!-- copyrights to BEA -->
-              <exclude>src/main/java/org/objenesis/instantiator/jrockit/*.java</exclude>
-              <!-- generated pom by maven-shade-plugin -->
-              <exclude>dependency-reduced-pom.xml</exclude>
-              <!-- generated by Equinox during OSGi test -->
-              <exclude>eclipse_config/**</exclude>
-              <!-- no header wanted on the website -->
-              <exclude>website/**</exclude>
-              <!-- no header on batch files -->
-              <exclude>**/*.bat</exclude>
-              <!-- generated Android files -->
-              <exclude>project.properties</exclude>
-              <exclude>lint.xml</exclude>
-              <exclude>gen/**</exclude>
-              <exclude>bin/**</exclude>
-              <!-- no header on text files -->
-              <exclude>**/*.txt</exclude>
-              <!-- no header on Eclipse launch files -->
-              <exclude>**/*.launch</exclude>
-              <!-- no header on markdown files -->
-              <exclude>**/*.md</exclude>
-            </excludes>
-            <properties>
-              <inceptionYear>${project.inceptionYear}</inceptionYear>
-              <year>${year}</year>
-            </properties>
-          </configuration>
-        </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-remote-resources-plugin</artifactId>
-          <version>1.5</version>
-          <executions>
-            <execution>
-              <goals>
-                <goal>process</goal>
-              </goals>
-              <configuration>
-                <resourceBundles>
-                  <resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
-                </resourceBundles>
-              </configuration>
-            </execution>
-          </executions>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>versions-maven-plugin</artifactId>
-          <version>2.2</version>
-        </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>findbugs-maven-plugin</artifactId>
-          <version>3.0.3</version>
-          <configuration>
-            <xmlOutput>true</xmlOutput>
-            <omitVisitors>Naming</omitVisitors>
-          </configuration>
-        </plugin>
-        <!--This plugin configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
-        <plugin>
-          <groupId>org.eclipse.m2e</groupId>
-          <artifactId>lifecycle-mapping</artifactId>
-          <version>1.0.0</version>
-          <configuration>
-            <lifecycleMappingMetadata>
-              <pluginExecutions>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>com.keyboardsamurais.maven</groupId>
-                    <artifactId>maven-timestamp-plugin</artifactId>
-                    <versionRange>[1.0,)</versionRange>
-                    <goals>
-                      <goal>create</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute />
-                  </action>
-                </pluginExecution>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-remote-resources-plugin</artifactId>
-                    <versionRange>[1.0,)</versionRange>
-                    <goals>
-                      <goal>process</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <execute />
-                  </action>
-                </pluginExecution>
-                <pluginExecution>
-                  <pluginExecutionFilter>
-                    <groupId>org.codehaus.mojo</groupId>
-                    <artifactId>findbugs-maven-plugin</artifactId>
-                    <versionRange>[2.5.5,)</versionRange>
-                    <goals>
-                      <goal>findbugs</goal>
-                    </goals>
-                  </pluginExecutionFilter>
-                  <action>
-                    <ignore />
-                  </action>
-                </pluginExecution>
-              </pluginExecutions>
-            </lifecycleMappingMetadata>
-          </configuration>
-        </plugin>
-      </plugins>
-    </pluginManagement>
-  </build>
-  <reporting>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.9</version>
-      </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>findbugs-maven-plugin</artifactId>
-        <version>3.0.3</version>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-pmd-plugin</artifactId>
-        <version>3.6</version>
-        <configuration>
-          <targetJdk>1.5</targetJdk>
-        </configuration>
-      </plugin>
-    </plugins>
-  </reporting>
-
-  <distributionManagement>
-    <repository>
-      <id>bintray</id>
-      <name>JFrog Bintray</name>
-      <url>https://api.bintray.com/maven/easymock/maven/objenesis</url>
-    </repository>
-  </distributionManagement>
-
-  <profiles>
-    <profile>
-      <!-- Activate to generate javadoc, sources jars, license check and findbugs -->
-      <id>full</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-source-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-sources</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-javadoc-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>attach-javadocs</id>
-                <goals>
-                  <goal>jar</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>org.codehaus.mojo</groupId>
-            <artifactId>findbugs-maven-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>findbugs</id>
-                <goals>
-                  <goal>findbugs</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-          <plugin>
-            <groupId>com.mycila.maven-license-plugin</groupId>
-            <artifactId>maven-license-plugin</artifactId>
-            <executions>
-              <execution>
-                <id>check</id>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <!-- Activate to update the license -->
-      <id>license</id>
-      <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>com.mycila.maven-license-plugin</groupId>
-              <artifactId>maven-license-plugin</artifactId>
-              <executions>
-                <execution>
-                  <id>format</id>
-                  <phase>generate-sources</phase>
-                  <goals>
-                    <goal>format</goal>
-                  </goals>
-                </execution>
-              </executions>
-            </plugin>
-          </plugins>
-        </pluginManagement>
-      </build>
-    </profile>
-    <profile>
-      <!-- Activate to generate the website -->
-      <id>website</id>
-      <modules>
-        <module>website</module>
-      </modules>
-    </profile>
-    <profile>
-      <!-- Activate to execute the tck on Android -->
-      <id>android</id>
-      <modules>
-        <module>tck-android</module>
-      </modules>
-    </profile>
-    <profile>
-      <!-- Activate to run the benchmark -->
-      <id>benchmark</id>
-      <modules>
-        <module>benchmark</module>
-      </modules>
-    </profile>
-    <profile>
-      <!-- Activate to create a complete release -->
-      <id>release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <artifactId>maven-gpg-plugin</artifactId>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-    <profile>
-      <id>all</id>
-      <modules>
-        <module>benchmark</module>
-        <module>tck-android</module>
-        <module>gae</module>
-        <module>website</module>
-      </modules>
-    </profile>
-  </profiles>
-</project>
diff --git a/debian/pom.xml b/debian/pom.xml
deleted file mode 100644
index 8089a3b..0000000
--- a/debian/pom.xml
+++ /dev/null
@@ -1,77 +0,0 @@
-<?xml version="1.0" encoding="windows-1252"?>
-<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.objenesis</groupId>
-    <artifactId>objenesis-parent</artifactId>
-    <version>2.3</version>
-  </parent>
-  <artifactId>objenesis</artifactId>
-
-  <name>Objenesis</name>
-  <description>A library for instantiating Java objects</description>
-  <url>http://objenesis.org</url>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>com.keyboardsamurais.maven</groupId>
-        <artifactId>maven-timestamp-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>com.mycila.maven-license-plugin</groupId>
-        <artifactId>maven-license-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-remote-resources-plugin</artifactId>
-      </plugin>
-      <plugin>
-        <groupId>org.apache.felix</groupId>
-        <artifactId>maven-bundle-plugin</artifactId>
-        <extensions>true</extensions>
-        <configuration>
-          <instructions>
-            <Import-Package>
-            COM.jrockit.reflect;resolution:=optional,
-            jrockit.vm;resolution:=optional,
-            COM.newmonics.PercClassloader;resolution:=optional,
-            sun.misc;resolution:=optional,
-            sun.reflect;resolution:=optional
-            </Import-Package>
-          </instructions>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-
-  <profiles>
-    <profile>
-      <!-- Activate to create the release bundle -->
-      <id>release</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-assembly-plugin</artifactId>
-            <configuration>
-              <attach>false</attach>
-              <descriptors>
-                <descriptor>assembly.xml</descriptor>
-              </descriptors>
-            </configuration>
-            <executions>
-              <execution>
-                <id>make-assembly</id>
-                <phase>package</phase>
-                <goals>
-                  <goal>single</goal>
-                </goals>
-              </execution>
-            </executions>
-          </plugin>
-        </plugins>
-      </build>
-    </profile>
-  </profiles>
-</project>
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 683a798..521f583 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,8 @@
 #!/usr/bin/make -f
 export JAVA_HOME=/usr/lib/jvm/default-java
-export JAVA_TOOL_OPTIONS=-Dfile.encoding=iso-8859-1
 
 %:
-	dh $@ --parallel --with javahelper,maven_repo_helper
-
-override_dh_auto_build:
-	jh_build objenesis.jar org
+	dh $@ --parallel --buildsystem=maven
 
 get-orig-source:
 	uscan --force-download --download-current-version --verbose

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



More information about the pkg-java-commits mailing list