[
https://issues.apache.org/jira/browse/RAT-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated RAT-168:
--------------------------------
Summary: Add integration test for apache-rat:rat to catch NPE (was: Tests
don't check CLI usage)
> Add integration test for apache-rat:rat to catch NPE
> ----------------------------------------------------
>
> Key: RAT-168
> URL: https://issues.apache.org/jira/browse/RAT-168
> Project: Apache Rat
> Issue Type: Bug
> Affects Versions: 0.11
> Reporter: Sebb
> Fix For: 0.11
>
>
> 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)