creadur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (RAT-160) Fails to ignore build.log created by maven-invoker-plugin
Date Thu, 10 Apr 2014 20:18:17 GMT

    [ https://issues.apache.org/jira/browse/RAT-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965797#comment-13965797
] 

Dennis Lundberg commented on RAT-160:
-------------------------------------

Christopher,

The way we in the Maven project use the Invoker plugin is to have the ITs copied to the target
directory before running the ITs, using this parameter:
{code}
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
{code}

That way the build.log is tucked away somewhere under the target directory and excluded from
Rat. For more info see
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/25/maven-plugins-25.pom

> Fails to ignore build.log created by maven-invoker-plugin
> ---------------------------------------------------------
>
>                 Key: RAT-160
>                 URL: https://issues.apache.org/jira/browse/RAT-160
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.10
>            Reporter: Christopher Tubbs
>             Fix For: 0.11
>
>
> 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
(v6.2#6252)

Mime
View raw message