mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
gnu: Add maven-resolver-connector-basic.
* gnu/packages/maven.scm (maven-resolver-connector-basic): New variable.
This commit is contained in:
parent
bca6cf54f4
commit
f70666c9ce
1 changed files with 30 additions and 0 deletions
|
@ -98,3 +98,33 @@ (define-public maven-resolver-util
|
|||
(synopsis "Utility classes for the maven repository system")
|
||||
(description "This package contains a collection of utility classes to
|
||||
ease usage of the repository system.")))
|
||||
|
||||
(define-public maven-resolver-connector-basic
|
||||
(package
|
||||
(inherit maven-resolver-api)
|
||||
(name "maven-resolver-connector-basic")
|
||||
(arguments
|
||||
`(#:jar-name "maven-resolver-connector-basic.jar"
|
||||
#:source-dir "maven-resolver-connector-basic/src/main/java"
|
||||
#:test-dir "maven-resolver-connector-basic/src/test"
|
||||
#:jdk ,icedtea-8
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-before 'build 'generate-sisu
|
||||
(lambda _
|
||||
(mkdir-p "build/classes/META-INF/sisu")
|
||||
(with-output-to-file "build/classes/META-INF/sisu/javax.inject.Named"
|
||||
(lambda _
|
||||
(display "org.eclipse.aether.connector.basic.BasicRepositoryConnectorFactory\n"))))))))
|
||||
(inputs
|
||||
`(("maven-resolver-api" ,maven-resolver-api)
|
||||
("maven-resolver-spi" ,maven-resolver-spi)
|
||||
("maven-resolver-util" ,maven-resolver-util)
|
||||
("java-javax-inject" ,java-javax-inject)))
|
||||
(native-inputs
|
||||
`(("java-junit" ,java-junit)
|
||||
("java-hamcrest-core" ,java-hamcrest-core)
|
||||
("maven-resolver-test-util" ,maven-resolver-test-util)))
|
||||
(synopsis "Maven repository connector implementation")
|
||||
(description "This package contains a repository connector implementation
|
||||
for repositories using URI-based layouts.")))
|
||||
|
|
Loading…
Reference in a new issue