summary refs log tree commit diff
path: root/gnu/packages/maven.scm
diff options
context:
space:
mode:
authorJulien Lepiller <julien@lepiller.eu>2018-03-17 16:40:18 +0100
committerJulien Lepiller <julien@lepiller.eu>2018-06-16 13:18:07 +0200
commitf216a9f99a57905d7beed9595cfb2124a6cf27e4 (patch)
tree2034a9ed35c215374d0690f8dff734bfcbfb8712 /gnu/packages/maven.scm
parentff7a0fcff34b3ba686342f31c5b45b5782470562 (diff)
downloadguix-f216a9f99a57905d7beed9595cfb2124a6cf27e4.tar.gz
gnu: Add maven-wagon-provider-test.
* gnu/packages/maven.scm (maven-wagon-provider-test): New variable.
Diffstat (limited to 'gnu/packages/maven.scm')
-rw-r--r--gnu/packages/maven.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index a5cda7e000..e282a9a8c2 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -25,6 +25,7 @@
   #:use-module (gnu packages)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages java)
+  #:use-module (gnu packages web)
   #:use-module (gnu packages xml))
 
 (define-public java-plexus-component-metadata
@@ -326,6 +327,30 @@ replacement with improvements.")
 artifact and repository handling code.")
     (license license:asl2.0)))
 
+(define-public maven-wagon-provider-test
+  (package
+    (inherit maven-wagon-provider-api)
+    (name "maven-wagon-provider-test")
+    (arguments
+     `(#:jar-name "maven-wagon-provider-test.jar"
+       #:source-dir "wagon-provider-test/src/main/java"
+       #:tests? #f; no tests
+       #:jdk ,icedtea-8))
+    (inputs
+     `(("java-plexus-utils" ,java-plexus-utils)
+       ("java-plexus-container-default" ,java-plexus-container-default)
+       ("java-eclipse-jetty-util-9.2" ,java-eclipse-jetty-util-9.2)
+       ("java-eclipse-jetty-security-9.2" ,java-eclipse-jetty-security-9.2)
+       ("java-eclipse-jetty-server-9.2" ,java-eclipse-jetty-server-9.2)
+       ("java-eclipse-jetty-servlet-9.2" ,java-eclipse-jetty-servlet-9.2)
+       ("java-slf4j-api" ,java-slf4j-api)
+       ("java-tomcat" ,java-tomcat)
+       ("maven-wagon-provider-api" ,maven-wagon-provider-api)))
+    (synopsis "Test classes from maven-wagon")
+    (description "Maven Wagon is a transport abstraction that is used in Maven's
+artifact and repository handling code.  This package contains common test
+classes used in multiple maven-wagon components.")))
+
 (define-public maven-artifact
   (package
     (name "maven-artifact")