gnu: java-jarjar: unbundle maven-plugin-api.
* gnu/packages/java.scm (java-jarjar): Unbundle maven-plugin-api.master
parent
29428e10b8
commit
e0ee843f77
|
@ -3544,10 +3544,10 @@ documentation tools.")
|
||||||
(snippet
|
(snippet
|
||||||
'(begin
|
'(begin
|
||||||
;; Delete bundled thirds-party jar archives.
|
;; Delete bundled thirds-party jar archives.
|
||||||
;; TODO: unbundle maven-plugin-api.
|
(delete-file-recursively "lib")
|
||||||
(delete-file "lib/asm-4.0.jar")
|
(delete-file "src/test/enumtest.jar")
|
||||||
(delete-file "lib/asm-commons-4.0.jar")
|
;; the CLASSPATH needs this directory, create an empty one
|
||||||
(delete-file "lib/junit-4.8.1.jar")
|
(mkdir-p "lib")
|
||||||
#t))))
|
#t))))
|
||||||
(build-system ant-build-system)
|
(build-system ant-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -3576,6 +3576,13 @@ documentation tools.")
|
||||||
"<include name=\"org/objectweb/asm/"
|
"<include name=\"org/objectweb/asm/"
|
||||||
"commons/SignatureRemapper.class\"/>")))
|
"commons/SignatureRemapper.class\"/>")))
|
||||||
#t))
|
#t))
|
||||||
|
(add-before 'build 'remove-maven-dependency
|
||||||
|
(lambda _
|
||||||
|
;; We do not need to build jarjar as a maven plugin just yet, so
|
||||||
|
;; remove this file. Maven requires jarjar (but not that plugin),
|
||||||
|
;; so removing it improves the bootstrap.
|
||||||
|
(delete-file "src/main/com/tonicsystems/jarjar/JarJarMojo.java")
|
||||||
|
#t))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let ((target (string-append (assoc-ref outputs "out")
|
(let ((target (string-append (assoc-ref outputs "out")
|
||||||
|
|
Reference in New Issue