debian/0000755000000000000000000000000011770136524007174 5ustar debian/README.source0000644000000000000000000000100211770135642011344 0ustar Information about objenesis --------------------------- REPACKAGING Please use the get-orig-source target from debian/rules to create the orig.tar.gz used for Debian packaging. For more details on repackaging of upstream sources please see the debian/orig-tar.sh file. 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/changelog0000644000000000000000000000252411770136463011053 0ustar objenesis (1.2+full-3) unstable; urgency=low * Team upload. * Apply patch from Ilya Barygin to fix encoding issue with Java7. (Closes: #678164, LP: #888987) -- Niels Thykier Tue, 19 Jun 2012 19:55:59 +0200 objenesis (1.2+full-2) unstable; urgency=low * Team upload * Apply patch from Moritz Mühlenhoff to install objenesis jar in /usr/share/java (Closes: #667000) * d/libobjenensis-java.poms: ignore tck module * d/copyright: update to spec 1.0, fix Source to indicate correct location * remove patch to ignore tck module, as d/libobjenensis-java.poms configuration takes care of this issue already. * d/control: update Standards-Version: 3.9.3, no change. -- Ludovic Claude Sat, 07 Apr 2012 00:43:35 +0200 objenesis (1.2+full-1) unstable; urgency=low * Team upload * Remove Java runtime from Depends. * Update Standards-Version: 3.9.2. * Download full upstream source code from upstream's svn repository. * Use Maven to build the package. * Do not build the tck module because of missing dependencies. -- Torsten Werner Sun, 18 Sep 2011 21:47:10 +0200 objenesis (1.2-1) unstable; urgency=low * Initial release. (Closes: #573812) -- Gabriele Giacone <1o5g4r8o@gmail.com> Sun, 14 Mar 2010 03:37:49 +0100 debian/compat0000644000000000000000000000000211770135642010372 0ustar 7 debian/control0000644000000000000000000000463111770135642010603 0ustar Source: objenesis Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Gabriele Giacone <1o5g4r8o@gmail.com> Build-Depends: debhelper (>= 7), cdbs, default-jdk, maven-debian-helper (>= 1.4) Build-Depends-Indep: libmaven-javadoc-plugin-java, junit (>= 3.8.2), default-jdk-doc Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/pkg-java/objenesis.git Vcs-Browser: http://git.debian.org/?p=pkg-java/objenesis.git Homepage: http://www.objenesis.org/ Package: libobjenesis-java Architecture: all Depends: ${misc:Depends}, ${maven:Depends} Recommends: ${maven:OptionalDepends} Suggests: libobjenesis-java-doc Description: Java library to instantiate a new object of a particular class Objenesis is a small Java library that serves one purpose: to instantiate a new object of a particular class. Java already supports this dynamic instantiation of classes using Class.newInstance(). However, this only works if the class has an appropriate constructor. There are many times when a class cannot be instantiated this way, such as when the class contains: * Constructors that require arguments. * Constructors that have side effects. * Constructors that throw exceptions. As a result, it is common to see restrictions in libraries stating that classes must require a default constructor. Objenesis aims to overcomes these restrictions by bypassing the constructor on object instantiation. Package: libobjenesis-java-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${maven:DocDepends} Recommends: ${maven:DocOptionalDepends} Suggests: libobjenesis-java Description: Documentation for Objenesis Objenesis is a small Java library that serves one purpose: to instantiate a new object of a particular class. Java already supports this dynamic instantiation of classes using Class.newInstance(). However, this only works if the class has an appropriate constructor. There are many times when a class cannot be instantiated this way, such as when the class contains: * Constructors that require arguments. * Constructors that have side effects. * Constructors that throw exceptions. As a result, it is common to see restrictions in libraries stating that classes must require a default constructor. Objenesis aims to overcomes these restrictions by bypassing the constructor on object instantiation. . This is the API documentation for Objenesis debian/copyright0000644000000000000000000000211711770135642011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Objenesis - Java library to instantiate a new object of a particular class Upstream-Contact: Objenesis Team Source: http://objenesis.googlecode.com/svn/ Copyright: 2006-2009 Joe Walnes, Henri Tremblay, Leonardo Mesquita License: ASL-2.0 On Debian GNU/Linux system you can find the complete text of the Apache Software License version 2.0 in '/usr/share/common-licenses/Apache-2.0' Files: org/objenesis/instantiator/jrockit/JRockitLegacyInstantiator.java org/objenesis/instantiator/jrockit/JRockit131Instantiator.java Copyright: 2006, BEA Systems, inc. License: ASL-2.0 On Debian GNU/Linux system you can find the complete text of the Apache Software License version 2.0 in '/usr/share/common-licenses/Apache-2.0' Files: debian/* Copyright: 2010, Gabriele Giacone <1o5g4r8o@gmail.com> License: ASL-2.0 On Debian GNU/Linux system you can find the complete text of the Apache Software License version 2.0 in '/usr/share/common-licenses/Apache-2.0' debian/libobjenesis-java-doc.doc-base.api0000644000000000000000000000054411770135642015500 0ustar Document: libobjenesis-java Title: API Javadoc for Objenesis parent project Author: Joe Walnes, Henri Tremblay, Leonardo Mesquita developers Abstract: This is the API Javadoc provided for the libobjenesis-java library. Section: Programming Format: HTML Index: /usr/share/doc/libobjenesis-java/api/index.html Files: /usr/share/doc/libobjenesis-java/api/* debian/libobjenesis-java-doc.install0000644000000000000000000000007311770135642014716 0ustar target/site/apidocs/* usr/share/doc/libobjenesis-java/api debian/libobjenesis-java.poms0000644000000000000000000000327511770136121013463 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --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. [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. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --has-package-version main/pom.xml --has-package-version --java-lib tck/pom.xml --ignore debian/maven.cleanIgnoreRules0000644000000000000000000000150011770136121013452 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/maven.ignoreRules0000644000000000000000000000233411770136121012515 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/ com.google.code.maven-license-plugin maven-license-plugin * * * * com.keyboardsamurais.maven maven-timestamp-plugin * * * * org.apache.felix maven-bundle-plugin * * * * org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.maven.plugins maven-pmd-plugin * * * * org.apache.maven.plugins maven-remote-resources-plugin * * * * org.apache.maven.plugins maven-source-plugin * * * * org.apache.maven.wagon wagon-ssh-external * * * * org.codehaus.mojo findbugs-maven-plugin * * * * debian/maven.properties0000644000000000000000000000021411770135743012417 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true project.build.sourceEncoding=ISO-8859-1 debian/maven.publishedRules0000644000000000000000000000164111770136121013211 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/maven.rules0000644000000000000000000000174411770136121011355 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.objenesis objenesis-parent pom s/.*/debian/ * * org.objenesis objenesis jar s/.*/debian/ * * debian/orig-tar.sh0000755000000000000000000000060011770135642011253 0ustar #!/bin/sh -e VERSION=$2 PACKAGE=$(dpkg-parsechangelog | sed -n 's/^Source: //p') TARBALL=../${PACKAGE}_${VERSION}.orig.tar.gz DIR=${PACKAGE}-${VERSION} TAG=$(echo ${VERSION} | sed -e's,\.,_,g') ## objenesis-${VERSION}-bin.zip contains objenesis-${VERSION}-sources.jar svn export http://objenesis.googlecode.com/svn/tags/${TAG} ${DIR} tar -zcvf $TARBALL $DIR rm -rf $DIR ../$VERSION debian/rules0000755000000000000000000000037411770135642010260 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_DOC_TARGET := javadoc:jar javadoc:aggregate get-orig-source: uscan --force-download --verbose debian/source/0000755000000000000000000000000011770135642010474 5ustar debian/source/format0000644000000000000000000000001411770135642011702 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017311770135642010226 0ustar version=3 opts=uversionmangle=s/_/./g \ http://objenesis.googlecode.com/svn/tags/ (\d.*)/ \ debian debian/orig-tar.sh