regression in checkstyle 2.2: config locations seen as null
-----------------------------------------------------------
Key: MCHECKSTYLE-65
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-65
Project: Maven 2.x Checkstyle Plugin
Issue Type: Bug
Affects Versions: 2.2
Reporter: Brett Porter
Fix For: 2.2
I was just looking at the test Jason added from Brian about the extensions
(utilising checkstyle), and I've found an additional problem occurs under
Checkstyle 2.2 that works with 2.1.
With Maven 2.0.4, change it0111 to use checkstyle 2.2-SNAPSHOT and run mvn
-Dtest=MavenIT0111PluginsThatRequireAResourceFromAnExtensionTest test
Caused by: org.apache.maven.reporting.MavenReportException: Unable to process
null config location.
at
org.apache.maven.plugin.checkstyle.CheckstyleReport.getConfigFile(CheckstyleReport.java:969)
at
org.apache.maven.plugin.checkstyle.CheckstyleReport.executeReport(CheckstyleReport.java:504)
at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:98)
at
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenReport.java:73)
... 18 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira