all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57726] [PATCH] gnu: Add java-eclipse-sisu-maven-plugin.
@ 2022-09-11  9:11 Artyom V. Poptsov
  2022-09-11 10:05 ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: Artyom V. Poptsov @ 2022-09-11  9:11 UTC (permalink / raw)
  To: 57726


[-- Attachment #1.1: Type: text/plain, Size: 62 bytes --]

Hello,

this patch adds "java-eclipse-sisu-maven-plugin". [1]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-java-eclipse-sisu-maven-plugin.patch --]
[-- Type: text/x-diff, Size: 2450 bytes --]

From a39872e7029433fe0ba0198dbfdf7182015a74fc Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
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


[-- Attachment #1.3: Type: text/plain, Size: 383 bytes --]


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 <poptsov.artyom@gmail.com>
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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 519 bytes --]

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-09-24 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-11  9:11 [bug#57726] [PATCH] gnu: Add java-eclipse-sisu-maven-plugin Artyom V. Poptsov
2022-09-11 10:05 ` Julien Lepiller
2022-09-16 21:28   ` Artyom V. Poptsov
2022-09-24 13:52     ` Ludovic Courtès
2022-09-24 17:07       ` bug#57726: " Julien Lepiller

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.