Subject: bug#57726: closed (Re: bug#57726: [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 Sep 2022 17:08:02 +0000

Your bug report

#57726: [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
57726: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57726
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#57726: [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.
From: Julien Lepiller <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: "Artyom V. Poptsov" <[email-masked]>, [email-masked]
Date: Sat, 24 Sep 2022 19:07:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Le Sat, 24 Sep 2022 15:52:56 +0200,
Ludovic Courtès <[email-masked]> a écrit :

> Hi!
> Julien, WDYT?  :-)

Looks like I didn't receive the reply. The patch is now pushed to
master as fc07082fe3d750c85282c4aa57d01a36ebe9296b, thanks!

Again, I noticed qa.guix.gnu.org doing its work :)

Subject: [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.
From: "Artyom V. Poptsov" <[email-masked]>
To: [email-masked]
Date: Sun, 11 Sep 2022 12:11:23 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

this patch adds "java-eclipse-sisu-maven-plugin". [1]
From a39872e7029433fe0ba0198dbfdf7182015a74fc Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <[email-masked]>
Date: Sun, 11 Sep 2022 12:02:27 +0300
Subject: [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.

* gnu/packages/java.scm (java-eclipse-sisu-maven-plugin): New variable.
---
 gnu/packages/java.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 45c3b423f0..0445e45681 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -13400,6 +13400,44 @@ (define-public java-eclipse-sisu-inject
 OSGi Service Registry is a goal of this project.")
     (license license:epl1.0)))
 
+(define-public java-eclipse-sisu-maven-plugin
+  (package
+    (name "java-eclipse-sisu-maven-plugin")
+    (version "0.3.5")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/eclipse/sisu.mojos/")
+                    (commit (string-append "releases/" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "00hb7v6hz8jg0mgkj3cl0nmqz49za4k2a0rbjr4gdhy2m7f34sq3"))))
+    (build-system ant-build-system)
+    (arguments
+     (list #:jar-name "eclipse-sisu-maven-plugin.jar"
+           #:source-dir "src"
+           #:tests? #f ;no tests
+           #:phases #~(modify-phases %standard-phases
+                        (replace 'install
+                          (install-from-pom "pom.xml")))))
+    (propagated-inputs (list java-sonatype-oss-parent-pom-9))
+    (inputs (list maven-artifact
+                  maven-plugin-api
+                  maven-plugin-annotations
+                  maven-core
+                  maven-common-artifact-filters
+                  java-slf4j-nop
+                  java-eclipse-sisu-inject
+                  java-plexus-utils
+                  java-plexus-build-api
+                  java-slf4j-api))
+    (home-page "https://www.eclipse.org/sisu/")
+    (synopsis "Maven plugin that generates annotation indexes for Sisu")
+    (description "Maven plugin that generates annotation indexes for Sisu to
+avoid classpath scanning at runtime.")
+    (license license:epl1.0)))
+
 (define java-sisu-inject-parent-pom
   (package
     (inherit java-eclipse-sisu-inject)
-- 
2.34.1

The patch requires "slf4j-nop" package:
  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57724

Thanks,
- Artyom

References:
1. https://github.com/eclipse/sisu.mojos

-- 
Artyom "avp" Poptsov <[email-masked]>
Home page: https://memory-heap.org/~avp/
CADR Hackerspace co-founder: https://cadrspace.ru/
GPG: D0C2 EAC1 3310 822D 98DE  B57C E9C5 A2D9 0898 A02F