;; unable to find valid certification path to requested target
"**/HttpsWagonPreemptiveTest.java"
"**/HttpsWagonTest.java"
+ ;; Timeout
+ "**/HugeFileDownloadTest.java"
;; Injection errors
"**/TckTest.java")
#:jdk ,icedtea-8
(name "maven-resources-plugin")
(version "3.1.0")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/apache/"
- "maven-resources-plugin/archive/"
- "maven-resources-plugin-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven-resources-plugin")
+ (commit (string-append "maven-resources-plugin-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1f5gnjg2xmqfxml6k0ydyd1sxxwzgnb24qn6avcc4mijwd8a84pl"))))
+ "090k5j2y7ak54czfjjg3v7pdmdlgd96fbs91d1fd3vslm9zzndg8"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "maven-resources-plugin.jar"
(name "maven-compiler-plugin")
(version "3.8.1")
(source (origin
- (method url-fetch)
- (uri (string-append "https://github.com/apache/"
- "maven-compiler-plugin/archive/"
- "maven-compiler-plugin-" version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven-compiler-plugin")
+ (commit (string-append "maven-compiler-plugin-" version))))
+ (file-name (git-file-name name version))
(sha256
(base32
- "018d9qwc4cd6k7a8kvhvxjmzbzd2ifdf7m36wqjfq42010js1mv1"))))
+ "0jkbq02vykd09ws8k9bzqxv6fjrpmir8gcxydbmj05kkhl242bma"))))
(build-system ant-build-system)
(arguments
`(#:jar-name "maven-compiler-plugin.jar"
(description "The Surefire Plugin is used during the test phase of the
build lifecycle to execute the unit tests of an application. It generates
reports in two different file formats, plain text and xml.")))
+
+(define-public maven-jar-plugin
+ (package
+ (name "maven-jar-plugin")
+ (version "3.2.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/apache/maven-jar-plugin")
+ (commit (string-append "maven-jar-plugin-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "04y2rlmcabmc55ljqlkgbb5xx94a59cz1dvrnpfj1vzz024pqkyg"))))
+ (build-system ant-build-system)
+ (arguments
+ `(#:jar-name "maven-jar-plugin.jar"
+ #:source-dir "src/main/java"
+ #:tests? #f; test depends on maven-plugin-test-harness
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'build 'generate-plugin.xml
+ (generate-plugin.xml "pom.xml"
+ "jar"
+ "src/main/java/org/apache/maven/plugins/jar"
+ (list
+ (list "AbstractJarMojo.java" "JarMojo.java")
+ (list "AbstractJarMojo.java" "TestJarMojo.java"))))
+ (replace 'install
+ (install-from-pom "pom.xml")))))
+ (propagated-inputs
+ `(("maven-archiver" ,maven-archiver)
+ ("maven-artifact" ,maven-3.0-artifact)
+ ("maven-core" ,maven-3.0-core)
+ ("maven-plugin-api" ,maven-3.0-plugin-api)
+ ("maven-file-management" ,maven-file-management)
+ ("maven-shared-utils" ,maven-shared-utils)
+ ("java-plexus-archiver" ,java-plexus-archiver)
+ ("java-plexus-utils" ,java-plexus-utils)))
+ (inputs
+ `(("maven-plugin-annotations" ,maven-plugin-annotations)))
+ (home-page "https://maven.apache.org/plugins/maven-jar-plugin")
+ (synopsis "Jar builder plugin for Maven")
+ (description "This plugin provides the capability to build jars. If you
+would like to sign jars please use the Maven Jarsigner Plugin instead.")
+ (license license:asl2.0)))