[maven-file-management] 05/21: * New version
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Jul 19 15:38:44 UTC 2017
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-file-management.
commit c5d76e9b3462e4661982d596c1b3a4f67797e75b
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Tue Jul 7 23:41:55 2009 +0000
* New version
---
debian/build.properties | 15 +++++++++++++--
debian/build.xml | 22 +++++++++-------------
debian/changelog | 18 ++++++++++++++++++
debian/control | 14 +++++++-------
debian/copyright | 2 +-
debian/libmaven-file-management-java.poms | 1 +
debian/maven.rules | 1 +
debian/patches/mdo_xsd.patch | 12 ++++++++++++
debian/patches/series | 1 +
debian/rules | 21 ++++++++++++---------
10 files changed, 75 insertions(+), 32 deletions(-)
diff --git a/debian/build.properties b/debian/build.properties
index 56739cc..bb2dd2d 100644
--- a/debian/build.properties
+++ b/debian/build.properties
@@ -1,3 +1,14 @@
-javadoc.dir=build/api
+javadoc.dir=target/api
build.directory=target
-build.outputDirectory=target/classes
+maven.test.skip=true
+classpath.compile=\
+ /usr/share/java/plexus-container-default-alpha.jar:\
+ /usr/share/java/plexus-utils.jar:\
+ /usr/share/java/plexus-classworlds.jar:\
+ /usr/share/java/google-collections.jar:\
+ /usr/share/java/xbean-reflect.jar:\
+ /usr/share/java/maven-core.jar:\
+ /usr/share/java/maven-model.jar:\
+ /usr/share/java/maven-shared-io.jar:\
+ /usr/share/java/maven-plugin-api.jar
+
diff --git a/debian/build.xml b/debian/build.xml
index 230d433..c4f1790 100644
--- a/debian/build.xml
+++ b/debian/build.xml
@@ -3,32 +3,28 @@
<project name="pkg-java" default="package" basedir="..">
<property file="debian/build.properties"/>
- <property name="maven.test.skip" value="true"/>
- <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
<property file="/usr/share/maven-ant-helper/maven-defaults.properties"/>
+ <property name="maven.build.xml" value="/usr/share/maven-ant-helper/maven-build.xml"/>
<target name="clean">
- <ant target="clean" antfile="${maven.build.xml}" dir="."/>
+ <ant target="clean" antfile="${maven.build.xml}" dir=""/>
</target>
<target name="generate-sources">
<taskdef name="modello" classname="ModelloTask"/>
- <modello model="src/main/mdo/fileset.mdo" plugin="xpp3-reader" output="target/generated-sources" version="1.1.0"/>
- <modello model="src/main/mdo/fileset.mdo" plugin="xpp3-writer" output="target/generated-sources" version="1.1.0"/>
- <modello model="src/main/mdo/fileset.mdo" plugin="java" output="target/generated-sources" version="1.1.0"/>
- <modello model="src/main/mdo/fileset.mdo" plugin="xsd" output="target/generated-sources" version="1.1.0"/>
+ <modello model="src/main/mdo/fileset.mdo" plugin="xpp3-reader" output="target/generated-sources" version="1.1.0"/>
+ <modello model="src/main/mdo/fileset.mdo" plugin="xpp3-writer" output="target/generated-sources" version="1.1.0"/>
+ <modello model="src/main/mdo/fileset.mdo" plugin="java" output="target/generated-sources" version="1.1.0"/>
+ <modello model="src/main/mdo/fileset.mdo" plugin="xsd" output="target/generated-sources" version="1.1.0"/>
</target>
<target name="package" depends="generate-sources">
- <ant target="package" antfile="${maven.build.xml}" dir=".">
- <property name="artifactId" value="file-management"/>
+ <ant target="package" antfile="${maven.build.xml}" dir="">
+ <property name="classpath.compile" value="${classpath.compile}" />
</ant>
</target>
<target name="javadoc">
- <javadoc destdir="${javadoc.dir}">
- <packageset dir="src/main/java/"/>
- </javadoc>
+ <ant target="javadoc" antfile="${maven.build.xml}" dir=""/>
</target>
-
</project>
diff --git a/debian/changelog b/debian/changelog
index 03507b5..2b65ac7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,21 @@
+maven-file-management (1.2.1-1) unstable; urgency=low
+
+ * New upstream release, add myself to Uploaders
+ * Change section to java, bump up Standards-Version to 3.8.1
+ * Remove the dependency on default-jre | java2-runtime as this is
+ a library.
+ * Add the Maven POM to the package,
+ * Add a Build-Depends-Indep dependency on maven-repo-helper
+ * Add a Build-Depends on quilt as we need to patch files.mdo to generate
+ the xsd document
+ * Depend on libplexus-container-default-java instead of
+ libplexus-containers-java as the version match
+ * Replace Depend on maven2 by libmaven2-core-java
+ * Use mh_installpom and mh_installjar to install the POM and the jar to the
+ Maven repository
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Tue, 12 May 2009 11:28:04 +0100
+
maven-file-management (1.2-1) unstable; urgency=low
* Initial release. (Closes: #508012)
diff --git a/debian/control b/debian/control
index a2cf949..49ab36c 100644
--- a/debian/control
+++ b/debian/control
@@ -1,21 +1,21 @@
Source: maven-file-management
-Section: devel
+Section: java
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
-Uploaders: Torsten Werner <twerner at debian.org>
-Build-Depends: ant, debhelper (>= 5), cdbs, default-jdk, maven-ant-helper,
+Uploaders: Torsten Werner <twerner at debian.org>, Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: debhelper (>= 5), cdbs, quilt, default-jdk
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional,
libmaven-shared-io-java, libplexus-classworlds-java, libmodello-java,
libgoogle-collections-java, libxbean-java, libplexus-utils-java,
- libplexus-containers-java, maven2
-Standards-Version: 3.8.0
+ libplexus-container-default-java, libmaven2-core-java
+Standards-Version: 3.8.1
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-file-management
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-file-management/
Homepage: http://maven.apache.org/shared/file-management/
Package: libmaven-file-management-java
Architecture: all
-Section: devel
-Depends: ${misc:Depends}, default-jre | java2-runtime, libmaven-shared-io-java,
+Depends: ${misc:Depends}, libmaven2-core-java, libmaven-shared-io-java,
libplexus-classworlds-java, libplexus-containers-java
Description: Maven File Management API
Maven is a software project management and comprehension tool. Based on the
diff --git a/debian/copyright b/debian/copyright
index f6c3d96..006e793 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,7 +3,7 @@ This package was debianized by Torsten Werner <twerner at debian.org>.
The Debian packaging is Copyright (c) 2008 Torsten Werner and is
licensed under the GNU General Public License version 3. On Debian
systems, the complete text of the GNU General Public License can be
-found in '/usr/share/common-licenses/GPL'.
+found in '/usr/share/common-licenses/GPL-3'.
The package was downloaded from <http://maven.apache.org>.
diff --git a/debian/libmaven-file-management-java.poms b/debian/libmaven-file-management-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libmaven-file-management-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..8577380
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1 @@
+junit junit jar s/3\..*/3.x/
diff --git a/debian/patches/mdo_xsd.patch b/debian/patches/mdo_xsd.patch
new file mode 100644
index 0000000..0a5b90a
--- /dev/null
+++ b/debian/patches/mdo_xsd.patch
@@ -0,0 +1,12 @@
+--- a/src/main/mdo/fileset.mdo
++++ b/src/main/mdo/fileset.mdo
+@@ -19,7 +19,8 @@
+ under the License.
+ -->
+
+-<model>
++<model 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/POM/4.0.0.xsd"
++ xml.namespace="http://maven.apache.org/FILE_MANAGEMENT/${version}">
+ <id>fileset</id>
+ <name>FileSet</name>
+ <description>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5e24a17
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+mdo_xsd.patch
diff --git a/debian/rules b/debian/rules
index 710440d..5d0b338 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,20 +2,23 @@
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
-PACKAGE := file-management
-VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/')
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
JAVA_HOME := /usr/lib/jvm/default-java
-DEB_JARS := maven2 maven-shared-io maven-ant-helper plexus-utils \
- plexus-container-default-1.0 plexus-classworlds google-collect xbean-reflect
+DEB_JARS := ant-nodeps maven-ant-helper
DEB_ANT_BUILD_TARGET := package #javadoc
DEB_ANT_BUILDFILE := debian/build.xml
-DEB_ANT_ARGS := -Dversion=$(VERSION)
+DEB_ANT_ARGS := -Dversion=$(VERSION) -Dpackage=$(PACKAGE)
API_DOCS := build/api
get-orig-source:
- uscan --force-download
+ -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-binary-post-install/libmaven-$(PACKAGE)-java::
- dh_install -plibmaven-$(PACKAGE)-java target/$(PACKAGE)-$(VERSION).jar /usr/share/java
- dh_link -plibmaven-$(PACKAGE)-java /usr/share/java/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l pom.xml target/file-management-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-file-management.git
More information about the pkg-java-commits
mailing list