debian/0000755000000000000000000000000012150710040007154 5ustar debian/rules0000755000000000000000000000134611664213570010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 UPVER=$(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1) SKIPTEST=false ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),) SKIPTEST=true endif %: dh $@ override_dh_auto_build: mh_patchpoms -plibtomcat-maven-plugin-java mvn-debian -Dmaven.test.skip=$(SKIPTEST) package override_dh_auto_install: dh_auto_install mh_installpoms -plibtomcat-maven-plugin-java -e$(UPVER) mh_installjar -plibtomcat-maven-plugin-java -l pom.xml \ -j$(UPVER) -e$(UPVER) \ target/tomcat-maven-plugin-$(UPVER).jar override_dh_auto_clean: dh_auto_clean mh_unpatchpoms -plibtomcat-maven-plugin-java mh_clean -rm -rf target/ debian/control0000644000000000000000000000170312150707722010575 0ustar Source: tomcat-maven-plugin Section: java Priority: extra Maintainer: David Paleino Build-Depends: debhelper (>= 7.0.50~) , default-jdk , maven-debian-helper , maven-repo-helper Build-Depends-Indep: libplexus-component-metadata-java , tomcat6-common , libmaven-plugin-tools-java , libsurefire-java Standards-Version: 3.9.2 Homepage: http://mojo.codehaus.org/tomcat-maven-plugin Vcs-Git: git://git.debian.org/collab-maint/tomcat-maven-plugin.git Vcs-Browser: http://git.debian.org/?p=collab-maint/tomcat-maven-plugin.git;a=summary Package: libtomcat-maven-plugin-java Architecture: all Depends: ${misc:Depends} , ${maven:Depends} , libtomcat6-java , libcommons-codec-java , libwagon-java , libplexus-archiver-java , libplexus-classworlds-java , libplexus-utils-java , libmaven2-core-java Description: Tomcat Maven plugin The Tomcat Maven Plugin provides goals to manipulate WAR projects within the Tomcat servlet container. debian/source/0000755000000000000000000000000011664213570010473 5ustar debian/source/format0000644000000000000000000000001411664213570011701 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000164612150707727011057 0ustar tomcat-maven-plugin (1.1-2.1) unstable; urgency=low * Non-maintainer upload. * Fix "Drop build dependency on openjdk-6-jdk": apply patch from Ubuntu / James Page: Transition package to use default java implementation only: - d/control: Drop BD on openjdk-6-jdk. (Closes: #684296) -- gregor herrmann Mon, 27 May 2013 18:54:45 +0200 tomcat-maven-plugin (1.1-2) unstable; urgency=low * Standards-Version bump to 3.9.2, no changes needed * Add missing Build-Depends (Closes: #642836) -- David Paleino Sat, 26 Nov 2011 17:44:34 +0100 tomcat-maven-plugin (1.1-1) unstable; urgency=low * New upstream version * Patches refreshed -- David Paleino Sun, 28 Nov 2010 08:31:15 +0100 tomcat-maven-plugin (1.0-1) unstable; urgency=low * Initial release (Closes: #589725) -- David Paleino Sat, 11 Sep 2010 17:41:20 +0200 debian/maven.rules0000644000000000000000000000055511664213570011362 0ustar org.codehaus.plexus plexus-component-metadata pom s/1\.*/1.0-beta-3.0.7/ s/org.apache.tomcat/commons-dbcp/ s/dbcp/commons-dbcp/ jar s/.*/debian/ s/org.apache.tomcat/javax.servlet/ servlet-api jar s/.*/2.5/ s/org.apache.tomcat/javax.el/ el-api jar s/.*/2.1/ s/org.apache.tomcat/javax.servlet.jsp/ jsp-api jar s/.*/2.1/ maven-surefire-plugin maven-plugin s/.*/2.10/ debian/compat0000644000000000000000000000000211664213570010371 0ustar 7 debian/libtomcat-maven-plugin-java.poms0000644000000000000000000000002411664213570015364 0ustar pom.xml --no-parent debian/patches/0000755000000000000000000000000011664213570010622 5ustar debian/patches/01-fix_source.patch0000644000000000000000000000155611664213570014236 0ustar From: David Paleino Subject: fix FTBFS, the code in 'try' never raises an IOException Forwarded: no --- src/main/java/org/codehaus/mojo/tomcat/AbstractRunMojo.java | 5 ----- 1 file changed, 5 deletions(-) --- tomcat-maven-plugin.orig/src/main/java/org/codehaus/mojo/tomcat/AbstractRunMojo.java +++ tomcat-maven-plugin/src/main/java/org/codehaus/mojo/tomcat/AbstractRunMojo.java @@ -695,11 +695,6 @@ public abstract class AbstractRunMojo // Extract the module unArchiver.extract(); } - catch ( IOException e ) - { - getLog().error( e ); - continue; - } catch ( NoSuchArchiverException e ) { getLog().error( e ); debian/patches/series0000644000000000000000000000004711664213570012040 0ustar 00-fix_build.patch 01-fix_source.patch debian/patches/00-fix_build.patch0000644000000000000000000000161111664213570014024 0ustar From: David Paleino Subject: fix otherwise-unfixable-with-maven.rules pom.xml Forwarded: no --- pom.xml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --- tomcat-maven-plugin.orig/pom.xml +++ tomcat-maven-plugin/pom.xml @@ -157,7 +157,8 @@ org.apache.tomcat jasper-jdt ${tomcat.version} - runtime + system + /usr/share/tomcat6/lib/jasper-jdt.jar org.apache.tomcat @@ -198,7 +199,7 @@ org.codehaus.plexus plexus-component-metadata - 1.5.1 + 1.0-beta-3.0.7 debian/copyright0000644000000000000000000000161511664213570011131 0ustar Format-Specification: http://dep.debian.net/deps/dep5 Files: * Copyright: © 2005-2006, Mark Hobson License: Apache-2.0 Files: debian/* Copyright: © 2010, David Paleino License: Apache-2.0 License: Apache-2.0 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. X-Comment: on Debian systems, the complete text of the Apache version 2.0 license can be found in "/usr/share/common-licenses/Apache-2.0". debian/watch0000644000000000000000000000020511664213570010221 0ustar version=3 http://repo1.maven.org/maven2/org/codehaus/mojo/tomcat-maven-plugin/(\d+.*)/tomcat-maven-plugin-(\d+.*)-source-release.zip