[ 
https://issues.apache.org/jira/browse/RAT-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Ottlinger updated RAT-168:
----------------------------------

    Description: 
The unit/IT tests clearly don't test the Maven CLI functionality.

mvn apache-rat:rat is currently failing with an NPE, even on the RAT project 
itself.

To show this, do the following:

{noformat}
mvn or mvn clean install

 mvn -o org.apache.rat:apache-rat-plugin::0.12-SNAPSHOT:rat 
(change the version as required)
{noformat}

Note that the -o is essential, otherwise Maven will try to download the current 
snapshot


  was:
The unit/IT tests clearly don't test the Maven CLI functionality.

mvn apache-rat:rat is currently failing with an NPE, even on the RAT project 
itself.

To show this, do the following:

mvn clean install

 mvn -o org.apache.rat:apache-rat-plugin::0.12-SNAPSHOT:rat 
(change the version as required)

Note that the -o is essential, otherwise Maven will try to download the current 
snapshot



> Tests don't check CLI usage
> ---------------------------
>
>                 Key: RAT-168
>                 URL: https://issues.apache.org/jira/browse/RAT-168
>             Project: Apache Rat
>          Issue Type: Bug
>    Affects Versions: 0.11
>            Reporter: Sebb
>
> The unit/IT tests clearly don't test the Maven CLI functionality.
> mvn apache-rat:rat is currently failing with an NPE, even on the RAT project 
> itself.
> To show this, do the following:
> {noformat}
> mvn or mvn clean install
>  mvn -o org.apache.rat:apache-rat-plugin::0.12-SNAPSHOT:rat 
> (change the version as required)
> {noformat}
> Note that the -o is essential, otherwise Maven will try to download the 
> current snapshot



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to