[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/110: gnu: Add maven-shared-incremental.
From: |
guix-commits |
Subject: |
96/110: gnu: Add maven-shared-incremental. |
Date: |
Thu, 16 Jul 2020 22:23:38 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit c45e7ee688cb48d7742b5093745a9cf811d110bf
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 20:58:23 2020 +0200
gnu: Add maven-shared-incremental.
* gnu/packages/maven.scm (maven-shared-incremental): New variable.
---
gnu/packages/maven.scm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 55 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index dced829..f00e29e 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2979,3 +2979,58 @@ associated to the test source code.
Thus, this allows the separation of resources for the main source code and its
unit tests.")
(license license:asl2.0)))
+
+(define-public maven-shared-incremental
+ (package
+ (name "maven-shared-incremental")
+ (version "1.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append
"https://archive.apache.org/dist/maven/shared/"
+ "maven-shared-incremental-" version
+ "-source-release.zip"))
+ (sha256
+ (base32
+ "03n4nfswyg9ahkz2zx4skcr3ghs01zh95g9js51hc75mfqx9b976"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "shared-incremental.java"
+ #:source-dir "src/main/java"
+ #:test-dir "src/test"
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'change-parent
+ (lambda _
+ (substitute* "pom.xml"
+ (("19") "30"))
+ #t))
+ (add-before 'build 'fix-pom
+ (lambda _
+ (substitute* "pom.xml"
+ (("plexus-component-api") "plexus-component-annotations"))
+ #t))
+ (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))
+ (replace 'install
+ (install-from-pom "pom.xml")))))
+ (propagated-inputs
+ `(("maven-plugin-api" ,maven-plugin-api)
+ ("maven-core" ,maven-core)
+ ("maven-shared-utils" ,maven-shared-utils)
+ ("java-plexus-component-annotations" ,java-plexus-component-annotations)
+ ("maven-parent-pom" ,maven-parent-pom-30)))
+ (native-inputs
+ `(("unzip" ,unzip)
+ ("java-plexus-component-metadata" ,java-plexus-component-metadata)))
+ (home-page "https://maven.apache.org/shared/maven-shared-incremental")
+ (synopsis "Maven Incremental Build support utilities")
+ (description "This package contains various utility classes and plexus
+components for supporting incremental build functionality in maven plugins.")
+ (license license:asl2.0)))
- 70/110: gnu: Add maven-3.0-settings., (continued)
- 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
- 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 <=
- 87/110: gnu: Add maven-artifact-transfer., guix-commits, 2020/07/16
- 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