[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
77/110: gnu: Add maven-3.0-compat.
From: |
guix-commits |
Subject: |
77/110: gnu: Add maven-3.0-compat. |
Date: |
Thu, 16 Jul 2020 22:23:32 -0400 (EDT) |
roptat pushed a commit to branch master
in repository guix.
commit 1203b94f7ec4b9d18564895065d584b33c3c9070
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat Jun 27 16:26:53 2020 +0200
gnu: Add maven-3.0-compat.
* gnu/packages/maven.scm (maven-3.0-compat): New variable.
---
gnu/packages/maven.scm | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm
index 68e87fc..3a18df9 100644
--- a/gnu/packages/maven.scm
+++ b/gnu/packages/maven.scm
@@ -2377,3 +2377,40 @@ reporting or the build process.")))
("java-plexus-container-default" ,java-plexus-container-default)
("java-plexus-sec-dispatcher" ,java-plexus-sec-dispatcher)
("maven-pom" ,maven-3.0-pom)))))
+
+(define-public maven-3.0-compat
+ (package
+ (inherit maven-compat)
+ (version (package-version maven-3.0-pom))
+ (source (package-source maven-3.0-pom))
+ (arguments
+ `(#:tests? #f ;require an old version of java-easymock
+ ,@(substitute-keyword-arguments (package-arguments maven-compat)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'install 'fix-pom
+ (lambda _
+ (substitute* "pom.xml"
+ (("org.sonatype.sisu") "org.codehaus.plexus")
+ (("sisu-inject-plexus") "plexus-container-default"))
+ #t))
+ (delete 'build-tests))))))
+ (propagated-inputs
+ `(("maven-model" ,maven-3.0-model)
+ ("maven-model-builder" ,maven-3.0-model-builder)
+ ("maven-settings" ,maven-3.0-settings)
+ ("maven-settings-builder" ,maven-3.0-settings-builder)
+ ("maven-artifact" ,maven-3.0-artifact)
+ ("maven-core" ,maven-3.0-core)
+ ("maven-aether-provider" ,maven-3.0-aether-provider)
+ ("maven-repository-metadata" ,maven-3.0-repository-metadata)
+ ("java-sonatype-aether-api" ,java-sonatype-aether-api)
+ ("java-sonatype-aether-util" ,java-sonatype-aether-util)
+ ("java-sonatype-aether-impl" ,java-sonatype-aether-impl)
+ ("java-plexus-utils" ,java-plexus-utils)
+ ("java-plexus-interpolation" ,java-plexus-interpolation)
+ ("java-eclipse-sisu-plexus" ,java-eclipse-sisu-plexus)
+ ("java-plexus-component-annotations" ,java-plexus-component-annotations)
+ ("java-plexus-container-default" ,java-plexus-container-default)
+ ("maven-wagon-provider-api" ,maven-wagon-provider-api)
+ ("maven-pom" ,maven-3.0-pom)))))
- 76/110: gnu: Add maven-3.0-core., (continued)
- 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, 2020/07/16
- 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 <=
- 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, 2020/07/16
- 94/110: gnu: add java-plexus-java., guix-commits, 2020/07/16