From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCZEa-0005X1-NN for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCZEZ-0007qw-QS for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:12 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:50490) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eCZEZ-0007qr-N3 for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eCZEZ-0001wy-Gd for guix-patches@gnu.org; Wed, 08 Nov 2017 17:54:11 -0500 Subject: [bug#29221] [PATCH 18/19] gnu: Add java-plexus-archiver. Resent-Message-ID: From: julien@lepiller.eu Date: Wed, 8 Nov 2017 23:51:39 +0100 Message-Id: <20171108225140.6587-18-julien@lepiller.eu> In-Reply-To: <20171108225140.6587-1-julien@lepiller.eu> References: <20171108231537.34a601cc@lepiller.eu> <20171108225140.6587-1-julien@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 29221@debbugs.gnu.org From: Julien Lepiller * gnu/packages/java.scm (java-plexus-archiver): New variable. --- gnu/packages/java.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index e072361d2..7dcf68c3a 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -2445,6 +2445,58 @@ for use in I/O operations. This implementation using plexus components allows reusing it in maven.") (license license:asl2.0))) +(define-public java-plexus-archiver + (package + (name "java-plexus-archiver") + (version "3.5") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/codehaus-plexus/plexus-archiver" + "/archive/plexus-archiver-" version ".tar.gz")) + (sha256 + (base32 + "0iv1j7khra6icqh3jndng3iipfmkc7l5jq2y802cm8r575v75pyv")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "plexus-archiver.jar" + #:source-dir "src/main/java" + #:jdk ,icedtea-8 + #:test-dir "src/test" + #:test-exclude (list "**/Abstract*.java" "**/Base*.java") + #:phases + (modify-phases %standard-phases + (add-before 'check 'remove-failing + (lambda _ + ;; Requires an older version of plexus container + (delete-file + "src/test/java/org/codehaus/plexus/archiver/DuplicateFilesTest.java"))) + (add-before 'build 'copy-resources + (lambda _ + (mkdir-p "build/classes/META-INF/plexus") + (copy-file "src/main/resources/META-INF/plexus/components.xml" + "build/classes/META-INF/plexus/components.xml") + #t))))) + (inputs + `(("utils" ,java-plexus-utils) + ("commons-io" ,java-commons-io) + ("snappy" ,java-iq80-snappy) + ("io" ,java-plexus-io) + ("compress" ,java-commons-compress) + ("container-default" ,java-plexus-container-default-bootstrap) + ("snappy" ,java-snappy) + ("java-jsr305" ,java-jsr305))) + (native-inputs + `(("junit" ,java-junit) + ("classworld" ,java-plexus-classworlds) + ("xbean" ,java-geronimo-xbean-reflect) + ("xz" ,java-tukaani-xz) + ("guava" ,java-guava))) + (home-page "https://github.com/codehaus-plexus/plexus-archiver") + (synopsis "Archiver component of the Plexus project") + (description "Plexus-archiver contains a component to deal with project +archives (jar).") + (license license:asl2.0))) + (define-public java-asm (package (name "java-asm") -- 2.15.0