[pkg-java] r7647 - in trunk: . maven-debian-helper maven-debian-helper/cdbs maven-debian-helper/debian maven-debian-helper/debian/maven-debian-helper maven-debian-helper/debian/maven-debian-helper/DEBIAN maven-debian-helper/debian/maven-debian-helper/etc maven-debian-helper/debian/maven-debian-helper/etc/maven2 maven-debian-helper/debian/maven-debian-helper/usr maven-debian-helper/debian/maven-debian-helper/usr/share maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1 maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class maven-debian-helper/debian/maven-debian-helper/usr/share/doc maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1 maven-debian-helper/debian/maven-debian-helper/usr/share/maven2 maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian maven-debian-helper/etc maven-debian-helper/examples maven-debian-helper/src maven-debian-helper/src/main maven-debian-helper/src/main/java maven-debian-helper/src/main/java/org maven-debian-helper/src/main/java/org/debian maven-debian-helper/src/main/java/org/debian/maven maven-debian-helper/src/main/resources maven-debian-helper/src/main/resources/org maven-debian-helper/src/main/resources/org/apache maven-debian-helper/src/main/resources/org/apache/maven maven-debian-helper/src/main/resources/org/apache/maven/project maven-debian-helper/target maven-debian-helper/target/classes maven-debian-helper/target/classes/org maven-debian-helper/target/classes/org/apache maven-debian-helper/target/classes/org/apache/maven maven-debian-helper/target/classes/org/apache/maven/project maven-debian-helper/target/classes/org/debian maven-debian-helper/target/classes/org/debian/maven maven-debian-helper/target/maven-archiver
twerner at alioth.debian.org
twerner at alioth.debian.org
Thu Dec 11 21:59:20 UTC 2008
Author: twerner
Date: 2008-12-11 21:59:20 +0000 (Thu, 11 Dec 2008)
New Revision: 7647
Added:
trunk/maven-debian-helper/
trunk/maven-debian-helper/cdbs/
trunk/maven-debian-helper/cdbs/maven-vars.mk
trunk/maven-debian-helper/cdbs/maven.mk
trunk/maven-debian-helper/debian/
trunk/maven-debian-helper/debian/changelog
trunk/maven-debian-helper/debian/compat
trunk/maven-debian-helper/debian/control
trunk/maven-debian-helper/debian/copyright
trunk/maven-debian-helper/debian/files
trunk/maven-debian-helper/debian/install
trunk/maven-debian-helper/debian/maven-debian-helper.debhelper.log
trunk/maven-debian-helper/debian/maven-debian-helper/
trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/
trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/conffiles
trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/control
trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/md5sums
trunk/maven-debian-helper/debian/maven-debian-helper/etc/
trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/
trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/m2-debian.conf
trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/settings-debian.xml
trunk/maven-debian-helper/debian/maven-debian-helper/usr/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven-vars.mk
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven.mk
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/changelog.gz
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/copyright
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.jar
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.pom
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/
trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/maven-debian-helper.jar
trunk/maven-debian-helper/debian/rules
trunk/maven-debian-helper/debian/stamp-maven-build
trunk/maven-debian-helper/etc/
trunk/maven-debian-helper/etc/m2-debian.conf
trunk/maven-debian-helper/etc/settings-debian.xml
trunk/maven-debian-helper/examples/
trunk/maven-debian-helper/examples/mvn-debian.sh
trunk/maven-debian-helper/pom.xml
trunk/maven-debian-helper/src/
trunk/maven-debian-helper/src/main/
trunk/maven-debian-helper/src/main/java/
trunk/maven-debian-helper/src/main/java/org/
trunk/maven-debian-helper/src/main/java/org/debian/
trunk/maven-debian-helper/src/main/java/org/debian/maven/
trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
trunk/maven-debian-helper/src/main/resources/
trunk/maven-debian-helper/src/main/resources/org/
trunk/maven-debian-helper/src/main/resources/org/apache/
trunk/maven-debian-helper/src/main/resources/org/apache/maven/
trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/
trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
trunk/maven-debian-helper/target/
trunk/maven-debian-helper/target/classes/
trunk/maven-debian-helper/target/classes/org/
trunk/maven-debian-helper/target/classes/org/apache/
trunk/maven-debian-helper/target/classes/org/apache/maven/
trunk/maven-debian-helper/target/classes/org/apache/maven/project/
trunk/maven-debian-helper/target/classes/org/apache/maven/project/pom-4.0.0.xml
trunk/maven-debian-helper/target/classes/org/debian/
trunk/maven-debian-helper/target/classes/org/debian/maven/
trunk/maven-debian-helper/target/classes/org/debian/maven/Wrapper.class
trunk/maven-debian-helper/target/maven-archiver/
trunk/maven-debian-helper/target/maven-archiver/pom.properties
trunk/maven-debian-helper/target/maven-debian-helper-0.1.jar
Log:
new package maven-debian-helper
Added: trunk/maven-debian-helper/cdbs/maven-vars.mk
===================================================================
--- trunk/maven-debian-helper/cdbs/maven-vars.mk (rev 0)
+++ trunk/maven-debian-helper/cdbs/maven-vars.mk 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,89 @@
+# This file is based on ant-vars.mk
+
+# Copyright © 2003 Stefan Gybas <sgybas at debian.org>
+# Copyright © 2008 Torsten Werner <twerner at debian.org>
+# Description: Defines useful variables for packages which use Maven
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_maven_vars
+_cdbs_class_maven_vars = 1
+
+# Maven home directory. Doesn't need to be changed except when using
+# nonstandard Maven installations.
+MAVEN_HOME = /usr/share/maven2
+
+# The home directory of the Java Runtime Environment (JRE) or Java Development
+# Kit (JDK). You can either directly set JAVA_HOME in debian/rules or set
+# JAVA_HOME_DIRS to multiple possible home directories. The first existing
+# directory from this list is used for JAVA_HOME. You can also override
+# JAVACMD in case you don't want to use the default JAVA_HOME/bin/java.
+JAVA_HOME = $(shell for jh in $(JAVA_HOME_DIRS); do if [ -x "$$jh/bin/java" ]; then \
+ echo $${jh}; exit 0; fi; done)
+JAVACMD = $(JAVA_HOME)/bin/java
+
+# You can list all Java ARchives (JARs) to be added to the class path in
+# DEB_JARS, either with their full path or just the basename if the JAR is
+# in /usr/share/java. You may also ommit the ".jar" extension. Non-existing
+# files will silently be ignored. tools.jar is automatically added to the
+# end of the class path if it exists in the JDK's lib directory.
+# You can override the complete class path using DEB_CLASSPATH.
+DEB_JARS_BASE = /usr/share/java
+DEB_CLASSPATH = $(MAVEN_HOME)/boot/classworlds.jar:$(shell for jar in $(DEB_JARS); do \
+ if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
+ if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \
+ if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \
+ if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \
+ done; \
+ if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
+
+# Extra arguments for the Maven command line.
+# TODO: DOES NOT WORK YET BECAUSE IT NEEDS PATCHING MAVEN!!!
+DEB_MAVEN_ARGS =
+
+# Property file for Maven, defaults to debian/maven.properties if it exists.
+# You may define additional properties. Please note that command-line
+# arguments in MAVEN_ARGS (see below) override the settings in pom.xml and
+# the property file.
+DEB_MAVEN_PROPERTYFILE = $(shell test -f $(CURDIR)/debian/maven.properties && echo $(CURDIR)/debian/maven.properties)
+
+# You can specify additional JVM arguments in MAVEN_OPTS and Maven
+# command-line arguments in MAVEN_ARGS. You can additionally define
+# MAVEN_ARGS_<package> for each individual package.
+DEB_MAVEN_INVOKE = cd $(DEB_BUILDDIR) && $(JAVACMD) -classpath $(DEB_CLASSPATH) \
+ $(MAVEN_OPTS) -Dclassworlds.conf=/etc/maven2/m2-debian.conf \
+ -Dmaven.home=$(MAVEN_HOME) \
+ org.codehaus.classworlds.Launcher $(DEB_MAVEN_ARGS) \
+ -s/etc/maven2/settings-debian.xml \
+ $(if $(MAVEN_ARGS_$(cdbs_curpkg)),$(MAVEN_ARGS_$(cdbs_curpkg)),$(MAVEN_ARGS))
+
+# TODO: DOES NOT WORK YET
+# $(if $(DEB_MAVEN_PROPERTYFILE),-propertyfile $(DEB_MAVEN_PROPERTYFILE),)
+
+# Targets to invoke for building, installing, testing and cleaning up.
+# Building uses the default target from build.xml, installing and testing is
+# only called if the corresponding variable is set. You can also specify
+# multiple targets for each step.
+DEB_MAVEN_BUILD_TARGET = compile jar:jar # TODO: should be 'package'
+DEB_MAVEN_INSTALL_TARGET =
+DEB_MAVEN_CHECK_TARGET =
+DEB_MAVEN_CLEAN_TARGET = clean
+
+endif
Added: trunk/maven-debian-helper/cdbs/maven.mk
===================================================================
--- trunk/maven-debian-helper/cdbs/maven.mk (rev 0)
+++ trunk/maven-debian-helper/cdbs/maven.mk 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,71 @@
+# This file is based on ant.mk
+# revision: 2
+
+# Copyright © 2003 Stefan Gybas <sgybas at debian.org>
+# Copyright © 2008 Torsten Werner <twerner at debian.org>
+# Description: Builds and cleans packages which have an Maven pom.xml file
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_maven
+_cdbs_class_maven = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+include $(_cdbs_class_path)/maven-vars.mk$(_cdbs_makefile_suffix)
+
+DEB_REPO := /usr/share/maven-repo
+
+DEB_PHONY_RULES += maven-sanity-check
+
+maven-sanity-check:
+ @if ! test -x "$(JAVACMD)"; then \
+ echo "You must specify a valid JAVA_HOME or JAVACMD!"; \
+ exit 1; \
+ fi
+ @if ! test -r "$(MAVEN_HOME)/boot/classworlds.jar"; then \
+ echo "You must specify a valid MAVEN_HOME directory!"; \
+ exit 1; \
+ fi
+
+
+common-build-arch common-build-indep:: debian/stamp-maven-build maven-sanity-check
+debian/stamp-maven-build:
+ $(DEB_MAVEN_INVOKE) $(DEB_MAVEN_BUILD_TARGET)
+ touch $@
+
+cleanbuilddir:: maven-sanity-check apply-patches
+ -$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_CLEAN_TARGET)
+ $(RM) debian/stamp-maven-build
+
+common-install-arch common-install-indep:: common-install-impl
+common-install-impl::
+ $(if $(DEB_MAVEN_INSTALL_TARGET),$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_INSTALL_TARGET), at echo "DEB_MAVEN_INSTALL_TARGET unset, skipping default maven.mk common-install target")
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+common-build-arch common-build-indep:: debian/stamp-maven-check
+debian/stamp-maven-check: debian/stamp-maven-build
+ $(if $(DEB_MAVEN_CHECK_TARGET),$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_CHECK_TARGET), at echo "DEB_MAVEN_CHECK_TARGET unset, not running checks")
+ $(if $(DEB_MAVEN_CHECK_TARGET),touch $@)
+
+clean::
+ $(if $(DEB_MAVEN_CHECK_TARGET),$(RM) debian/stamp-maven-check)
+endif
+
+endif
Added: trunk/maven-debian-helper/debian/changelog
===================================================================
--- trunk/maven-debian-helper/debian/changelog (rev 0)
+++ trunk/maven-debian-helper/debian/changelog 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,5 @@
+maven-debian-helper (0.1) unstable; urgency=low
+
+ * Initial release. (Closes: #xxxxxx)
+
+ -- Torsten Werner <twerner at debian.org> Thu, 11 Dec 2008 20:06:35 +0100
Added: trunk/maven-debian-helper/debian/compat
===================================================================
--- trunk/maven-debian-helper/debian/compat (rev 0)
+++ trunk/maven-debian-helper/debian/compat 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1 @@
+5
Added: trunk/maven-debian-helper/debian/control
===================================================================
--- trunk/maven-debian-helper/debian/control (rev 0)
+++ trunk/maven-debian-helper/debian/control 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,33 @@
+Source: maven-debian-helper
+Section: libs
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Torsten Werner <twerner at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), openjdk-6-jdk, maven-debian-helper
+Standards-Version: 3.8.0
+Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-debian-helper
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-debian-helper/
+Homepage: http://wiki.debian.org/Java/MavenBuilder
+
+Package: maven-debian-helper
+Architecture: all
+Depends: ${misc:Depends}, openjdk-6-jre | java2-runtime,
+ libmaven-clean-plugin-java, libmaven-resources-plugin-java,
+ libmaven-compiler-plugin-java, libmaven-jar-plugin-java
+Description: Helper tools for building Debian packages with Maven
+ 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 package makes it possible to use Maven for building Debian packages.
Added: trunk/maven-debian-helper/debian/copyright
===================================================================
--- trunk/maven-debian-helper/debian/copyright (rev 0)
+++ trunk/maven-debian-helper/debian/copyright 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,20 @@
+This package was created by Torsten Werner<twerner at debian.org>.
+
+Copyright: 2008 Torsten Werner <twerner at debian.org>
+
+License:
+
+ Licensed 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.
+
+The full text of the license can be found in
+'/usr/share/common-licenses/Apache-2.0'.
Added: trunk/maven-debian-helper/debian/files
===================================================================
--- trunk/maven-debian-helper/debian/files (rev 0)
+++ trunk/maven-debian-helper/debian/files 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1 @@
+maven-debian-helper_0.1_all.deb libs optional
Added: trunk/maven-debian-helper/debian/install
===================================================================
--- trunk/maven-debian-helper/debian/install (rev 0)
+++ trunk/maven-debian-helper/debian/install 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,2 @@
+cdbs/* /usr/share/cdbs/1/class/
+etc/* /etc/maven2/
Added: trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/conffiles
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/conffiles (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/conffiles 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,2 @@
+/etc/maven2/m2-debian.conf
+/etc/maven2/settings-debian.xml
Added: trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/control
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/control (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/control 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,26 @@
+Package: maven-debian-helper
+Version: 0.1
+Architecture: all
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Installed-Size: 240
+Depends: openjdk-6-jre | java2-runtime, libmaven-clean-plugin-java, libmaven-resources-plugin-java, libmaven-compiler-plugin-java, libmaven-jar-plugin-java
+Section: libs
+Priority: optional
+Homepage: http://wiki.debian.org/Java/MavenBuilder
+Description: Helper tools for building Debian packages with Maven
+ 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 package makes it possible to use Maven for building Debian packages.
Added: trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/md5sums
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/md5sums (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/DEBIAN/md5sums 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,6 @@
+803df133d18c612b1e2f655d585cb093 usr/share/doc/maven-debian-helper/copyright
+397eabfd33164dba866e1e922b46e870 usr/share/doc/maven-debian-helper/changelog.gz
+6ec78b30203af40b25afcc7653356a3e usr/share/cdbs/1/class/maven-vars.mk
+4183a6a76a749a46a6c2faddfd1d50ed usr/share/cdbs/1/class/maven.mk
+6d81b5cd0ab23e528499b24300f10ce8 usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.jar
+ad0b0f3b5215d0a9357e7b16dc1c0f0e usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.pom
Added: trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/m2-debian.conf
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/m2-debian.conf (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/m2-debian.conf 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,7 @@
+main is org.debian.maven.Wrapper from debian
+
+set maven.home default /usr/share/maven2
+
+[debian]
+load ${maven.home}/debian/*.jar
+load ${maven.home}/lib/*.jar
Added: trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/settings-debian.xml
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/settings-debian.xml (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/etc/maven2/settings-debian.xml 2008-12-11 21:59:20 UTC (rev 7647)
@@ -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>
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven-vars.mk
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven-vars.mk (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven-vars.mk 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,89 @@
+# This file is based on ant-vars.mk
+
+# Copyright © 2003 Stefan Gybas <sgybas at debian.org>
+# Copyright © 2008 Torsten Werner <twerner at debian.org>
+# Description: Defines useful variables for packages which use Maven
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_maven_vars
+_cdbs_class_maven_vars = 1
+
+# Maven home directory. Doesn't need to be changed except when using
+# nonstandard Maven installations.
+MAVEN_HOME = /usr/share/maven2
+
+# The home directory of the Java Runtime Environment (JRE) or Java Development
+# Kit (JDK). You can either directly set JAVA_HOME in debian/rules or set
+# JAVA_HOME_DIRS to multiple possible home directories. The first existing
+# directory from this list is used for JAVA_HOME. You can also override
+# JAVACMD in case you don't want to use the default JAVA_HOME/bin/java.
+JAVA_HOME = $(shell for jh in $(JAVA_HOME_DIRS); do if [ -x "$$jh/bin/java" ]; then \
+ echo $${jh}; exit 0; fi; done)
+JAVACMD = $(JAVA_HOME)/bin/java
+
+# You can list all Java ARchives (JARs) to be added to the class path in
+# DEB_JARS, either with their full path or just the basename if the JAR is
+# in /usr/share/java. You may also ommit the ".jar" extension. Non-existing
+# files will silently be ignored. tools.jar is automatically added to the
+# end of the class path if it exists in the JDK's lib directory.
+# You can override the complete class path using DEB_CLASSPATH.
+DEB_JARS_BASE = /usr/share/java
+DEB_CLASSPATH = $(MAVEN_HOME)/boot/classworlds.jar:$(shell for jar in $(DEB_JARS); do \
+ if [ -f "$$jar" ]; then echo -n "$${jar}:"; fi; \
+ if [ -f "$$jar".jar ]; then echo -n "$${jar}.jar:"; fi; \
+ if [ -f $(DEB_JARS_BASE)/"$$jar" ]; then echo -n "$(DEB_JARS_BASE)/$${jar}:"; fi; \
+ if [ -f $(DEB_JARS_BASE)/"$$jar".jar ]; then echo -n "$(DEB_JARS_BASE)/$${jar}.jar:"; fi; \
+ done; \
+ if [ -f "$(JAVA_HOME)/lib/tools.jar" ]; then echo -n "$(JAVA_HOME)/lib/tools.jar"; fi)
+
+# Extra arguments for the Maven command line.
+# TODO: DOES NOT WORK YET BECAUSE IT NEEDS PATCHING MAVEN!!!
+DEB_MAVEN_ARGS =
+
+# Property file for Maven, defaults to debian/maven.properties if it exists.
+# You may define additional properties. Please note that command-line
+# arguments in MAVEN_ARGS (see below) override the settings in pom.xml and
+# the property file.
+DEB_MAVEN_PROPERTYFILE = $(shell test -f $(CURDIR)/debian/maven.properties && echo $(CURDIR)/debian/maven.properties)
+
+# You can specify additional JVM arguments in MAVEN_OPTS and Maven
+# command-line arguments in MAVEN_ARGS. You can additionally define
+# MAVEN_ARGS_<package> for each individual package.
+DEB_MAVEN_INVOKE = cd $(DEB_BUILDDIR) && $(JAVACMD) -classpath $(DEB_CLASSPATH) \
+ $(MAVEN_OPTS) -Dclassworlds.conf=/etc/maven2/m2-debian.conf \
+ -Dmaven.home=$(MAVEN_HOME) \
+ org.codehaus.classworlds.Launcher $(DEB_MAVEN_ARGS) \
+ -s/etc/maven2/settings-debian.xml \
+ $(if $(MAVEN_ARGS_$(cdbs_curpkg)),$(MAVEN_ARGS_$(cdbs_curpkg)),$(MAVEN_ARGS))
+
+# TODO: DOES NOT WORK YET
+# $(if $(DEB_MAVEN_PROPERTYFILE),-propertyfile $(DEB_MAVEN_PROPERTYFILE),)
+
+# Targets to invoke for building, installing, testing and cleaning up.
+# Building uses the default target from build.xml, installing and testing is
+# only called if the corresponding variable is set. You can also specify
+# multiple targets for each step.
+DEB_MAVEN_BUILD_TARGET = compile jar:jar # TODO: should be 'package'
+DEB_MAVEN_INSTALL_TARGET =
+DEB_MAVEN_CHECK_TARGET =
+DEB_MAVEN_CLEAN_TARGET = clean
+
+endif
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven.mk
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven.mk (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/cdbs/1/class/maven.mk 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,71 @@
+# This file is based on ant.mk
+# revision: 1
+
+# Copyright © 2003 Stefan Gybas <sgybas at debian.org>
+# Copyright © 2008 Torsten Werner <twerner at debian.org>
+# Description: Builds and cleans packages which have an Maven pom.xml file
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+
+ifndef _cdbs_class_maven
+_cdbs_class_maven = 1
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+include $(_cdbs_class_path)/maven-vars.mk$(_cdbs_makefile_suffix)
+
+DEB_REPO := /usr/share/maven-repo
+
+DEB_PHONY_RULES += maven-sanity-check
+
+maven-sanity-check:
+ @if ! test -x "$(JAVACMD)"; then \
+ echo "You must specify a valid JAVA_HOME or JAVACMD!"; \
+ exit 1; \
+ fi
+ @if ! test -r "$(MAVEN_HOME)/boot/classworlds.jar"; then \
+ echo "You must specify a valid MAVEN_HOME directory!"; \
+ exit 1; \
+ fi
+
+
+common-build-arch common-build-indep:: debian/stamp-maven-build maven-sanity-check
+debian/stamp-maven-build:
+ $(DEB_MAVEN_INVOKE) $(DEB_MAVEN_BUILD_TARGET)
+ touch $@
+
+cleanbuilddir:: maven-sanity-check apply-patches
+ -$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_CLEAN_TARGET)
+ $(RM) debian/stamp-maven-build
+
+common-install-arch common-install-indep:: common-install-impl
+common-install-impl::
+ $(if $(DEB_MAVEN_INSTALL_TARGET),$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_INSTALL_TARGET), at echo "DEB_MAVEN_INSTALL_TARGET unset, skipping default maven.mk common-install target")
+
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+common-build-arch common-build-indep:: debian/stamp-maven-check
+debian/stamp-maven-check: debian/stamp-maven-build
+ $(if $(DEB_MAVEN_CHECK_TARGET),$(DEB_MAVEN_INVOKE) $(DEB_MAVEN_CHECK_TARGET), at echo "DEB_MAVEN_CHECK_TARGET unset, not running checks")
+ $(if $(DEB_MAVEN_CHECK_TARGET),touch $@)
+
+clean::
+ $(if $(DEB_MAVEN_CHECK_TARGET),$(RM) debian/stamp-maven-check)
+endif
+
+endif
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/changelog.gz
===================================================================
(Binary files differ)
Property changes on: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/changelog.gz
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/copyright
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/copyright (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/doc/maven-debian-helper/copyright 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,20 @@
+This package was created by Torsten Werner<twerner at debian.org>.
+
+Copyright: 2008 Torsten Werner <twerner at debian.org>
+
+License:
+
+ Licensed 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.
+
+The full text of the license can be found in
+'/usr/share/common-licenses/Apache-2.0'.
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.pom
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.pom (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.pom 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,26 @@
+<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.debian.maven</groupId>
+ <artifactId>maven-debian-helper</artifactId>
+ <version>0.1</version>
+ <packaging>jar</packaging>
+ <name>helper tools for using Maven to build Debian packages</name>
+ <dependencies>
+ <dependency>
+ <groupId>classworlds</groupId>
+ <artifactId>classworlds</artifactId>
+ <version>1.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/classworlds.jar</systemPath>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>2.0.9</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/maven2.jar</systemPath>
+ </dependency>
+ </dependencies>
+
+</project>
Added: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/maven-debian-helper.jar
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/maven-debian-helper.jar (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/maven-debian-helper.jar 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1 @@
+link ../../maven-repo/org/debian/maven/maven-debian-helper/0.1/maven-debian-helper-0.1.jar
\ No newline at end of file
Property changes on: trunk/maven-debian-helper/debian/maven-debian-helper/usr/share/maven2/debian/maven-debian-helper.jar
___________________________________________________________________
Name: svn:special
+ *
Added: trunk/maven-debian-helper/debian/maven-debian-helper.debhelper.log
===================================================================
--- trunk/maven-debian-helper/debian/maven-debian-helper.debhelper.log (rev 0)
+++ trunk/maven-debian-helper/debian/maven-debian-helper.debhelper.log 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,33 @@
+dh_installdirs
+dh_installdirs
+dh_installdocs
+dh_installexamples
+dh_installman
+dh_installinfo
+dh_installmenu
+dh_installcron
+dh_installinit
+dh_installdebconf
+dh_installemacsen
+dh_installcatalogs
+dh_installpam
+dh_installlogrotate
+dh_installlogcheck
+dh_installchangelogs
+dh_installudev
+dh_lintian
+dh_install
+dh_link
+dh_installmime
+dh_install
+dh_link
+dh_strip
+dh_compress
+dh_fixperms
+dh_makeshlibs
+dh_installdeb
+dh_perl
+dh_shlibdeps
+dh_gencontrol
+dh_md5sums
+dh_builddeb
Added: trunk/maven-debian-helper/debian/rules
===================================================================
--- trunk/maven-debian-helper/debian/rules (rev 0)
+++ trunk/maven-debian-helper/debian/rules 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,15 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/maven.mk
+
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+VERSION := $(DEB_UPSTREAM_VERSION)
+JAVA_HOME := /usr/lib/jvm/java-6-openjdk
+
+DEST := $(DEB_REPO)/org/debian/maven/$(PACKAGE)/$(VERSION)
+
+binary-post-install/$(PACKAGE)::
+ dh_install target/*.jar $(DEST)/
+ install -m644 pom.xml $(DEB_DESTDIR)$(DEST)/$(PACKAGE)-$(VERSION).pom
+ dh_link $(DEST)/$(PACKAGE)-$(VERSION).jar /usr/share/maven2/debian/$(PACKAGE).jar
Property changes on: trunk/maven-debian-helper/debian/rules
___________________________________________________________________
Name: svn:executable
+
Added: trunk/maven-debian-helper/debian/stamp-maven-build
===================================================================
Added: trunk/maven-debian-helper/etc/m2-debian.conf
===================================================================
--- trunk/maven-debian-helper/etc/m2-debian.conf (rev 0)
+++ trunk/maven-debian-helper/etc/m2-debian.conf 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,7 @@
+main is org.debian.maven.Wrapper from debian
+
+set maven.home default /usr/share/maven2
+
+[debian]
+load ${maven.home}/debian/*.jar
+load ${maven.home}/lib/*.jar
Added: trunk/maven-debian-helper/etc/settings-debian.xml
===================================================================
--- trunk/maven-debian-helper/etc/settings-debian.xml (rev 0)
+++ trunk/maven-debian-helper/etc/settings-debian.xml 2008-12-11 21:59:20 UTC (rev 7647)
@@ -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>
Added: trunk/maven-debian-helper/examples/mvn-debian.sh
===================================================================
--- trunk/maven-debian-helper/examples/mvn-debian.sh (rev 0)
+++ trunk/maven-debian-helper/examples/mvn-debian.sh 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+exec java -cp /usr/share/java/classworlds.jar:/usr/share/java/debian-maven-boot.jar \
+ -Dclassworlds.conf=/etc/maven2/m2-offline.conf \
+ -Dproperties.file.manual=debian/maven.properties \
+ -Dproperties.file.auto=debian/auto.properties \
+ org.debian.maven.Wrapper "$@"
Property changes on: trunk/maven-debian-helper/examples/mvn-debian.sh
___________________________________________________________________
Name: svn:executable
+
Added: trunk/maven-debian-helper/pom.xml
===================================================================
--- trunk/maven-debian-helper/pom.xml (rev 0)
+++ trunk/maven-debian-helper/pom.xml 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,26 @@
+<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.debian.maven</groupId>
+ <artifactId>maven-debian-helper</artifactId>
+ <version>0.1</version>
+ <packaging>jar</packaging>
+ <name>helper tools for using Maven to build Debian packages</name>
+ <dependencies>
+ <dependency>
+ <groupId>classworlds</groupId>
+ <artifactId>classworlds</artifactId>
+ <version>1.1</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/classworlds.jar</systemPath>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core</artifactId>
+ <version>2.0.9</version>
+ <scope>system</scope>
+ <systemPath>/usr/share/java/maven2.jar</systemPath>
+ </dependency>
+ </dependencies>
+
+</project>
Added: trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java
===================================================================
--- trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java (rev 0)
+++ trunk/maven-debian-helper/src/main/java/org/debian/maven/Wrapper.java 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,39 @@
+package org.debian.maven;
+
+import java.io.FileInputStream;
+import java.io.IOException;
+import java.util.Properties;
+import org.apache.maven.cli.MavenCli;
+import org.codehaus.classworlds.ClassWorld;
+
+public class Wrapper
+{
+ /* Opens the filename specified by property 'key' and adds its content to
+ * the properties.
+ */
+ public static void loadProperties(Properties properties, String key) throws IOException
+ {
+ String filename = properties.getProperty(key);
+ if (filename != null)
+ {
+ properties.load(new FileInputStream(filename));
+ }
+ }
+
+ /* Add more properties to the system properties. The files specified
+ * by 'properties.file.auto' and 'properties.file.manual' are read.
+ */
+ public static void updateSystemProperties() throws IOException
+ {
+ Properties systemproperties = System.getProperties();
+ loadProperties(systemproperties, "properties.file.auto");
+ loadProperties(systemproperties, "properties.file.manual");
+ System.setProperties(systemproperties);
+ }
+
+ public static void main(String[] args, ClassWorld classWorld) throws IOException
+ {
+ updateSystemProperties();
+ MavenCli.main(args, classWorld);
+ }
+}
Added: trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml
===================================================================
--- trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml (rev 0)
+++ trunk/maven-debian-helper/src/main/resources/org/apache/maven/project/pom-4.0.0.xml 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,214 @@
+<!--
+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.
+-->
+
+<!-- START SNIPPET: superpom -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <name>Maven Default Project</name>
+
+ <repositories>
+ <repository>
+ <id>central</id>
+ <name>Maven Repository Switchboard</name>
+ <layout>default</layout>
+ <url>http://repo1.maven.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>central</id>
+ <name>Maven Plugin Repository</name>
+ <url>http://repo1.maven.org/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <properties>
+ <org.apache.maven.plugins.maven-resources-plugin.version>
+ 2.3
+ </org.apache.maven.plugins.maven-resources-plugin.version>
+ </properties>
+
+ <build>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <finalName>${project.artifactId}-${project.version}</finalName>
+ <testOutputDirectory>target/test-classes</testOutputDirectory>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
+ <testSourceDirectory>src/test/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>2.4.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-rar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-resources-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-6</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1-alpha-1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <outputDirectory>target/site</outputDirectory>
+ </reporting>
+ <profiles>
+ <profile>
+ <id>release-profile</id>
+
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <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>
+ <inherited>true</inherited>
+ <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>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
+ <!-- END SNIPPET: superpom -->
Added: trunk/maven-debian-helper/target/classes/org/apache/maven/project/pom-4.0.0.xml
===================================================================
--- trunk/maven-debian-helper/target/classes/org/apache/maven/project/pom-4.0.0.xml (rev 0)
+++ trunk/maven-debian-helper/target/classes/org/apache/maven/project/pom-4.0.0.xml 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,214 @@
+<!--
+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.
+-->
+
+<!-- START SNIPPET: superpom -->
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <name>Maven Default Project</name>
+
+ <repositories>
+ <repository>
+ <id>central</id>
+ <name>Maven Repository Switchboard</name>
+ <layout>default</layout>
+ <url>http://repo1.maven.org/maven2</url>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ </repositories>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <id>central</id>
+ <name>Maven Plugin Repository</name>
+ <url>http://repo1.maven.org/maven2</url>
+ <layout>default</layout>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <releases>
+ <updatePolicy>never</updatePolicy>
+ </releases>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <properties>
+ <org.apache.maven.plugins.maven-resources-plugin.version>
+ 2.3
+ </org.apache.maven.plugins.maven-resources-plugin.version>
+ </properties>
+
+ <build>
+ <directory>target</directory>
+ <outputDirectory>target/classes</outputDirectory>
+ <finalName>${project.artifactId}-${project.version}</finalName>
+ <testOutputDirectory>target/test-classes</testOutputDirectory>
+ <sourceDirectory>src/main/java</sourceDirectory>
+ <scriptSourceDirectory>src/main/scripts</scriptSourceDirectory>
+ <testSourceDirectory>src/test/java</testSourceDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ </resource>
+ </resources>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ </testResource>
+ </testResources>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <version>2.3</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ear-plugin</artifactId>
+ <version>2.3.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-ejb-plugin</artifactId>
+ <version>2.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-install-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>2.4.1</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-rar-plugin</artifactId>
+ <version>2.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.0-beta-7</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>${org.apache.maven.plugins.maven-resources-plugin.version}</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>2.0-beta-6</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.0.4</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <version>2.4.2</version>
+ </plugin>
+ <plugin>
+ <artifactId>maven-war-plugin</artifactId>
+ <version>2.1-alpha-1</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <reporting>
+ <outputDirectory>target/site</outputDirectory>
+ </reporting>
+ <profiles>
+ <profile>
+ <id>release-profile</id>
+
+ <activation>
+ <property>
+ <name>performRelease</name>
+ <value>true</value>
+ </property>
+ </activation>
+
+ <build>
+ <plugins>
+ <plugin>
+ <inherited>true</inherited>
+ <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>
+ <inherited>true</inherited>
+ <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>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
+</project>
+ <!-- END SNIPPET: superpom -->
Added: trunk/maven-debian-helper/target/classes/org/debian/maven/Wrapper.class
===================================================================
(Binary files differ)
Property changes on: trunk/maven-debian-helper/target/classes/org/debian/maven/Wrapper.class
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/maven-debian-helper/target/maven-archiver/pom.properties
===================================================================
--- trunk/maven-debian-helper/target/maven-archiver/pom.properties (rev 0)
+++ trunk/maven-debian-helper/target/maven-archiver/pom.properties 2008-12-11 21:59:20 UTC (rev 7647)
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Thu Dec 11 22:51:10 CET 2008
+version=0.1
+groupId=org.debian.maven
+artifactId=maven-debian-helper
Added: trunk/maven-debian-helper/target/maven-debian-helper-0.1.jar
===================================================================
(Binary files differ)
Property changes on: trunk/maven-debian-helper/target/maven-debian-helper-0.1.jar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
More information about the pkg-java-commits
mailing list