Subject: Re: [bug#30417] [PATCH 03/11] gnu: Add java-plexus-compiler-api.

From: Björn Höfling <[email-masked]>
Date: Mon, 12 Feb 2018 00:47:35 +0100

On Sun, 11 Feb 2018 00:04:30 +0100
Julien Lepiller <[email-masked]> wrote:

> * gnu/packages/java.scm (java-plexus-compiler-api): New variable.
> ---
>  gnu/packages/java.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
> index 8b51f7122..55233b7ba 100644
> --- a/gnu/packages/java.scm
> +++ b/gnu/packages/java.scm
> @@ -2709,6 +2709,34 @@ archives (jar).")
>  and decryption.")
>      (license license:asl2.0)))
>  
> +(define-public java-plexus-compiler-api
> +  (package
> +    (name "java-plexus-compiler-api")
> +    (version "2.8.2")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> "https://github.com/codehaus-plexus/plexus-compiler"
> +                                  "/archive/plexus-compiler-"
> version ".tar.gz"))
> +              (sha256
> +               (base32
> +
> "0g3x26pymcdnfnwv2a1i57pd5s26f5zqfi1rdy98z1bn01klx25k"))))
> +    (build-system ant-build-system)
> +    (arguments
> +     `(#:jar-name "plexus-compiler-api.jar"
> +       #:source-dir "plexus-compiler-api/src/main/java"
> +       #:jdk ,icedtea-8
> +       #:test-dir "plexus-compiler-api/src/test"))
> +    (inputs
> +
> `(("java-plexus-container-default" ,java-plexus-container-default)
> +       ("java-plexus-util" ,java-plexus-utils)))
> +    (native-inputs
> +     `(("java-junit" ,java-junit)))
> +    (home-page "https://github.com/codehaus-plexus/plexus-compiler")
> +    (synopsis "Plexus Compilers component's API to manipulate
> compilers")
> +    (description "This package contains the API used by components
> to manipulate +compilers.")
> +    (license license:asl2.0)))

There are some files licensed under "MIT" (which one is that exactly in
FSF-speach again?), for example:
https://github.com/codehaus-plexus/plexus-compiler/blob/master/plexus-compiler-api/src/main/java/org/codehaus/plexus/compiler/AbstractCompiler.java

I haven't done a full review of it yet.

Björn