diff options
author | Julien Lepiller <julien@lepiller.eu> | 2018-05-28 22:46:39 +0200 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2018-06-09 23:25:35 +0200 |
commit | 5aa4ea6a2baf3d25f920c4c706a1b6d99f68ae27 (patch) | |
tree | 8caf72b7893497a02e97456a8ef0b38af6dc3065 /gnu/packages | |
parent | b218504026901904b1f4d183b6581d215d763b90 (diff) | |
download | patches-5aa4ea6a2baf3d25f920c4c706a1b6d99f68ae27.tar patches-5aa4ea6a2baf3d25f920c4c706a1b6d99f68ae27.tar.gz |
gnu: Add maven-resolver-provider.
* gnu/packages/maven.scm (maven-resolver-provider): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/maven.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/maven.scm b/gnu/packages/maven.scm index f2ef42901a..473847c044 100644 --- a/gnu/packages/maven.scm +++ b/gnu/packages/maven.scm @@ -526,3 +526,39 @@ inheritance, interpolation, @dots{}"))) (description "Apache Maven is a software project management and comprehension tool. This package contains strictly the model for Maven Repository Metadata, so really just plain objects."))) + +(define-public maven-resolver-provider + (package + (inherit maven-artifact) + (name "maven-resolver-provider") + (arguments + `(#:jar-name "maven-resolver-provider.jar" + #:source-dir "maven-resolver-provider/src/main/java" + #:test-dir "maven-resolver-provider/src/test" + #:jdk ,icedtea-8 + #:tests? #f; dependency loop on maven-core (@Component RepositorySystem) + #:phases + (modify-phases %standard-phases + (add-before 'build 'generate-sisu-named + (lambda _ + (mkdir-p "build/classes/META-INF/sisu") + (chmod "./sisu.sh" #o755) + (invoke "./sisu.sh" "maven-resolver-provider/src/main/java" + "build/classes/META-INF/sisu/javax.inject.Named") + #t))))) + (inputs + `(("maven-resolver-spi" ,maven-resolver-spi) + ("maven-resolver-api" ,maven-resolver-api) + ("maven-resolver-impl" ,maven-resolver-impl) + ("maven-resolver-util" ,maven-resolver-util) + ("maven-model" ,maven-model) + ("maven-model-builder" ,maven-model-builder) + ("maven-builder-support" ,maven-builder-support) + ("maven-repository-metadata" ,maven-repository-metadata) + ("java-plexus-utils" ,java-plexus-utils) + ("java-plexus-component-annotations" ,java-plexus-component-annotations) + ("java-commons-lang3" ,java-commons-lang3) + ("java-guice" ,java-guice) + ("java-guava" ,java-guava) + ("java-eclipse-sisu-inject" ,java-eclipse-sisu-inject) + ("java-javax-inject" ,java-javax-inject))))) |