creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Commented] (RAT-160) Fails to ignore build.log created by maven-invoker-plugin
Date Thu, 09 Apr 2015 17:35:13 GMT


Christopher Tubbs commented on RAT-160:

[]: I don't know about other cases, but in my case, I wouldn't want to configure
an exception in the parent POM... because I don't expect any build.log files which don't have
license headers to show up in my modules. For my case, I only expect it to occur in my maven-invoker-plugin
executed builds which some of my modules do during testing.

The best workaround I've found so far (short of telling maven-invoker-plugin not to create
a build.log file) is to create a profile which configures rat to exclude build.log, and activate
this profile only when maven-invoker-plugin executes the build.

> 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
> 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