debian/0000775000000000000000000000000012160202553007164 5ustar debian/maven.rules0000664000000000000000000000202712160202135011343 0ustar # Maven rules - transform Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ junit junit jar s/3\..*/3.x/ * * org.codehaus.plexus plexus-container-default jar s/1\.0-alpha.*/1.0-alpha/ * * s/ant/org.apache.ant/ * * s/.*/debian/ * * asm * * s/3\..*/3.x/ * * debian/rules0000775000000000000000000000201512160202135010236 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk #binary-post-install/lib$(PACKAGE)-java:: # mh_installpoms -plib$(PACKAGE)-java # mh_installjar -plib$(PACKAGE)-java -l pom.xml target/$(PACKAGE)-$(VERSION).jar DEB_MAVEN_DOC_TARGET := javadoc:jar javadoc:aggregate DEB_MAVEN_BUILD_TARGET := install clean:: mh_clean -rm mvn-build -rm -r debian/null JAVA_HOME := /usr/lib/jvm/default-java # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source PACKAGE = animal-sniffer-parent SRC_VERSION := 1.6 TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export https://svn.codehaus.org/mojo/tags/animal-sniffer-parent-$(SRC_VERSION)/ \ get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" debian/changelog0000664000000000000000000000216112160202523011033 0ustar animal-sniffer (1.7-2ubuntu1) saucy; urgency=low * debian/control: Build-depend on libbackport-util-concurrent-java to fix FTBFS. -- Logan Rosen Tue, 18 Jun 2013 21:08:14 -0400 animal-sniffer (1.7-2) unstable; urgency=low * Team upload. * Merge fixes FTBFS with no network proposed by Micah Gersten: - Add a maven build target of install so that jars are deployed into the local maven repository during the build process (Thanks to James Page) (Closes: #643491). - Add libmaven-install-plugin-java to Build-Depends-Indep; Needed for above FTBFS fix. * Fix typo in package description. * Update d/copyright to latest DEP5 format. -- Damien Raude-Morvan Sun, 08 Jan 2012 02:04:44 +0100 animal-sniffer (1.7-1) unstable; urgency=low * Initial release. (Closes: #621871) * New upstream version 1.7 -- Matthias Schmitz Sun, 18 Sep 2011 00:21:51 +0200 animal-sniffer-parent (1.6-1) unstable; urgency=low * Initial release. (Closes: #621871) -- Matthias Schmitz Tue, 26 Apr 2011 15:19:09 +0200 debian/libanimal-sniffer-java-doc.install0000664000000000000000000000007712160202135015620 0ustar target/site/apidocs/* usr/share/doc/libanimal-sniffer-java/api debian/maven.publishedRules0000664000000000000000000000164212160202135013205 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\\..*/3.x/ debian/compat0000664000000000000000000000000212160202135010356 0ustar 7 debian/README.source0000664000000000000000000000045212160202135011340 0ustar Information about animal-sniffer ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. debian/libanimal-sniffer-java.poms0000664000000000000000000000406412160202135014365 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM or # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar # it will be installed with mh_install. # --classifier=: Optional, the classifier for the jar. Empty by default. # --ignore-pom: don't install the POM with mh_install or mh_installpoms. To use with POM files that are created # temporarily for certain artifacts such as Javadoc jars. # pom.xml --no-parent --has-package-version java-boot-classpath-detector/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java animal-sniffer-annotations/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java animal-sniffer/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java animal-sniffer-maven-plugin/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java animal-sniffer-enforcer-rule/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java animal-sniffer-ant-tasks/pom.xml --no-parent --has-package-version --package=libanimal-sniffer-java debian/copyright0000664000000000000000000000342312160202135011115 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Animal Sniffer Source: http://mojo.codehaus.org/animal-sniffer/animal-sniffer/ Files: * Copyright: 2008,2009 Kohsuke Kawaguchi, codehaus.org, Stephen Connolly License: Apache-2.0 or MIT Files: debian/* Copyright: 2011, Matthias Schmitz 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: MIT The MIT License . Copyright (c) 2008,2009 Kohsuke Kawaguchi, codehaus.org, Stephen Connolly . Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: GPL-3+ On Debian GNU/Linux system you can find the complete text of the GPL-3 license in '/usr/share/common-licenses/GPL-3' debian/maven.properties0000664000000000000000000000014412160202135012403 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true debian/source/0000775000000000000000000000000012160202530010457 5ustar debian/source/format0000664000000000000000000000001412160202135011666 0ustar 3.0 (quilt) debian/maven.ignoreRules0000664000000000000000000000136612160202135012514 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\\..*/3.x/ debian/maven.cleanIgnoreRules0000664000000000000000000000150112160202135013446 0ustar # Maven clean ignore rules - ignore some Maven dependencies and plugins # during the clean phase of a Maven build # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM before mvn clean is called # junit junit jar s/3\\..*/3.x/ debian/libanimal-sniffer-java-doc.doc-base.api0000664000000000000000000000052012160202135016370 0ustar Document: libanimal-sniffer-java Title: API Javadoc for Animal Sniffer Author: Animal Sniffer developers Abstract: This is the API Javadoc provided for the libanimal-sniffer-java library. Section: Programming Format: HTML Index: /usr/share/doc/libanimal-sniffer-java/api/index.html Files: /usr/share/doc/libanimal-sniffer-java/api/* debian/control0000664000000000000000000000516712160202512010573 0ustar Source: animal-sniffer Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Matthias Schmitz Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4), ant Build-Depends-Indep: libasm3-java, junit, default-jdk-doc, libmaven-javadoc-plugin-java, libmaven-enforcer-plugin-java, libmaven-invoker-plugin-java, libmaven-common-artifact-filters-java, libbuild-helper-maven-plugin-java, libmaven-shade-plugin-java, libmaven-plugin-tools-java, libmaven-install-plugin-java, libbackport-util-concurrent-java Standards-Version: 3.9.2 Vcs-Git: git://git.debian.org/pkg-java/animal-sniffer.git Vcs-Browser: http://git.debian.org/?p=pkg-java/animal-sniffer.git;a=summary Homepage: http://mojo.codehaus.org/animal-sniffer/ Package: libanimal-sniffer-java Architecture: all Depends: ${misc:Depends}, ${maven:Depends} Recommends: ${maven:OptionalDepends} Suggests: libanimal-sniffer-java-doc Description: JDK/API verification tools Animal Sniffer provides tools to assist verifying that classes compiled with a newer JDK/API are compatible with an older JDK/API. . The Java Boot Classpath Detector is an executable jar file which tries to determine the boot classpath of the Java Runtime and outputs that classpath to the standard output. . Animal Sniffer Annotations provides Java 1.5+ annotations which allow marking methods which Animal Sniffer should ignore signature violations of. Animal Sniffer is designed to detect when you have used classes/methods/fields which are not part of the JRE that you are targeting. There are certain situations when you might be compiling with a newer JDK than the JRE you are targeting. . The Animal Sniffer ANT Tasks can be used to build signatures of APIs and to check your classes against previously generated signatures. . The Animal Sniffer Enforcer Rule is used to check your classes against previously generated signatures. . The Animal Sniffer Maven Plugin is used to build signatures of APIs and to check your classes against previously generated signatures. Package: libanimal-sniffer-java-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${maven:DocDepends} Recommends: ${maven:DocOptionalDepends} Suggests: libanimal-sniffer-java Description: Documentation for Animal Sniffer Animal Sniffer provides tools to assist verifying that classes compiled with a newer JDK/API are compatible with an older JDK/API. . This package contains the API documentation of libanimal-sniffer-java. debian/patches/0000775000000000000000000000000012160202530010606 5ustar debian/patches/series0000664000000000000000000000010012160202135012013 0ustar 0001-Add-a-version-to-maven-invoker-plugin-or-the-plugin-.patch debian/patches/0001-Add-a-version-to-maven-invoker-plugin-or-the-plugin-.patch0000664000000000000000000000317712160202135024047 0ustar From: Matthias Schmitz Date: Fri, 29 Apr 2011 12:08:23 +0200 Subject: [PATCH] Add a to maven-invoker-plugin or the plugin will not found --- animal-sniffer-ant-tasks/pom.xml | 1 + animal-sniffer-enforcer-rule/pom.xml | 1 + animal-sniffer-maven-plugin/pom.xml | 1 + 3 files changed, 3 insertions(+), 0 deletions(-) diff --git a/animal-sniffer-ant-tasks/pom.xml b/animal-sniffer-ant-tasks/pom.xml index 02e76e7..0bf2689 100644 --- a/animal-sniffer-ant-tasks/pom.xml +++ b/animal-sniffer-ant-tasks/pom.xml @@ -89,6 +89,7 @@ maven-invoker-plugin + 1.3 */pom.xml diff --git a/animal-sniffer-enforcer-rule/pom.xml b/animal-sniffer-enforcer-rule/pom.xml index f998825..d6c0874 100644 --- a/animal-sniffer-enforcer-rule/pom.xml +++ b/animal-sniffer-enforcer-rule/pom.xml @@ -94,6 +94,7 @@ maven-invoker-plugin + 1.3 setup-*/pom.xml diff --git a/animal-sniffer-maven-plugin/pom.xml b/animal-sniffer-maven-plugin/pom.xml index 3608759..764ddcd 100644 --- a/animal-sniffer-maven-plugin/pom.xml +++ b/animal-sniffer-maven-plugin/pom.xml @@ -102,6 +102,7 @@ maven-invoker-plugin + 1.3 */pom.xml --