[
https://issues.apache.org/jira/browse/RAT-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved RAT-168.
----------------------
Resolution: Fixed
Fix Version/s: 0.11
Assignee: (was: Philipp Ottlinger)
URL: http://svn.apache.org/r1617255
Log:
RAT-168 Tests don't check CLI usage
Added basic test to check rat goal
Added:
creadur/rat/trunk/apache-rat-plugin/src/test/invoker/it4_RAT-168/
creadur/rat/trunk/apache-rat-plugin/src/test/invoker/it4_RAT-168/invoker.properties
creadur/rat/trunk/apache-rat-plugin/src/test/invoker/it4_RAT-168/pom.xml
creadur/rat/trunk/apache-rat-plugin/src/test/invoker/it4_RAT-168/verify.groovy
creadur/rat/trunk/apache-rat-plugin/src/test/it4_RAT-168/
creadur/rat/trunk/apache-rat-plugin/src/test/it4_RAT-168/pom.xml
> 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
> 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)