gnu: Add java-eclipse-aether-spi.
authorJulien Lepiller <julien@lepiller.eu>
Sat, 27 Jun 2020 13:46:55 +0000 (15:46 +0200)
committerJulien Lepiller <julien@lepiller.eu>
Fri, 17 Jul 2020 02:16:15 +0000 (04:16 +0200)
* gnu/packages/maven.scm (java-eclipse-aether-spi): New variable.

gnu/packages/maven.scm

index ae5efc6..bfbe21c 100644 (file)
@@ -521,6 +521,23 @@ ease usage of the repository system.")))
     (description "This package contains the API for the maven repository system.")
     (license license:asl2.0)))
 
+(define-public java-eclipse-aether-spi
+  (package
+    (inherit java-eclipse-aether-api)
+    (name "java-eclipse-aether-spi")
+    (arguments
+     `(#:jar-name "aether-spi.jar"
+       #:source-dir "aether-spi/src/main/java"
+       #:test-dir "aether-spi/src/test"
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install (install-from-pom "aether-spi/pom.xml")))))
+    (propagated-inputs
+     `(("java-eclipse-aether-api" ,java-eclipse-aether-api)))
+    (synopsis "Maven repository system SPI")
+    (description "This package contains the service provider interface (SPI)
+for repository system implementations and repository connectors.")))
+
 (define-public maven-shared-utils
   (package
     (name "maven-shared-utils")