[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
91/110: gnu: Add maven-resources-plugin.
From: |
guix-commits |
Subject: |
91/110: gnu: Add maven-resources-plugin. |
Date: |
Thu, 16 Jul 2020 22:23:37 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 5bebb1e81f97001b2346ea309c969c972f109a94
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 20:22:14 2020 +0200
gnu: Add maven-resources-plugin.
* gnu/packages/maven.scm (maven-resources-plugin): New variable.
---
gnu/packages/maven.scm | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 03206ea..78f9751 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2970,3 +2970,56 @@ build are stored. By default, it is located within the
user's home directory
(description "This component provides an API to filter resources in Maven
projects.")
(license license:asl2.0)))
+
+(define-public maven-resources-plugin
+ (package
+ (name "maven-resources-plugin")
+ (version "3.1.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/apache/"
+ "maven-resources-plugin/archive/"
+ "maven-resources-plugin-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1f5gnjg2xmqfxml6k0ydyd1sxxwzgnb24qn6avcc4mijwd8a84pl"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "maven-resources-plugin.jar"
+ #:source-dir "src/main/java"
+ #:test-dir "src/test"
+ #:tests? #f; test depends on maven-plugin-test-harness
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-plugin.xml
+ (generate-plugin.xml "pom.xml" "resources"
+ "src/main/java/org/apache/maven/plugins/resources"
+ (list
+ (list "ResourcesMojo.java" "CopyResourcesMojo.java")
+ (list "ResourcesMojo.java")
+ (list "ResourcesMojo.java" "TestResourcesMojo.java"))))
+ (replace 'install
+ (install-from-pom "pom.xml")))))
+ (propagated-inputs
+ `(("maven-plugin-api" ,maven-plugin-api)
+ ("maven-core" ,maven-core)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("maven-filtering" ,maven-filtering)
+ ("java-plexus-interpolation" ,java-plexus-interpolation)
+ ("maven-parent-pom" ,maven-parent-pom-31)))
+ (inputs
+ `(("maven-plugin-annotations" ,maven-plugin-annotations)
+ ("java-commons-io" ,java-commons-io)))
+ (native-inputs
+ `(("java-plexus-component-metadata" ,java-plexus-component-metadata)))
+ (home-page "https://maven.apache.org/plugins/maven-resources-plugin")
+ (synopsis "Maven plugin to collect and install resources")
+ (description "The Resources Plugin handles the copying of project resources
+to the output directory. There are two different kinds of resources: main
+resources and test resources. The difference is that the main resources are
+the resources associated to the main source code while the test resources are
+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)))
- 74/110: gnu: Add maven-3.0-repository-metadata., (continued)
- 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, 2020/07/16
- 91/110: gnu: Add maven-resources-plugin.,
guix-commits <=
- 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
- 97/110: gnu: Add maven-compiler-plugin., guix-commits, 2020/07/16