[libcommons-modeler-java] 23/39: * Team upload * Download oldest version of pom.xml from trunk and add it to debian/ directory. * Use maven-repo-helper to install the artifacts. * Convert debian/copyright to UTF-8 encoding.
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Thu Oct 26 21:43:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository libcommons-modeler-java.
commit 6687aa42adf32deb01c493f6f288abd8912f435e
Author: Torsten Werner <twerner at debian.org>
Date: Wed Aug 17 08:53:52 2011 +0000
* Team upload
* Download oldest version of pom.xml from trunk and add it to debian/
directory.
* Use maven-repo-helper to install the artifacts.
* Convert debian/copyright to UTF-8 encoding.
---
debian/changelog | 8 +-
debian/control | 2 +-
debian/copyright | 4 +-
debian/libcommons-modeler-java.poms | 1 +
debian/pom.xml | 206 ++++++++++++++++++++++++++++++++++++
debian/rules | 10 +-
6 files changed, 220 insertions(+), 11 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index b069438..3783e2d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,13 @@
libcommons-modeler-java (2.0.1-6) unstable; urgency=low
- * UNRELEASED
+ * Team upload
* Remove Arnaud from Uploaders list.
+ * Download oldest version of pom.xml from trunk and add it to debian/
+ directory.
+ * Use maven-repo-helper to install the artifacts.
+ * Convert debian/copyright to UTF-8 encoding.
- -- Torsten Werner <twerner at debian.org> Sat, 08 May 2010 20:53:13 +0200
+ -- Torsten Werner <twerner at debian.org> Wed, 17 Aug 2011 10:31:08 +0200
libcommons-modeler-java (2.0.1-5) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 084e7c7..d5d4b0d 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.or
Uploaders: Michael Koch <konqueror at gmx.de>, Marcus Better <marcus at better.se>
Build-Depends: debhelper (>= 5), cdbs (>= 0.4.8), ant
Build-Depends-Indep: default-jdk, libcommons-logging-java,
- libcommons-digester-java, libmx4j-java, junit
+ libcommons-digester-java, libmx4j-java, junit, maven-repo-helper
Standards-Version: 3.8.4
Homepage: http://commons.apache.org/modeler/
Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/libcommons-modeler-java
diff --git a/debian/copyright b/debian/copyright
index 31a989d..f5ad1a0 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -11,8 +11,8 @@ Upstream Authors: Craig McClanahan <craigmcc at apache.org>,
Bill Barker <billbarker at apache.org>,
Davanum Srinivas <dims at apache.org>
-Copyright: � 2002-2008 The Apache Software Foundation
- � 2007 Marcus Better (Debian packaging)
+Copyright: © 2002-2008 The Apache Software Foundation
+ © 2007 Marcus Better (Debian packaging)
License: Apache 2.0
diff --git a/debian/libcommons-modeler-java.poms b/debian/libcommons-modeler-java.poms
new file mode 100644
index 0000000..623bd24
--- /dev/null
+++ b/debian/libcommons-modeler-java.poms
@@ -0,0 +1 @@
+debian/pom.xml --no-parent
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..227f18e
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,206 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<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">
+ <parent>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-parent</artifactId>
+ <version>5</version>
+ </parent>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>commons-modeler</groupId>
+ <artifactId>commons-modeler</artifactId>
+ <version>2.1-SNAPSHOT</version>
+ <name>Commons Modeler</name>
+ <inceptionYear>2002</inceptionYear>
+ <description>
+ Commons Modeler makes the process of setting up JMX (Java
+ Management Extensions) MBeans easier by configuring the required meta
+ data using an XML descriptor. In addition, Modeler provides a factory
+ mechanism to create the actual Model MBean instances.
+ </description>
+ <url>http://commons.apache.org/modeler/</url>
+
+ <issueManagement>
+ <system>jira</system>
+ <url>http://issues.apache.org/jira/browse/MODELER</url>
+ </issueManagement>
+
+ <scm>
+ <connection>scm:svn:http://svn.apache.org/repos/asf/commons/proper/modeler/trunk</connection>
+ <developerConnection>scm:svn:https://svn.apache.org/repos/asf/commons/proper/modeler/trunk</developerConnection>
+ <url>http://svn.apache.org/viewvc/commons/proper/modeler/trunk</url>
+ </scm>
+
+ <developers>
+ <developer>
+ <name>Craig McClanahan</name>
+ <id>craigmcc</id>
+ <email>craigmcc at apache.org</email>
+ <organization>Apache</organization>
+ </developer>
+
+ <developer>
+ <name>Yoav Shapira</name>
+ <id>yoavs</id>
+ <email>yoavs at apache.org</email>
+ <organization>Apache</organization>
+ </developer>
+
+ <developer>
+ <name>Bill Barker</name>
+ <id>billbarker</id>
+ <email>billbarker at apache.org</email>
+ <organization>Apache</organization>
+ </developer>
+
+ <developer>
+ <name>Davanum Srinivas</name>
+ <id>dims</id>
+ <email>dims at apache.org</email>
+ <organization>Apache</organization>
+ </developer>
+ </developers>
+
+ <dependencies>
+ <dependency>
+ <groupId>commons-digester</groupId>
+ <artifactId>commons-digester</artifactId>
+ <version>1.4.1</version>
+ </dependency>
+
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging-api</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+
+ <dependency>
+ <groupId>mx4j</groupId>
+ <artifactId>mx4j-jmx</artifactId>
+ <version>2.1.1</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>xml-apis</groupId>
+ <artifactId>xml-apis</artifactId>
+ <version>2.0.2</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>ant</groupId>
+ <artifactId>ant</artifactId>
+ <version>1.5</version>
+ <optional>true</optional>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <sourceDirectory>src/java</sourceDirectory>
+ <testSourceDirectory>src/test</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>NOTICE.txt</include>
+ <include>LICENSE.txt</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/java/org/apache/commons/modeler/ant</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>ant.properties</include>
+ </includes>
+ </resource>
+ <resource>
+ <directory>src/java</directory>
+ <targetPath>META-INF</targetPath>
+ <includes>
+ <include>**/ant.properties</include>
+ <include>**/mbeans-descriptors.dtd</include>
+ </includes>
+ </resource>
+ </resources>
+
+ <testResources>
+ <testResource>
+ <directory>src/test</directory>
+ <filtering>false</filtering>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </testResource>
+ </testResources>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <includes>
+ <include>**/*TestCase.java</include>
+ </includes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <configuration>
+ <descriptors>
+ <descriptor>src/assembly/bin.xml</descriptor>
+ <descriptor>src/assembly/src.xml</descriptor>
+ </descriptors>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <reporting>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-changes-plugin</artifactId>
+ <configuration>
+ <xmlPath>${basedir}/xdocs/changes.xml</xmlPath>
+ <issueLinkTemplate>%URL%/%ISSUE%</issueLinkTemplate>
+ </configuration>
+ <reportSets>
+ <reportSet>
+ <reports>
+ <report>changes-report</report>
+ </reports>
+ </reportSet>
+ </reportSets>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
diff --git a/debian/rules b/debian/rules
index 6f6d5e5..14a8a2c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,9 @@
#!/usr/bin/make -f
-# debian/rules file for libcommons-modeler-java (uses cdbs)
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
-JAVA_HOME_DIRS := /usr/lib/jvm/default-java
-ANT_HOME := /usr/share/ant
+JAVA_HOME := /usr/lib/jvm/default-java
# Additional JARs to add to the class path, either full path or just the
# basename for JARs in /usr/share/java. The ".jar" suffix may also be ommitted
@@ -16,8 +14,8 @@ DEB_ANT_BUILD_TARGET := dist
DEB_ANT_CHECK_TARGET := test
LIBRARY_PACKAGE := commons-modeler
-API_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f2 -d' ' | cut -f1 -d-)
install/lib$(LIBRARY_PACKAGE)-java::
- install -m 644 dist/$(LIBRARY_PACKAGE).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE)-$(API_VERSION).jar
- ln -s $(LIBRARY_PACKAGE)-$(API_VERSION).jar debian/$(cdbs_curpkg)/usr/share/java/$(LIBRARY_PACKAGE).jar
+ mh_installpoms -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION)
+ mh_installjar -plib$(LIBRARY_PACKAGE)-java -e$(DEB_UPSTREAM_VERSION) \
+ -l debian/pom.xml dist/commons-modeler.jar
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libcommons-modeler-java.git
More information about the pkg-java-commits
mailing list