[maven-invoker] 02/17: [svn-inject] Applying Debian modifications to trunk
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jan 18 22:15:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository maven-invoker.
commit e251d0ba979e1aa22ebf4289cc71a7532828a3ca
Author: Ludovic Claude <ludovic.claude at laposte.net>
Date: Thu Jun 11 14:19:46 2009 +0000
[svn-inject] Applying Debian modifications to trunk
---
debian/build.properties | 4 ++++
debian/changelog | 6 ++++++
debian/compat | 1 +
debian/control | 34 ++++++++++++++++++++++++++++++++++
debian/copyright | 22 ++++++++++++++++++++++
debian/libmaven-invoker-java.poms | 1 +
debian/maven-settings.xml | 9 +++++++++
debian/maven.rules | 2 ++
debian/orig-tar.sh | 16 ++++++++++++++++
debian/rules | 27 +++++++++++++++++++++++++++
debian/watch | 4 ++++
11 files changed, 126 insertions(+)
diff --git a/debian/build.properties b/debian/build.properties
new file mode 100644
index 0000000..43828cd
--- /dev/null
+++ b/debian/build.properties
@@ -0,0 +1,4 @@
+javadoc.dir=target/api
+build.directory=target
+maven.test.skip=true
+maven.generate.target=org.codehaus.plexus:plexus-component-metadata:${plexus-component-metadata.version}:generate-metadata
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7a77bb1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+maven-invoker (2.0.10-0ubuntu1~ppa2) jaunty; urgency=low
+
+ * Initial release. (Closes: #XXXX)
+
+ -- Ludovic Claude <ludovic.claude at laposte.net> Tue, 09 Jun 2009 13:42:10 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..1e8b314
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+6
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..0283685
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,34 @@
+Source: maven-invoker
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Ludovic Claude <ludovic.claude at laposte.net>
+Build-Depends: default-jdk, debhelper (>= 6), cdbs
+Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional,
+ junit, libmaven-plugin-tools-java, libplexus-component-metadata-java (>= 1.0~beta3.0.7),
+ libplexus-utils-java
+Standards-Version: 3.8.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-invoker
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-invoker/
+Homepage: http://maven.apache.org/shared/maven-invoker/
+
+Package: libmaven-invoker-java
+Architecture: all
+Depends: ${misc:Depends}, libplexus-utils-java
+Description: Maven Invoker
+ Maven is a software project management and comprehension tool. Based on the
+ concept of a project object model (POM), Maven can manage a project's build,
+ reporting and documentation from a central piece of information.
+ .
+ Maven's primary goal is to allow a developer to comprehend the complete
+ state of a development effort in the shortest period of time. In order to
+ attain this goal there are several areas of concern that Maven attempts
+ to deal with:
+ .
+ * Making the build process easy
+ * Providing a uniform build system
+ * Providing quality project information
+ * Providing guidelines for best practices development
+ * Allowing transparent migration to new features
+ .
+ This packages provides a component to programmatically invoke Maven.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..c3fbc2a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,22 @@
+Format-Specification: http://dep.debian.net/deps/dep5/
+Name: Maven Invoker
+Maintainer: Apache Maven team
+Source: http://maven.apache.org/
+
+Files: *
+Copyright: 2001-2009, The Apache Software Foundation.
+License: Apache-2.0
+
+Files: debian/*
+Copyright: 2009, Ludovic Claude <ludovic.claude at laposte.net>
+License: GPL-3+
+
+License: Apache-2.0
+ On Debian GNU/Linux system you can find the complete text of the
+ Apache 2.0 license in '/usr/share/common-licenses/Apache-2.0'.
+
+License: GPL-3
+ On Debian GNU/Linux system you can find the complete text of the
+ GNU General Public License version 3 license in
+ '/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/libmaven-invoker-java.poms b/debian/libmaven-invoker-java.poms
new file mode 100644
index 0000000..43e746b
--- /dev/null
+++ b/debian/libmaven-invoker-java.poms
@@ -0,0 +1 @@
+pom.xml --no-parent
diff --git a/debian/maven-settings.xml b/debian/maven-settings.xml
new file mode 100644
index 0000000..01f8769
--- /dev/null
+++ b/debian/maven-settings.xml
@@ -0,0 +1,9 @@
+<!--
+ This is a minimal settings.xml that switches maven to offline mode
+ and uses the Debian repo as the local repo.
+-->
+
+<settings>
+ <localRepository>/usr/share/maven-repo</localRepository>
+ <offline>true</offline>
+</settings>
diff --git a/debian/maven.rules b/debian/maven.rules
new file mode 100644
index 0000000..8486979
--- /dev/null
+++ b/debian/maven.rules
@@ -0,0 +1,2 @@
+junit junit jar s/3\..*/3.x/
+
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100644
index 0000000..28a65b5
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,16 @@
+#!/bin/sh -e
+
+TAR=../maven-invoker_$2.orig.tar.gz
+DIR=maven-invoker-$2
+TAG=$(echo maven-invoker-$2 | sed -e's,~,-,')
+
+svn export http://svn.apache.org/repos/asf/maven/shared/tags/$TAG $DIR
+tar -c -z -f $TAR $DIR
+rm -rf $DIR ../$TAG
+
+# move to directory 'tarballs'
+if [ -r .svn/deb-layout ]; then
+ . .svn/deb-layout
+ mv $TAR $origDir
+ echo "moved $TAR to $origDir"
+fi
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..b14189d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,27 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/ant.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/default-java
+# Need to specify the exact version of the Plexus plugin (from plexus-component-metadata package) used here
+PLEXUS_PLUGIN_VERSION:= 1.0-beta-3.0.7
+DEB_JARS := ant-nodeps plexus-utils junit
+DEB_ANT_BUILD_TARGET := package #javadoc
+DEB_ANT_BUILDFILE := /usr/share/maven-ant-helper/maven-build.xml
+DEB_ANT_ARGS := -Dbasedir=$(realpath .) -Dpackage=$(PACKAGE) -Dversion=$(VERSION) -Dplexus-component-metadata.version=$(PLEXUS_PLUGIN_VERSION)
+API_DOCS := target/api
+
+get-orig-source:
+ -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
+
+binary-post-install/lib$(PACKAGE)-java::
+ mh_installpoms -plib$(PACKAGE)-java
+ mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(VERSION).jar
+
+clean::
+ -rm -rf debian/tmp
+
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..f3305f7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+opts=uversionmangle=s{-beta}{~beta} \
+ http://svn.apache.org/repos/asf/maven/shared/tags/ \
+ maven-invoker-(.*)/ debian debian/orig-tar.sh
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-invoker.git
More information about the pkg-java-commits
mailing list