gnu: maven-plugin-annotations: Install from pom file.
* gnu/packages/maven.scm (maven-plugin-annotations): Install from pom file.
This commit is contained in:
parent
ea806229c7
commit
f738576086
1 changed files with 22 additions and 3 deletions
|
@ -661,9 +661,14 @@ replacement with improvements.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:jar-name "maven-plugin-annotations.jar"
|
`(#:jar-name "maven-plugin-annotations.jar"
|
||||||
#:source-dir "maven-plugin-annotations/src/main/java"
|
#:source-dir "maven-plugin-annotations/src/main/java"
|
||||||
#:tests? #f))
|
#:tests? #f
|
||||||
(inputs
|
#:phases
|
||||||
`(("maven-artifact" ,maven-artifact)))
|
(modify-phases %standard-phases
|
||||||
|
(replace 'install
|
||||||
|
(install-from-pom "maven-plugin-annotations/pom.xml")))))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("maven-artifact" ,maven-artifact)
|
||||||
|
("maven-plugin-tools-parent-pom" ,maven-plugin-tools-parent-pom)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("unzip" ,unzip)))
|
`(("unzip" ,unzip)))
|
||||||
(home-page "https://maven.apache.org/plugin-tools/maven-plugin-annotations/")
|
(home-page "https://maven.apache.org/plugin-tools/maven-plugin-annotations/")
|
||||||
|
@ -671,6 +676,20 @@ replacement with improvements.")
|
||||||
(description "This package contains Java 5 annotations for use in Mojos.")
|
(description "This package contains Java 5 annotations for use in Mojos.")
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
|
(define maven-plugin-tools-parent-pom
|
||||||
|
(package
|
||||||
|
(inherit maven-plugin-annotations)
|
||||||
|
(name "maven-plugin-tools-parent-pom")
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure)
|
||||||
|
(delete 'build)
|
||||||
|
(replace 'install
|
||||||
|
(install-pom-file "pom.xml")))))
|
||||||
|
(propagated-inputs '())))
|
||||||
|
|
||||||
(define-public maven-wagon-provider-api
|
(define-public maven-wagon-provider-api
|
||||||
(package
|
(package
|
||||||
(name "maven-wagon-provider-api")
|
(name "maven-wagon-provider-api")
|
||||||
|
|
Reference in a new issue