From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
To: 56212@debbugs.gnu.org
Subject: [bug#56212] [PATCH] gnu: Add maven-release-api
Date: Sat, 25 Jun 2022 12:26:58 +0300 [thread overview]
Message-ID: <871qvd3xgd.fsf@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 138 bytes --]
Hello,
this patch adds Maven Release API under the name 'maven-release-api', as
well as the private 'maven-release-parent-pom' package.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-maven-release-api.patch --]
[-- Type: text/x-diff, Size: 3257 bytes --]
From f071547eaf36804cfe0fc7ee0ef418e2db1abb7a Mon Sep 17 00:00:00 2001
From: "Artyom V. Poptsov" <poptsov.artyom@gmail.com>
Date: Sat, 25 Jun 2022 12:16:29 +0300
Subject: [PATCH] gnu: Add maven-release-api
* gnu/packages/maven.scm (maven-release-api): New variable.
(maven-release-parent-pom): New variable.
---
gnu/packages/maven.scm | 58 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index e5831ee614..7ff2d6d69e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -3938,3 +3938,61 @@ method and a end of tag by @code{xxxx_()} method.")
(description "@samp{Doxia} is a content generation framework that provides
powerful techniques for generating static and dynamic content, supporting a
variety of markup languages.")))
+
+(define-public maven-release-api
+ (package
+ (name "maven-release-api")
+ (version "3.0.0-M5")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven-release")
+ (commit (string-append "maven-release-" version))))
+ (file-name (git-file-name "maven-release" version))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ ;; XXX: Delete dummy JAR-files.
+ (delete-file-recursively
+ "maven-release-manager/src/test/remote-repository")
+ #t))
+ (sha256
+ (base32
+ "13yxjl29jp4zkb8xvy0b045b5fpqz9nais1jsf4r9krczyxyj96k"))))
+ (build-system ant-build-system)
+ (propagated-inputs (list maven-release-parent-pom))
+ (inputs (list maven-repository-metadata
+ maven-artifact
+ maven-core
+ maven-model
+ java-eclipse-aether-util
+ java-slf4j-api
+ java-plexus-utils))
+ (arguments
+ `(#:jar-name "maven-release-api.jar"
+ #:source-dir "maven-release-api/src/main/java"
+ #:tests? #f ; no tests
+ #:phases (modify-phases %standard-phases
+ (replace 'install
+ (install-from-pom "maven-release-api/pom.xml")))))
+ (home-page "https://maven.apache.org/maven-release/")
+ (synopsis "APIs to implement to extend maven-release-plugin")
+ (description "APIs to implement to extend maven-release-plugin")
+ (license license:asl2.0)))
+
+(define maven-release-parent-pom
+ (package
+ (inherit maven-release-api)
+ (name "maven-release-parent-pom")
+ (arguments
+ `(#:tests? #f ; no tests
+ #:phases (modify-phases %standard-phases
+ (delete 'configure)
+ (delete 'build)
+ (replace 'install
+ (install-pom-file "pom.xml")))))
+ (propagated-inputs
+ (list maven-parent-pom-34))
+ (synopsis "Apache Maven Release (Plugin)")
+ (description "This plugin is used to release a project with Maven, saving
+a lot of repetitive, manual work.")))
--
2.25.1
[-- Attachment #1.3: Type: text/plain, Size: 230 bytes --]
Thanks,
- Artyom
--
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: 487 bytes --]
next reply other threads:[~2022-06-25 9:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-25 9:26 Artyom V. Poptsov [this message]
2022-06-25 11:15 ` [bug#56212] [PATCH] gnu: Add maven-release-api Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871qvd3xgd.fsf@gmail.com \
--to=poptsov.artyom@gmail.com \
--cc=56212@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.