mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: maven: Use maven-slf4j-provider instead of slf4j-simple.
Maven uses its own slf4j implementation, not the default one. The main difference is the color on the output. * gnu/packages/maven.scm (maven-wagon-http, maven-embedder, maven-compat) (maven): Replace slf4j-simple with maven-slf4j-provider.
This commit is contained in:
parent
e0a6b25969
commit
9aae8a3e0d
1 changed files with 8 additions and 9 deletions
|
@ -1088,6 +1088,7 @@ (define-public maven-wagon-http
|
|||
("java-plexus-cli" ,java-plexus-cli)
|
||||
("maven-plugin-api" ,maven-plugin-api)
|
||||
("maven-plugin-annotations" ,maven-plugin-annotations)
|
||||
("maven-slf4j-provider" ,maven-slf4j-provider)
|
||||
("maven-core" ,maven-core)
|
||||
("maven-model" ,maven-model)
|
||||
("java-commons-cli" ,java-commons-cli)
|
||||
|
@ -1106,7 +1107,6 @@ (define-public maven-wagon-http
|
|||
("java-commons-codec" ,java-commons-codec)
|
||||
("java-commons-io" ,java-commons-io)
|
||||
("java-jsoup" ,java-jsoup)
|
||||
("java-slf4j-simple" ,java-slf4j-simple)
|
||||
,@(package-native-inputs maven-wagon-provider-api)))
|
||||
(synopsis "Wagon provider that gets and puts artifacts through HTTP(S)")
|
||||
(description "Maven Wagon is a transport abstraction that is used in Maven's
|
||||
|
@ -1874,6 +1874,7 @@ (define (modello-single-mode file version mode)
|
|||
("maven-settings" ,maven-settings)
|
||||
("maven-settings-builder" ,maven-settings-builder)
|
||||
("maven-shared-utils" ,maven-shared-utils)
|
||||
("maven-slf4j-provider" ,maven-slf4j-provider)
|
||||
("java-plexus-classworlds" ,java-plexus-classworlds)
|
||||
("java-plexus-util" ,java-plexus-utils)
|
||||
("java-eclipse-sisu-plexus" ,java-eclipse-sisu-plexus)
|
||||
|
@ -1891,7 +1892,6 @@ (define (modello-single-mode file version mode)
|
|||
("java-guice" ,java-guice)
|
||||
("java-javax-inject" ,java-javax-inject)
|
||||
("java-slf4j-api" ,java-slf4j-api)
|
||||
("java-slf4j-simple" ,java-slf4j-simple)
|
||||
("java-jsr250" ,java-jsr250)))
|
||||
(native-inputs
|
||||
`(("java-asm-8" ,java-asm-8)
|
||||
|
@ -2122,8 +2122,8 @@ (define (modello-single-mode file version mode)
|
|||
("java-commons-lang3" ,java-commons-lang3)
|
||||
("java-aop" ,java-aopalliance)
|
||||
("maven-resolver-provider" ,maven-resolver-provider)
|
||||
("maven-slf4j-provider" ,maven-slf4j-provider)
|
||||
("java-slf4j-api" ,java-slf4j-api)
|
||||
("java-slf4j-simple" ,java-slf4j-simple)
|
||||
,@(package-inputs java-slf4j-api)))
|
||||
(description "Apache Maven is a software project management and comprehension
|
||||
tool. This package contains Maven2 classes maintained as compatibility
|
||||
|
@ -2161,7 +2161,8 @@ (define-public maven
|
|||
"maven-repository-metadata" "maven-shared-utils" "maven-resolver-api"
|
||||
"maven-resolver-spi" "maven-resolver-util" "maven-resolver-impl"
|
||||
"maven-resolver-connector-basic" "maven-resolver-provider"
|
||||
"maven-resolver-transport-wagon" "maven-wagon-provider-api"
|
||||
"maven-resolver-transport-wagon" "maven-slf4j-provider"
|
||||
"maven-wagon-provider-api"
|
||||
"maven-wagon-file" "maven-wagon-http" "java-commons-logging-minimal"
|
||||
"java-httpcomponents-httpclient" "java-httpcomponents-httpcore"
|
||||
"maven-wagon-http-shared" "maven-wagon-tck-http"
|
||||
|
@ -2171,8 +2172,7 @@ (define-public maven
|
|||
"java-plexus-utils" "java-plexus-interpolation"
|
||||
"java-plexus-sec-dispatcher" "java-plexus-cipher" "java-guava"
|
||||
"java-jansi" "java-jsr250" "java-cdi-api" "java-commons-cli"
|
||||
"java-commons-io" "java-commons-lang3" "java-slf4j-api"
|
||||
"java-slf4j-simple"))))
|
||||
"java-commons-io" "java-commons-lang3" "java-slf4j-api"))))
|
||||
(substitute* "apache-maven/src/bin/mvn"
|
||||
(("cygwin=false;")
|
||||
(string-append
|
||||
|
@ -2218,6 +2218,7 @@ (define-public maven
|
|||
maven-resolver-connector-basic
|
||||
maven-resolver-provider
|
||||
maven-resolver-transport-wagon
|
||||
maven-slf4j-provider
|
||||
maven-wagon-provider-api
|
||||
maven-wagon-file
|
||||
maven-wagon-http
|
||||
|
@ -2245,9 +2246,7 @@ (define-public maven
|
|||
java-commons-cli
|
||||
java-commons-io
|
||||
java-commons-lang3
|
||||
java-slf4j-api
|
||||
;; TODO: replace with maven-slf4j-provider
|
||||
java-slf4j-simple))
|
||||
java-slf4j-api))
|
||||
(propagated-inputs
|
||||
(list coreutils which))
|
||||
(description "Apache Maven is a software project management and comprehension
|
||||
|
|
Loading…
Reference in a new issue