The @code{#:maven-plugins} argument is a list of maven plugins used during
the build, with the same format as the @code{inputs} fields of the package
-declaration. Its default value is @code{%default-maven-plugins} which is
+declaration. Its default value is @code{(default-maven-plugins)} which is
also exported.
@end defvr
#:use-module (srfi srfi-1)
#:export (%maven-build-system-modules
default-maven
- %default-maven-plugins
+ default-maven-plugins
%default-exclude
lower
maven-build
(let ((jdk-mod (resolve-interface '(gnu packages java))))
(module-ref jdk-mod 'icedtea)))
-(define %default-maven-plugins
+(define (default-maven-plugins)
`(("maven-compiler-plugin" ,(default-maven-compiler-plugin))
("maven-jar-plugin" ,(default-maven-jar-plugin))
("maven-resources-plugin" ,(default-maven-resources-plugin))
#:key source inputs native-inputs outputs system target
(maven (default-maven))
(jdk (default-jdk))
- (maven-plugins %default-maven-plugins)
+ (maven-plugins (default-maven-plugins))
(local-packages '())
(exclude %default-exclude)
#:allow-other-keys