gnu: Add java-plexus-component-metadata.

* gnu/packages/maven.scm (java-plexus-component-metadata): New variable.
This commit is contained in:
Julien Lepiller 2018-03-17 16:33:01 +01:00
parent a59d5f3542
commit 9f25cba65a
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C

View File

@ -24,7 +24,53 @@
#:use-module (guix build-system ant)
#:use-module (gnu packages)
#:use-module (gnu packages compression)
#:use-module (gnu packages java))
#:use-module (gnu packages java)
#:use-module (gnu packages xml))
(define-public java-plexus-component-metadata
(package
(inherit java-plexus-container-default)
(name "java-plexus-component-metadata")
(arguments
`(#:jar-name "plexus-component-metadata.jar"
#:source-dir "src/main/java"
#:test-dir "src/test"
#:jdk ,icedtea-8
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir
(lambda _
(chdir "plexus-component-metadata")
#t))
(add-before 'build 'copy-resources
(lambda _
(copy-recursively "src/main/resources"
"build/classes/")
#t)))))
(inputs
`(("java-plexus-container-default" ,java-plexus-container-default)
("java-plexu-component-annotations" ,java-plexus-component-annotations)
("java-plexus-utils" ,java-plexus-utils)
("java-plexus-cli" ,java-plexus-cli)
("java-plexus-classworlds" ,java-plexus-classworlds)
("maven-plugin-api" ,maven-plugin-api)
("maven-plugin-annotations" ,maven-plugin-annotations)
("maven-core-bootstrap" ,maven-core-bootstrap)
("maven-model" ,maven-model)
("java-commons-cli" ,java-commons-cli)
("java-qdox" ,java-qdox)
("java-jdom2" ,java-jdom2)
("java-asm" ,java-asm)))
(native-inputs
`(("java-junit" ,java-junit)
("java-guava" ,java-guava)
("java-geronimo-xbean-reflect" ,java-geronimo-xbean-reflect)))
(synopsis "Inversion-of-control container for Maven")
(description "The Plexus project provides a full software stack for creating
and executing software projects. Based on the Plexus container, the
applications can utilise component-oriented programming to build modular,
reusable components that can easily be assembled and reused. This package
provides the Maven plugin generating the component metadata.")))
(define-public maven-resolver-api
(package