Subject: [bug#52723] [PATCH 18/26] gnu: Add java-sonatype-aether-spi-1.13.

From: Julien Lepiller <[email-masked]>
Date: Tue, 21 Dec 2021 23:45:02 +0100

* gnu/packages/maven.scm (java-sonatype-aether-spi-1.13): New variable.
---
 gnu/packages/maven.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index d8e00e6c61..39270566fe 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -468,6 +468,23 @@ (define-public java-sonatype-aether-api-1.13
     (description "This package contains the API for the maven repository system.")
     (license license:asl2.0)))
 
+(define-public java-sonatype-aether-spi-1.13
+  (package
+    (inherit java-sonatype-aether-api-1.13)
+    (name "java-sonatype-aether-spi")
+    (arguments
+     `(#:jar-name "aether-spi.jar"
+       #:source-dir "aether-spi/src/main/java"
+       #:tests? #f; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install (install-from-pom "aether-spi/pom.xml")))))
+    (propagated-inputs
+     `(("java-sonatype-aether-api" ,java-sonatype-aether-api-1.13)))
+    (synopsis "Maven repository system SPI")
+    (description "This package contains the service provider interface (SPI)
+for repository system implementations and repository connectors.")))
+
 ;; Again, this old version is required by some maven plugins
 (define-public java-eclipse-aether-api
   (package
-- 
2.34.0