You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Carlos Sanchez (JIRA)" <ji...@codehaus.org> on 2006/06/21 19:50:55 UTC
[jira] Created: (MCHECKSTYLE-46) Don't set checkstyle.header.file
property when using a custom checkstyle xml file
Don't set checkstyle.header.file property when using a custom checkstyle xml file
---------------------------------------------------------------------------------
Key: MCHECKSTYLE-46
URL: http://jira.codehaus.org/browse/MCHECKSTYLE-46
Project: Maven 2.x Checkstyle Plugin
Type: Bug
Versions: 2.1
Reporter: Carlos Sanchez
Fix For: 2.2
I'd like to use this code in my xml, but maven will always set checkstyle.header.file to LICENSE.txt, forcing me to set also headerLocation
{code}
<module name="RegexpHeader">
<property name="headerFile" value="${checkstyle.header.file}" default="config/maven-header.txt"/>
</module>
{code}
--
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
[jira] Updated: (MCHECKSTYLE-46) Don't set checkstyle.header.file
property when using a custom checkstyle xml file
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MCHECKSTYLE-46:
---------------------------------------
Fix Version/s: (was: 2.2)
> Don't set checkstyle.header.file property when using a custom checkstyle xml file
> ---------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-46
> URL: http://jira.codehaus.org/browse/MCHECKSTYLE-46
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Carlos Sanchez
>
> I'd like to use this code in my xml, but maven will always set checkstyle.header.file to LICENSE.txt, forcing me to set also headerLocation
> {code}
> <module name="RegexpHeader">
> <property name="headerFile" value="${checkstyle.header.file}" default="config/maven-header.txt"/>
> </module>
> {code}
--
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
[jira] Commented: (MCHECKSTYLE-46) Don't set checkstyle.header.file
property when using a custom checkstyle xml file
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHECKSTYLE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_117149 ]
Dennis Lundberg commented on MCHECKSTYLE-46:
--------------------------------------------
The headerFile parameter is deprecated. You should only use headerLocation.
What does your plugin configuration in the pom look like?
> Don't set checkstyle.header.file property when using a custom checkstyle xml file
> ---------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-46
> URL: http://jira.codehaus.org/browse/MCHECKSTYLE-46
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Carlos Sanchez
> Fix For: 2.2
>
>
> I'd like to use this code in my xml, but maven will always set checkstyle.header.file to LICENSE.txt, forcing me to set also headerLocation
> {code}
> <module name="RegexpHeader">
> <property name="headerFile" value="${checkstyle.header.file}" default="config/maven-header.txt"/>
> </module>
> {code}
--
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
[jira] (MCHECKSTYLE-46) Don't set checkstyle.header.file property
when using a custom checkstyle xml file
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/MCHECKSTYLE-46?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHECKSTYLE-46.
--------------------------------------
Resolution: Incomplete
No feedback from reporter.
> Don't set checkstyle.header.file property when using a custom checkstyle xml file
> ---------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-46
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-46
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.1
> Reporter: Carlos Sanchez
>
> I'd like to use this code in my xml, but maven will always set checkstyle.header.file to LICENSE.txt, forcing me to set also headerLocation
> {code}
> <module name="RegexpHeader">
> <property name="headerFile" value="${checkstyle.header.file}" default="config/maven-header.txt"/>
> </module>
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira