[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52723] [PATCH 09/26] gnu: java-plexus-cipher: Update to 2.0.
From: |
Julien Lepiller |
Subject: |
[bug#52723] [PATCH 09/26] gnu: java-plexus-cipher: Update to 2.0. |
Date: |
Tue, 21 Dec 2021 23:44:53 +0100 |
* gnu/packages/java.scm (java-plexus-cipher): Update to 2.0.
(java-plexus-cipher-1.7): New variable.
---
gnu/packages/java.scm | 58 +++++++++++++++++++++++++++++++++----------
1 file changed, 45 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index d22cb2600d..fd7dc76fe9 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -4700,17 +4700,58 @@ (define-public java-plexus-component-metadata
(define-public java-plexus-cipher
(package
(name "java-plexus-cipher")
- (version "1.7")
+ (version "2.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/codehaus-plexus/plexus-cipher")
(commit (string-append "plexus-cipher-" version))))
(file-name (git-file-name name version))
+ (sha256
+ (base32
+ "01fipdsm090n8j4207fl8kbxznkgkmkkgyazf53hm1nwn6na5aai"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "plexus-cipher.jar"
+ #:source-dir "src/main/java"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-javax.inject.Named
+ (lambda _
+ (mkdir-p "build/classes/META-INF/sisu")
+ (with-output-to-file
"build/classes/META-INF/sisu/javax.inject.Named"
+ (lambda _
+ (display
+
"org.sonatype.plexus.components.cipher.DefaultPlexusCipher\n")))
+ #t))
+ (replace 'install (install-from-pom "pom.xml")))))
+ (inputs
+ `(("java-cdi-api" ,java-cdi-api)
+ ("java-javax-inject" ,java-javax-inject)))
+ (propagated-inputs
+ `(("java-sonatype-spice-parent-pom" ,java-sonatype-spice-parent-pom-15)
+ ("java-eclipse-sisu-inject" ,java-eclipse-sisu-inject)))
+ (native-inputs
+ `(("java-junit" ,java-junit)))
+ (home-page "https://github.com/sonatype/plexus-cipher")
+ (synopsis "Encryption/decryption Component")
+ (description "Plexus-cipher contains a component to deal with encryption
+and decryption.")
+ (license license:asl2.0)))
+
+(define-public java-plexus-cipher-1.7
+ (package
+ (inherit java-plexus-cipher)
+ (version "1.7")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/codehaus-plexus/plexus-cipher")
+ (commit (string-append "plexus-cipher-" version))))
+ (file-name (git-file-name "java-plexus-cipher" version))
(sha256
(base32
"0m638nzlxbmnbcj5cwdpgs326ab584yv0k803zlx37r6iqwvf6b0"))))
- (build-system ant-build-system)
(arguments
`(#:jar-name "plexus-cipher.jar"
#:source-dir "src/main/java"
@@ -4732,17 +4773,8 @@ (define-public java-plexus-cipher
(("provided") "test"))
#t))
(replace 'install (install-from-pom "pom.xml")))))
- (inputs
- (list java-cdi-api java-javax-inject))
(propagated-inputs
- (list java-sonatype-spice-parent-pom-15))
- (native-inputs
- (list java-junit))
- (home-page "https://github.com/sonatype/plexus-cipher")
- (synopsis "Encryption/decryption Component")
- (description "Plexus-cipher contains a component to deal with encryption
-and decryption.")
- (license license:asl2.0)))
+ (list java-sonatype-spice-parent-pom-15))))
(define-public java-plexus-java
(package
@@ -5089,7 +5121,7 @@ (define-public java-plexus-sec-dispatcher
#t))
(replace 'install (install-from-pom "pom.xml")))))
(propagated-inputs
- (list java-plexus-utils java-plexus-cipher
+ (list java-plexus-utils java-plexus-cipher-1.7
java-sonatype-spice-parent-pom-12))
(native-inputs
`(("java-modello-core" ,java-modello-core)
--
2.34.0
- [bug#52723] [PATCH] gnu: maven: Update to 3.8.4., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 01/26] gnu: Add apache-parent-pom-23., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 05/26] gnu: maven-parent-pom: Fix dependency versions., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 03/26] gnu: Add plexus-parent-pom-8., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 04/26] gnu: Add maven-parent-pom-34., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 02/26] gnu: Add apache-commons-parent-pom-52., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 06/26] gnu: java-commons-codec: Use latest commons parent., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 07/26] gnu: java-plexus-utils: Default to the newer one., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 09/26] gnu: java-plexus-cipher: Update to 2.0.,
Julien Lepiller <=
- [bug#52723] [PATCH 11/26] gnu: Add java-jvnet-parent-pom-3., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 13/26] gnu: java-eclipse-sisu-inject: Update to 0.3.5., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 12/26] gnu: java-jsr250: Use proper source., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 24/26] gnu: maven-wagon-provider-api: Update to 3.4.3., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 19/26] gnu: Add java-sonatype-aether-test-util-1.13., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 14/26] gnu: java-eclipse-sisu-plexus: Update to 0.3.5., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 15/26] gnu: maven-common-artifact-filters: Update to 3.2.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 18/26] gnu: Add java-sonatype-aether-spi-1.13., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 16/26] gnu: java-plexus-container-default-bootstrap: Update to 2.1.0., Julien Lepiller, 2021/12/21
- [bug#52723] [PATCH 21/26] gnu: maven-dependency-tree: Update to 3.1.0., Julien Lepiller, 2021/12/21