diff options
author | Julien Lepiller <julien@lepiller.eu> | 2018-05-27 23:44:21 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-06-09 23:25:13 +0200 |
commit | f084641a01e160f20eea7697bef0f75aa83e441f (patch) | |
tree | 79c6c6c294bddf898ce93234249e488e2075d9aa /gnu | |
parent | d55503a6ab5f4cf9af58a0f04c4f1a91f516174a (diff) | |
download | patches-f084641a01e160f20eea7697bef0f75aa83e441f.tar patches-f084641a01e160f20eea7697bef0f75aa83e441f.tar.gz |
gnu: Add maven-builder-support.
* gnu/packages/maven.scm (maven-builder-support): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/maven.scm | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index fc04656324..028f2b2aa7 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -216,3 +216,32 @@ and compares versions:") (description "Apache Maven is a software project management and comprehension tool. This package contains the model for Maven @dfn{POM} (Project Object Model), so really just plain Java objects."))) + +(define-public maven-builder-support + (package + (inherit maven-artifact) + (name "maven-builder-support") + (arguments + `(#:jar-name "maven-builder-support.jar" + #:source-dir "maven-builder-support/src/main/java" + #:jdk ,icedtea-8 + #:test-dir "maven-builder-support/src/test" + #:phases + (modify-phases %standard-phases + (add-before 'check 'fix-paths + (lambda _ + (with-directory-excursion "maven-builder-support/src/test/java" + (substitute* + '("org/apache/maven/building/FileSourceTest.java" + "org/apache/maven/building/UrlSourceTest.java") + (("target/test-classes") "maven-builder-support/src/test/resources"))) + #t))))) + (inputs + `(("java-plexus-utils" ,java-plexus-utils) + ("java-commons-lang3" ,java-commons-lang3))) + (native-inputs + `(("java-junit" ,java-junit) + ("java-hamcrest-core" ,java-hamcrest-core))) + (description "Apache Maven is a software project management and comprehension +tool. This package contains a support library for descriptor builders (model, +setting, toolchains)"))) |