[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
75/110: gnu: Add maven-3.0-aether-provider.
From: |
guix-commits |
Subject: |
75/110: gnu: Add maven-3.0-aether-provider. |
Date: |
Thu, 16 Jul 2020 22:23:32 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 65f0946a6ccae37341bcf0704f69ee780dcc2337
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 16:19:01 2020 +0200
gnu: Add maven-3.0-aether-provider.
* gnu/packages/maven.scm (maven-3.0-aether-provider): New variable.
---
gnu/packages/maven.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 2c18e17..409da67 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2242,3 +2242,41 @@ reporting or the build process.")))
`("maven-pom" ,maven-3.0-pom)
input))
(package-propagated-inputs maven-repository-metadata)))))
+
+(define-public maven-3.0-aether-provider
+ (package
+ (inherit maven-3.0-pom)
+ (name "maven-aether-provider")
+ (arguments
+ `(#:jar-name "maven-aether-provider.jar"
+ #:source-dir "maven-aether-provider/src/main/java"
+ #:tests? #f; no tests in 3.0
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'generate-metadata
+ (lambda _
+ (invoke "java" "-cp" (string-append (getenv "CLASSPATH")
":build/classes")
+ "org.codehaus.plexus.metadata.PlexusMetadataGeneratorCli"
+ "--source" "src/main/java"
+ "--output" "build/classes/META-INF/plexus/components.xml"
+ "--classes" "build/classes"
+ "--descriptors" "build/classes/META-INF")
+ #t))
+ (add-after 'generate-metadata 'rebuild
+ (lambda _
+ (invoke "ant" "jar")
+ #t))
+ (replace 'install
+ (install-from-pom "maven-aether-provider/pom.xml")))))
+ (propagated-inputs
+ `(("maven-model" ,maven-3.0-model)
+ ("maven-model-builder" ,maven-3.0-model-builder)
+ ("maven-repository-metadata" ,maven-3.0-repository-metadata)
+ ("java-sonatype-aether-api" ,java-sonatype-aether-api)
+ ("java-sonatype-aether-spi" ,java-sonatype-aether-spi)
+ ("java-sonatype-aether-impl" ,java-sonatype-aether-impl)
+ ("java-plexus-component-annotation" ,java-plexus-component-annotations)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("maven-pom" ,maven-3.0-pom)))
+ (native-inputs
+ `(("java-plexus-component-metadata" ,java-plexus-component-metadata)))))
- 64/110: gnu: Add java-eclipse-aether-spi., (continued)
- 64/110: gnu: Add java-eclipse-aether-spi., guix-commits, 2020/07/16
- 72/110: gnu: Add maven-3.0-model-builder., guix-commits, 2020/07/16
- 79/110: gnu: add maven-shared-io., guix-commits, 2020/07/16
- 59/110: gnu: Add java-sonatype-aether-spi., guix-commits, 2020/07/16
- 69/110: gnu: Add maven-3.0-model., guix-commits, 2020/07/16
- 71/110: gnu: Add maven-3.0-settings-builder., guix-commits, 2020/07/16
- 76/110: gnu: Add maven-3.0-core., guix-commits, 2020/07/16
- 78/110: gnu: Add maven-shared-utils-3.0., guix-commits, 2020/07/16
- 86/110: gnu: Add maven-enforcer-plugin., guix-commits, 2020/07/16
- 67/110: gnu: Add java-eclipse-aether-impl., guix-commits, 2020/07/16
- 75/110: gnu: Add maven-3.0-aether-provider.,
guix-commits <=
- 61/110: gnu: Add java-sonatype-aether-util., guix-commits, 2020/07/16
- 65/110: gnu: Add java-eclipse-aether-test-util., guix-commits, 2020/07/16
- 70/110: gnu: Add maven-3.0-settings., guix-commits, 2020/07/16
- 73/110: gnu: Add maven-3.0-plugin-api., guix-commits, 2020/07/16
- 74/110: gnu: Add maven-3.0-repository-metadata., guix-commits, 2020/07/16
- 77/110: gnu: Add maven-3.0-compat., guix-commits, 2020/07/16
- 80/110: gnu: Add maven-file-management., guix-commits, 2020/07/16
- 81/110: gnu: Add maven-archiver., guix-commits, 2020/07/16
- 83/110: gnu: Add maven-common-artifact-filters., guix-commits, 2020/07/16
- 84/110: gnu: Add maven-enforcer-api., guix-commits, 2020/07/16