You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by sebb <se...@gmail.com> on 2014/08/19 01:37:50 UTC

Re: svn commit: r1618753 - /creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java

On 18 August 2014 22:40,  <po...@apache.org> wrote:
> Author: pottlinger
> Date: Mon Aug 18 21:40:09 2014
> New Revision: 1618753
>
> URL: http://svn.apache.org/r1618753
> Log:
> RAT-168:
>
> Reverting patch since there is a NPE during rat:rat on 0.11-RC2.

Can you provide a sample project on which it fails?
It works OK for me with Commons NET and with the current IT.

>
> Modified:
>     creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
>
> Modified: creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java
> URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java?rev=1618753&r1=1618752&r2=1618753&view=diff
> ==============================================================================
> --- creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java (original)
> +++ creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java Mon Aug 18 21:40:09 2014
> @@ -199,7 +199,7 @@ public abstract class AbstractRatMojo ex
>      /**
>      * Holds the maven-internal project to allow resolution of artifact properties during mojo runs.
>      */
> -    @Parameter(defaultValue = "${project}", required = true, readonly = true)
> +    @Parameter(property = "project", required = true, readonly = true)
>      private MavenProject project;
>
>      /**
>
>

Re: SOLVED svn commit: r1618753 - /creadur/rat/trunk/apache-rat-plugin/src/main/java/org/apache/rat/mp/AbstractRatMojo.java

Posted by "P. Ottlinger" <po...@aiki-it.de>.
Hi,

Am 19.08.2014 um 01:37 schrieb sebb:
>> > Reverting patch since there is a NPE during rat:rat on 0.11-RC2.
> Can you provide a sample project on which it fails?
> It works OK for me with Commons NET and with the current IT.

I've just deleted my local repository and checked out:
hg clone https://code.google.com/p/spamschutz/
and ran
mvn -X -e clean install site:site
and it works.

Sorry - so I need to change my vote due to a locally cached old 0.11;
maybe I had the first 0.11 in my repository.

grmpf ....

Cheers,
Phil