creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Ottlinger (JIRA)" <>
Subject [jira] [Updated] (RAT-160) Fails to ignore build.log created by maven-invoker-plugin
Date Mon, 13 Apr 2015 19:23:13 GMT


Philipp Ottlinger updated RAT-160:
    Attachment: RAT-160-proposedPatch.txt

Thanks for your example project. I've added some minor modification when evaluating your bug

I'd personally file a bug in the maven-invoker-plugin to make the creation of a logfile optional
or to put it in a different location under /target as proposed earlier. A build.log generated
during maven-invoker-plugin runs should pollute your project's basedir.
RAT puts it rat.txt under target as well.

On the other hand a fix is fairly easy to implement. Though I hesitate to add 
to the default excludes.

Would a plain
{code} be okay for you?

> Fails to ignore build.log created by maven-invoker-plugin
> ---------------------------------------------------------
>                 Key: RAT-160
>                 URL:
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.10
>            Reporter: Christopher Tubbs
>         Attachments: RAT-160-proposedPatch.txt
> When using maven-invoker-plugin to run integration-tests for a maven plugin project,
maven-invoker-plugin creates a build.log file in the basedir for the project.
> This may be a bug in maven-invoker-plugin. Perhaps it'd be better to put this file in
its build directory, rather than its basedir. Regardless, the apache-rat-plugin should ignore
this build.log file.

This message was sent by Atlassian JIRA

View raw message