- Ensure plugins are using the correct checkstyle.xml file
- Ignore lines 1 and 4 from the checkstyle header file git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115116 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0a9af2d24b
commit
6f7994ba55
@ -1,7 +1,7 @@
|
|||||||
|
[This line is ignored by checkstyle. Put the package declaration here]
|
||||||
|
|
||||||
/* ====================================================================
|
/* ====================================================================
|
||||||
* Copyright 2001-2004 The Apache Software Foundation.
|
* Copyright [year. ex: 2001-2004] The Apache Software Foundation.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|||||||
@ -48,7 +48,7 @@
|
|||||||
<!-- ************************************************************** -->
|
<!-- ************************************************************** -->
|
||||||
<module name="Header">
|
<module name="Header">
|
||||||
<property name="headerFile" value="${maven.checkstyle.header.file}"/>
|
<property name="headerFile" value="${maven.checkstyle.header.file}"/>
|
||||||
<property name="ignoreLines" value="1,2,3,4,5,6"/>
|
<property name="ignoreLines" value="1, 4"/>
|
||||||
</module>
|
</module>
|
||||||
<property name="tabWidth" value="4"/>
|
<property name="tabWidth" value="4"/>
|
||||||
<module name="LeftCurly">
|
<module name="LeftCurly">
|
||||||
|
|||||||
@ -34,6 +34,7 @@ maven.clover.report.xml=true
|
|||||||
|
|
||||||
# Checkstyle plugin settings
|
# Checkstyle plugin settings
|
||||||
maven.checkstyle.header.file = ${basedir}/../checkstyle-license.txt
|
maven.checkstyle.header.file = ${basedir}/../checkstyle-license.txt
|
||||||
|
maven.checkstyle.properties = ${basedir}/../checkstyle.xml
|
||||||
|
|
||||||
# License plugin settings
|
# License plugin settings
|
||||||
maven.license.licenseFile=${basedir}/../LICENSE.txt
|
maven.license.licenseFile=${basedir}/../LICENSE.txt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user