debian/0000755000000000000000000000000012232372013007161 5ustar debian/maven.cleanIgnoreRules0000644000000000000000000000000112232372013013441 0ustar debian/maven.ignoreRules0000644000000000000000000000016012232372013012504 0ustar org.apache.maven.plugins maven-shade-plugin * * * * * apache-rat-plugin * * * * * findbugs-maven-plugin * * * * debian/maven.publishedRules0000644000000000000000000000000112232372013013172 0ustar debian/libmaven-shared-utils-java-doc.install0000644000000000000000000000007712232372013016436 0ustar target/apidocs/* usr/share/doc/libmaven-shared-utils-java/api debian/maven.rules0000644000000000000000000000175112232372013011347 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/ s/com.google.code.findbugs/org.jsr-305/ jsr305 * s/.*/0.x/ junit junit * s/4\..*/4.x/ org.apache.commons commons-lang3 * s/3\..*/3.x/ debian/libmaven-shared-utils-java-doc.doc-base.api0000644000000000000000000000054712232372013017217 0ustar Document: libmaven-shared-utils-java Title: API Javadoc for Maven Shared Utils Author: Maven Shared Utils developers Abstract: This is the API Javadoc provided for the libmaven-shared-utils-java library. Section: Programming Format: HTML Index: /usr/share/doc/libmaven-shared-utils-java/api/index.html Files: /usr/share/doc/libmaven-shared-utils-java/api/* debian/watch0000644000000000000000000000021512232372013010210 0ustar version=3 opts="uversionmangle=s/-(alpha|beta)-/~$1/" \ https://svn.apache.org/repos/asf/maven/shared/tags/ \ maven-shared-utils-(\d.*)/ debian/rules0000755000000000000000000000034312232372013010241 0ustar #!/usr/bin/make -f %: dh $@ --buildsystem=maven override_dh_install: dh_install # remove JARed javadoc, we already have unpacked version in /usr/share/doc rm -rf debian/libmaven-shared-utils-java-doc/usr/share/maven-repo debian/changelog0000644000000000000000000000024112232372013011030 0ustar maven-shared-utils (0.4-1) unstable; urgency=low * Initial release. (Closes: #710216) -- Jakub Adam Mon, 27 May 2013 14:39:57 +0200 debian/libmaven-shared-utils-java.poms0000644000000000000000000000316012232372013015177 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 --no-parent debian/patches/0000755000000000000000000000000012232372013010610 5ustar debian/patches/clean-up-non-ascii.patch0000644000000000000000000000276512232372013015225 0ustar --- a/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java +++ b/src/main/java/org/apache/maven/shared/utils/ReaderFactory.java @@ -39,7 +39,7 @@ * Utility to create Readers from streams, with explicit encoding choice: platform default, * XML, or specified. * - * @author Hervé Boutemy + * @author Herve Boutemy * @see Charset * @see Supported encodings * --- a/src/main/java/org/apache/maven/shared/utils/WriterFactory.java +++ b/src/main/java/org/apache/maven/shared/utils/WriterFactory.java @@ -38,7 +38,7 @@ * Utility to create Writers, with explicit encoding choice: platform default, * XML, or specified. * - * @author Hervé Boutemy + * @author Herve Boutemy * @see Charset * @see Supported encodings * @version $Id: WriterFactory.java 1400677 2012-10-21 17:00:51Z rfscholte $ --- a/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java +++ b/src/main/java/org/apache/maven/shared/utils/io/IOUtil.java @@ -84,7 +84,7 @@ * * @author Peter Donald * @author Jeff Turner - * @version CVS $Revision: 1401872 $ $Date: 2012-10-24 22:45:04 +0200 (St, 24 říj 2012) $ + * @version CVS $Revision: 1401872 $ $Date: 2012-10-24 22:45:04 +0200 $ * */ debian/patches/series0000644000000000000000000000005612232372013012026 0ustar clean-up-non-ascii.patch fix-test-build.patch debian/patches/fix-test-build.patch0000644000000000000000000000665712232372013014507 0ustar From: Jakub Adam Date: Wed, 29 May 2013 08:45:11 +0200 Subject: fix-test-build --- src/test/java/org/apache/maven/shared/utils/ExpandTest.java | 3 ++- .../apache/maven/shared/utils/reflection/ReflectorTest.java | 10 +++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/test/java/org/apache/maven/shared/utils/ExpandTest.java b/src/test/java/org/apache/maven/shared/utils/ExpandTest.java index 298cb70..0d5548d 100644 --- a/src/test/java/org/apache/maven/shared/utils/ExpandTest.java +++ b/src/test/java/org/apache/maven/shared/utils/ExpandTest.java @@ -28,6 +28,7 @@ import org.junit.rules.TemporaryFolder; import java.io.File; import java.io.FileNotFoundException; +import java.io.IOException; import java.net.URL; import static org.hamcrest.CoreMatchers.*; @@ -72,7 +73,7 @@ public class ExpandTest * * @return */ - private File getTestTargetDir() + private File getTestTargetDir() throws IOException { return tempFolder.newFolder( TEST_ZIP_TARGET_FOLDER ); } diff --git a/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTest.java b/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTest.java index 6d8cca3..54e5be2 100644 --- a/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTest.java +++ b/src/test/java/org/apache/maven/shared/utils/reflection/ReflectorTest.java @@ -116,7 +116,7 @@ public class ReflectorTest public void newInstancePublicConstructor() throws Exception { - assertThat( reflector.newInstance( ReflectorTestHelper.class, new Object[]{ "" } ), + assertThat( ( ReflectorTestHelper )reflector.newInstance( ReflectorTestHelper.class, new Object[]{ "" } ), is( ReflectorTestHelper.class ) ); } @@ -222,7 +222,7 @@ public class ReflectorTest public void getSingletonPublicMethod() throws Exception { - assertThat( reflector.getSingleton( ReflectorTestHelper.class, new Object[]{ "" } ), + assertThat( ( ReflectorTestHelper )reflector.getSingleton( ReflectorTestHelper.class, new Object[]{ "" } ), is( ReflectorTestHelper.class ) ); } @@ -252,7 +252,7 @@ public class ReflectorTest public void getSingletonNonStaticMethod() throws Exception { - assertThat( reflector.getSingleton( ReflectorTestHelper.class, new Object[]{ "", Boolean.FALSE } ), + assertThat( ( ReflectorTestHelper )reflector.getSingleton( ReflectorTestHelper.class, new Object[]{ "", Boolean.FALSE } ), is( ReflectorTestHelper.class ) ); } @@ -866,7 +866,7 @@ public class ReflectorTest public void invokeStaticPublicMethod() throws Exception { - assertThat( reflector.invokeStatic( ReflectorTestHelper.class, "getInstance", new Object[]{ "" } ), + assertThat( ( ReflectorTestHelper )reflector.invokeStatic( ReflectorTestHelper.class, "getInstance", new Object[]{ "" } ), is( ReflectorTestHelper.class ) ); } @@ -897,7 +897,7 @@ public class ReflectorTest throws Exception { assertThat( - reflector.invokeStatic( ReflectorTestHelper.class, "getInstance", new Object[]{ "", Boolean.FALSE } ), + ( ReflectorTestHelper )reflector.invokeStatic( ReflectorTestHelper.class, "getInstance", new Object[]{ "", Boolean.FALSE } ), is( ReflectorTestHelper.class ) ); } debian/maven.properties0000644000000000000000000000022712232372013012406 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true maven.compiler.source=1.5 maven.compiler.target=1.5 debian/source/0000755000000000000000000000000012232372013010461 5ustar debian/source/format0000644000000000000000000000001412232372013011667 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212232372013010357 0ustar 9 debian/copyright0000644000000000000000000000105012232372013011110 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Maven Shared Utils Upstream-Contact: Apache Maven team Source: http://maven.apache.org/shared/maven-shared-utils/ Files: * Copyright: 2012, The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2013, Debian Java Maintainers License: Apache-2.0 License: Apache-2.0 On Debian GNU system you can find the complete text of the Apache-2.0 license in '/usr/share/common-licenses/Apache-2.0' debian/gbp.conf0000644000000000000000000000003112232372013010572 0ustar [DEFAULT] compression=xz debian/control0000644000000000000000000000325412232372013010570 0ustar Source: maven-shared-utils Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Jakub Adam Build-Depends: debhelper (>= 9), default-jdk, maven-debian-helper (>> 1.6.2) Build-Depends-Indep: libcommons-lang3-java, libjsr305-java, libmaven-javadoc-plugin-java, libmaven-install-plugin-java Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-java/maven-shared-utils.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/maven-shared-utils.git Homepage: http://maven.apache.org/shared/maven-shared-utils/ Package: libmaven-shared-utils-java Architecture: all Depends: ${misc:Depends}, ${maven:Depends} Recommends: ${maven:OptionalDepends} Suggests: libmaven-shared-utils-java-doc Description: Replacement for plexus-utils in Maven This project aims to be a functional replacement for plexus-utils in Maven. . It is not a 100% API compatible replacement though, but a replacement with improvements: lots of methods got cleaned up, generics got added and a lot of unused code was dropped. Package: libmaven-shared-utils-java-doc Architecture: all Section: doc Depends: ${misc:Depends}, ${maven:DocDepends} Recommends: ${maven:DocOptionalDepends} Suggests: libmaven-shared-utils-java Description: Replacement for plexus-utils in Maven (documentation) This project aims to be a functional replacement for plexus-utils in Maven. . It is not a 100% API compatible replacement though, but a replacement with improvements: lots of methods got cleaned up, generics got added and a lot of unused code was dropped. . This package contains the API documentation of libmaven-shared-utils-java.