[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
87/110: gnu: Add maven-artifact-transfer.
From: |
guix-commits |
Subject: |
87/110: gnu: Add maven-artifact-transfer. |
Date: |
Thu, 16 Jul 2020 22:23:35 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit ea806229c7f66bdb389e52e81dddfba72be31abe
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 19:22:15 2020 +0200
gnu: Add maven-artifact-transfer.
* gnu/packages/maven.scm (maven-artifact-transfer): New variable.
---
gnu/packages/maven.scm | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 560c94e..9940558 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2761,3 +2761,59 @@ Maven project dependencies.")
("maven-enforcer-rules" ,maven-enforcer-rules)
("maven-plugin-annotations" ,maven-plugin-annotations)
("maven-enforcer-parent-pom" ,maven-enforcer-parent-pom)))))
+
+(define-public maven-artifact-transfer
+ (package
+ (name "maven-artifact-transfer")
+ (version "0.12.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "mirror://apache/maven/shared/"
+ "maven-artifact-transfer-" version
+ "-source-release.zip"))
+ (sha256
+ (base32
+ "0mkdjr3wnvaxqaq68sy7h4mqlq3xgwwp5s2anj5vbxfy4bsc1ivj"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:tests? #f; require mockito 2
+ #:jar-name "maven-artifact-transfer.jar"
+ #:source-dir "src/main/java"
+ #: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 "pom.xml")))))
+ (propagated-inputs
+ `(("java-commons-codec" ,java-commons-codec)
+ ("maven-artifact" ,maven-3.0-artifact)
+ ("maven-core" ,maven-3.0-core)
+ ("maven-common-artifact-filters" ,maven-common-artifact-filters)
+ ("java-plexus-component-annotations" ,java-plexus-component-annotations)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("java-slf4j-api" ,java-slf4j-api)
+ ("java-plexus-classworlds" ,java-plexus-classworlds)
+ ("java-sonatype-aether-api" ,java-sonatype-aether-api)
+ ("java-eclipse-aether-api" ,java-eclipse-aether-api)
+ ("java-eclipse-aether-util" ,java-eclipse-aether-util)
+ ("java-eclipse-aether-impl" ,java-eclipse-aether-impl)))
+ (native-inputs
+ `(("unzip" ,unzip)
+ ("java-plexus-component-metadata" ,java-plexus-component-metadata)))
+ (home-page "https://maven.apache.org/shared/maven-artifact-transfer")
+ (synopsis "API to install, deploy and resolve artifacts in Maven")
+ (description "This package contains an API to install, deploy and resolve
+artifacts in Maven 3.")
+ (license license:asl2.0)))
- 73/110: gnu: Add maven-3.0-plugin-api., (continued)
- 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
- 89/110: gnu: Add maven-install-plugin., guix-commits, 2020/07/16
- 95/110: gnu: Add java-plexus-compiler-manager., guix-commits, 2020/07/16
- 96/110: gnu: Add maven-shared-incremental., guix-commits, 2020/07/16
- 87/110: gnu: Add maven-artifact-transfer.,
guix-commits <=
- 91/110: gnu: Add maven-resources-plugin., guix-commits, 2020/07/16
- 94/110: gnu: add java-plexus-java., guix-commits, 2020/07/16
- 100/110: gnu: Add java-surefire-api., guix-commits, 2020/07/16
- 109/110: gnu: Add maven-jar-plugin., guix-commits, 2020/07/16
- 63/110: gnu: Add java-eclipse-aether-api., guix-commits, 2020/07/16
- 68/110: gnu: maven-3.0-artifact: New variable., guix-commits, 2020/07/16
- 82/110: gnu: Add maven-dependency-tree., guix-commits, 2020/07/16
- 99/110: gnu: Add maven-shared-utils-3.1., guix-commits, 2020/07/16
- 110/110: guix: Add maven-build-system., guix-commits, 2020/07/16
- 93/110: gnu: java-plexus-component-metadata: Move to java.scm., guix-commits, 2020/07/16