debian/0000755000000000000000000000000012255651512007172 5ustar debian/libjenkins-json-java-doc.install0000644000000000000000000000007012202122012015314 0ustar target/apidocs/* usr/share/doc/libjenkins-json-java/api debian/libjenkins-json-java.classpath0000644000000000000000000000032512202122012015070 0ustar /usr/share/java/jenkins-json-lib.jar /usr/share/java/commons-beanutils.jar /usr/share/java/commons-collections3.jar /usr/share/java/commons-lang.jar /usr/share/java/commons-logging.jar /usr/share/java/ezmorph.jar debian/README.source0000644000000000000000000000045012202122012011324 0ustar Information about jenkins-json ------------------------------ 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/libjenkins-json-java.poms0000644000000000000000000000271512202122012014071 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 --has-package-version debian/patches/0000755000000000000000000000000012202123065010606 5ustar debian/patches/0001-Drop-requirement-for-maven-3.0.1.patch0000644000000000000000000000077712202123065020007 0ustar From: James Page Date: Mon, 12 Aug 2013 10:08:43 +0100 Subject: Drop requirement for maven 3.0.1 Debian still builds with Maven2 so this currently breaks. --- pom.xml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pom.xml b/pom.xml index 5765f97..cce0d7e 100644 --- a/pom.xml +++ b/pom.xml @@ -240,9 +240,6 @@ - - 3.0.1 - install debian/patches/series0000644000000000000000000000005412202123065012022 0ustar 0001-Drop-requirement-for-maven-3.0.1.patch debian/orig-tar.sh0000755000000000000000000000061612202122012011234 0ustar #!/bin/sh -e VERSION=$2 TAR=../jenkins-json_$VERSION.orig.tar.gz DIR=jenkins-json-$VERSION mkdir -p $DIR # Expand the upstream tarball tar -xzf $TAR -C $DIR --strip-components=1 # Repack excluding stuff we don't need DATE="Fri Oct 21 12:29:52 BST 2011" tar -c --exclude '*.jar' --exclude '*.class' \ --exclude 'CVS' --exclude '.svn' --mtime="$DATE" $DIR | \ gzip -9fn -c - > $TAR rm -rf $DIR debian/rules0000755000000000000000000000147412202122012010234 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_MAVEN_INSTALL_TO_USJ := false PACKAGE := jenkins-json JAR := json # Install branch specific named version in /usr/share/java # This works around the fact that maven-debian-helper does # not pass --usj-name from debian/*.poms binary-post-install/lib$(PACKAGE)-java:: mh_installpoms -plib$(PACKAGE)-java mh_installjar -plib$(PACKAGE)-java pom.xml -l \ target/$(JAR)-lib-$(DEB_UPSTREAM_VERSION).jar --usj-name=$(PACKAGE)-lib jh_classpath -plib$(PACKAGE)-java # Re-locate java 5 source code into main java directory before-mvn-build:: cp -r src/main/jdk15/* src/main/java/ get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/maven.ignoreRules0000644000000000000000000000240112202122012012471 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/ org.apache.maven.plugins maven-jxr-plugin * * * * org.apache.maven.plugins maven-project-info-reports-plugin * * * * org.codehaus.mojo changes-maven-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * org.codehaus.mojo javancss-maven-plugin * * * * org.codehaus.mojo jdepend-maven-plugin * * * * org.codehaus.mojo build-helper-maven-plugin * * * * org.codehaus.mojo.groovy groovy-maven-plugin * * * * org.jruby jruby * * * * org.jvnet.wagon-svn wagon-svn * * * * debian/libjenkins-json-java-doc.doc-base.api0000644000000000000000000000052312202122012016076 0ustar Document: libjenkins-json-java Title: API Javadoc for json-lib (Hudson/Jenkins branch) Author: Json-lib developers Abstract: This is the API Javadoc provided for the libjenkins-json-java library. Section: Programming Format: HTML Index: /usr/share/doc/libjenkins-json-java/api/index.html Files: /usr/share/doc/libjenkins-json-java/api/* debian/compat0000644000000000000000000000000212202122012010344 0ustar 7 debian/changelog0000644000000000000000000000324012255651117011044 0ustar jenkins-json (2.4-jenkins-3-1) unstable; urgency=medium * New upstream release (Closes: #692625). * d/control: Bumped Standards-Version, no changes. -- James Page Sun, 22 Dec 2013 20:37:36 +0000 jenkins-json (2.4-jenkins-1-1) unstable; urgency=low * New upstream release: - Drop requirement for Maven >= 3.0.1 in upstream pom as Debian still uses Maven 2 for package builds. - d/control: Add BD's for commons-httpclient. * d/control: Removed DM-Upload-Allowed, bumped Standards-Version to 3.9.4 - no changes. -- James Page Mon, 12 Aug 2013 16:52:15 +0100 jenkins-json (2.1-rev7-2) unstable; urgency=low * Fix FTBFS (Closes: #655809) (LP: #935200): - d/control: Added liboro-java to BDI's. * Bumped Standards-Version: 3.9.3 - d/copyright: Updated reference for Format. [tony mancill] * Set DMUA flag. -- James Page Sun, 04 Mar 2012 21:58:07 +0000 jenkins-json (2.1-rev7-1) unstable; urgency=low * New upstream release - Dropped all patches - no longer required. - Updated maven ignore rules for new dependences. * Tidied d/copyright for new field names. * Fixed d/watch for new upstream tag naming. * Fixed d/orig-tar.sh to always create the same orig.tar.gz. -- James Page Fri, 21 Oct 2011 22:47:46 +0100 jenkins-json (2.1-rev6-1) unstable; urgency=low * Initial Debian release (Closes: #634634) -- James Page Tue, 30 Aug 2011 14:14:48 +0100 jenkins-json (2.1-rev6-0ubuntu1) oneiric; urgency=low * Initial release -- James Page Wed, 29 Jun 2011 11:33:53 +0100 debian/source/0000755000000000000000000000000012202122012010446 5ustar debian/source/format0000644000000000000000000000001412202122012011654 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000162012202122012011100 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: json-lib (Hudson/Jenkins branch) Upstream-Contact: Douglas Crockford as Original source code developer Andres Almiray as Java Developer Source: https://github.com/jenkinsci/json-lib Files: * Copyright: 2006-2011, Json-lib License: Apache-2.0 Files: ./src/test/java/FieldBindingTest.java ./src/test/java/net/sf/json/TestUserSubmitted.java ./src/main/java/net/sf/json/DelegatingValueVisitor.java ./src/main/java/net/sf/json/ValueVisitor.java Copyright: 2006-2011, Kohsuke Kawaguchi License: Apache-2.0 Files: debian/* Copyright: 2011, Canonical Ltd (http://www.canonical.com) License: Apache-2.0 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' debian/maven.properties0000644000000000000000000000014212202122012012367 0ustar # Include here properties to pass to Maven during the build. # For example: maven.test.skip=true debian/maven.rules0000644000000000000000000000224512202124552011346 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/ commons-collections commons-collections jar s/3\..*/3.x/ * * junit junit jar s/3\..*/3.x/ * * log4j log4j jar s/1\.2\..*/1.2.x/ * * commons-logging s/commons-logging-api/commons-logging/ * s/.*/debian/ * * s/groovy/org.codehaus.groovy/ groovy* * s/.*/debian/ * * commons-httpclient commons-httpclient jar s/3\..*/3.x/ * * debian/watch0000644000000000000000000000022312202122012010174 0ustar version=3 opts=dversionmangle=s/\.dfsg// \ http://githubredir.debian.net/github/jenkinsci/json-lib/ json-lib-(.+).tar.gz debian debian/orig-tar.sh debian/control0000644000000000000000000000334612255647763010620 0ustar Source: jenkins-json Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: James Page Build-Depends: cdbs, debhelper (>= 7), default-jdk, javahelper, maven-debian-helper Build-Depends-Indep: default-jdk-doc, groovy, groovy-doc, libcommons-beanutils-java, libcommons-beanutils-java-doc, libcommons-collections3-java, libcommons-httpclient-java, libcommons-httpclient-java-doc, libcommons-lang-java, libcommons-logging-java, libcommons-logging-java-doc, libezmorph-java, liblog4j1.2-java-doc, libmaven-javadoc-plugin-java, liboro-java, libxmlunit-java, libxom-java Standards-Version: 3.9.5 Homepage: https://github.com/jenkinsci/json-lib Vcs-Git: git://git.debian.org/git/pkg-java/jenkins-json.git Vcs-Browser: http://git.debian.org/?p=pkg-java/jenkins-json.git Package: libjenkins-json-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libjenkins-json-java-doc Description: Library for transforming Java objects between XML and JSON JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans. . This package contains the branch used/maintained by jenkins. Package: libjenkins-json-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Suggests: libjenkins-json-java Description: Documentation for libjenkins-json-java JSON-lib is a java library for transforming beans, maps, collections, java arrays and XML to JSON and back again to beans and DynaBeans. . This package provides the API documentation for libjenkins-json-java. debian/maven.cleanIgnoreRules0000644000000000000000000000240112202122012013434 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/ org.apache.maven.plugins maven-jxr-plugin * * * * org.apache.maven.plugins maven-project-info-reports-plugin * * * * org.codehaus.mojo changes-maven-plugin * * * * org.codehaus.mojo cobertura-maven-plugin * * * * org.codehaus.mojo findbugs-maven-plugin * * * * org.codehaus.mojo javancss-maven-plugin * * * * org.codehaus.mojo jdepend-maven-plugin * * * * org.codehaus.mojo build-helper-maven-plugin * * * * org.codehaus.mojo.groovy groovy-maven-plugin * * * * org.jruby jruby * * * * org.jvnet.wagon-svn wagon-svn * * * *