@@ -1256,3 +1256,35 @@ testing frameworks, mocking libraries and UI validation rules.")
JUnit provides assertions for testing expected results, test fixtures for
sharing common test data, and test runners for running tests.")
(license license:epl1.0)))
+
+;
+; codehaus plexus
+;
+
+(define* (codehaus-plexus-url projname version)
+ (let ((projname (string-append "plexus-" projname)))
+ (string-append "https://github.com/codehaus-plexus/" projname
+ "/archive/" projname "-" version ".tar.gz")))
+
+(define-public java-plexus-utils
+ (package
+ (name "java-plexus-utils")
+ (version "3.0.24")
+ (source (origin
+ (method url-fetch)
+ (uri (codehaus-plexus-url "utils" version))
+ (sha256
+ (base32 "1mlwpc6fms24slygv5yvi6fi9hcha2fh0v73p5znpi78bg36i2js"))))
+ (build-system ant-build-system)
+ ; todo: javadoc
+ (arguments
+ `(#:tests? #f ; todo: tests
+ #:jar-name (string-append "plexus-utils-" ,version ".jar")
+ #:src-dir "src/main"))
+ (native-inputs
+ `(("java-junit" ,java-junit)))
+ (home-page "http://codehaus-plexus.github.io/plexus-utils/")
+ (synopsis "Common utilities for the Plexus framework")
+ (description "Various Java utility classes to ease working with strings,
+files, command lines, XML and more.")
+ (license license:asl2.0)))