unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: julien@lepiller.eu
To: 29221@debbugs.gnu.org
Subject: [bug#29221] [PATCH 18/19] gnu: Add java-plexus-archiver.
Date: Wed,  8 Nov 2017 23:51:39 +0100	[thread overview]
Message-ID: <20171108225140.6587-18-julien@lepiller.eu> (raw)
In-Reply-To: <20171108225140.6587-1-julien@lepiller.eu>

From: Julien Lepiller <julien@lepiller.eu>

* 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

  parent reply	other threads:[~2017-11-08 22:54 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-08 22:48 [bug#29221] [PATCH] java packages Julien Lepiller
2017-11-08 22:51 ` [bug#29221] [PATCH 01/19] gnu: Add bitshuffle julien
2017-11-08 22:51   ` [bug#29221] [PATCH 02/19] gnu: Add java-snappy julien
2017-11-08 22:51   ` [bug#29221] [PATCH 03/19] gnu: Add java-iq80-snappy julien
2017-11-08 22:51   ` [bug#29221] [PATCH 04/19] licenses: Add cddl1.1 julien
2017-11-09 15:31     ` Ludovic Courtès
2017-11-16 20:54       ` Julien Lepiller
2017-11-16 21:16         ` Tobias Geerinckx-Rice
2017-11-16 21:13           ` Julien Lepiller
2017-11-17 10:08             ` Ludovic Courtès
2017-11-08 22:51   ` [bug#29221] [PATCH 05/19] gnu: Add java-mail julien
2017-11-08 23:03     ` ng0
2017-11-09  8:36       ` julien lepiller
2017-11-08 22:51   ` [bug#29221] [PATCH 06/19] gnu: Add java-jeromq julien
2017-11-08 22:51   ` [bug#29221] [PATCH 07/19] gnu: Add java-commons-csv julien
2017-11-08 22:51   ` [bug#29221] [PATCH 08/19] gnu: Add java-commons-collections julien
2017-11-08 22:51   ` [bug#29221] [PATCH 09/19] gnu: Add java-commons-beanutils julien
2017-11-08 22:51   ` [bug#29221] [PATCH 10/19] gnu: Add java-kafka-clients julien
2017-11-08 22:51   ` [bug#29221] [PATCH 11/19] gnu: Add java-log4j-core julien
2017-11-08 22:51   ` [bug#29221] [PATCH 12/19] gnu: Add java-log4j-1.2-api julien
2017-11-08 22:51   ` [bug#29221] [PATCH 13/19] gnu: Add java-jdom julien
2017-11-08 22:51   ` [bug#29221] [PATCH 14/19] gnu: Add java-geronimo-xbean-reflect julien
2017-11-08 22:51   ` [bug#29221] [PATCH 15/19] gnu: Add java-tukaani-xz julien
2017-11-08 22:51   ` [bug#29221] [PATCH 16/19] gnu: Add java-plexus-container-default-bootstrap julien
2017-11-08 22:51   ` [bug#29221] [PATCH 17/19] gnu: Add java-plexus-io julien
2017-11-08 22:51   ` julien [this message]
2017-11-08 22:51   ` [bug#29221] [PATCH 19/19] gnu: Add java-plexus-container-default julien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171108225140.6587-18-julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=29221@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).