You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/09 12:54:56 UTC
[commons-crypto] branch master updated (607ab96 -> a49cf98)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
from 607ab96 Use SPDX identifier instead for License
new bb50717 Move Checkstyle configuration under 'src/conf'
new a49cf98 Use Checkstyle to validate import order
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 4 ++--
src/{site/resources => conf}/checkstyle/checkstyle-suppressions.xml | 0
checkstyle.xml => src/conf/checkstyle/checkstyle.xml | 6 ++++++
3 files changed, 8 insertions(+), 2 deletions(-)
rename src/{site/resources => conf}/checkstyle/checkstyle-suppressions.xml (100%)
rename checkstyle.xml => src/conf/checkstyle/checkstyle.xml (87%)
[commons-crypto] 02/02: Use Checkstyle to validate import order
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
commit a49cf9816413bac69aad1b6d0d7946f4c898d291
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Oct 9 08:54:52 2023 -0400
Use Checkstyle to validate import order
---
src/conf/checkstyle/checkstyle.xml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/conf/checkstyle/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml
index 986fbfd..9dca2ef 100644
--- a/src/conf/checkstyle/checkstyle.xml
+++ b/src/conf/checkstyle/checkstyle.xml
@@ -38,5 +38,11 @@ limitations under the License.
<module name="JavadocMethod">
<property name="accessModifiers" value="protected, public"/>
</module>
+ <module name="ImportOrder">
+ <property name="option" value="top"/>
+ <property name="groups" value="java,javax,org"/>
+ <property name="ordered" value="true"/>
+ <property name="separated" value="true"/>
+ </module>
</module>
</module>
[commons-crypto] 01/02: Move Checkstyle configuration under 'src/conf'
Posted by gg...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-crypto.git
commit bb50717c3b6e42aff3f6fcd97b5fc92862911754
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Oct 9 08:54:46 2023 -0400
Move Checkstyle configuration under 'src/conf'
---
pom.xml | 4 ++--
src/{site/resources => conf}/checkstyle/checkstyle-suppressions.xml | 0
checkstyle.xml => src/conf/checkstyle/checkstyle.xml | 0
3 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d9cac29..22d277a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -504,9 +504,9 @@ The following provides more details on the included cryptographic software:
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
- <configLocation>${basedir}/checkstyle.xml</configLocation>
+ <configLocation>${basedir}/src/conf/checkstyle/checkstyle.xml</configLocation>
<enableRulesSummary>false</enableRulesSummary>
- <suppressionsLocation>${basedir}/src/site/resources/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
+ <suppressionsLocation>${basedir}/src/conf/checkstyle/checkstyle-suppressions.xml</suppressionsLocation>
</configuration>
</plugin>
<plugin>
diff --git a/src/site/resources/checkstyle/checkstyle-suppressions.xml b/src/conf/checkstyle/checkstyle-suppressions.xml
similarity index 100%
rename from src/site/resources/checkstyle/checkstyle-suppressions.xml
rename to src/conf/checkstyle/checkstyle-suppressions.xml
diff --git a/checkstyle.xml b/src/conf/checkstyle/checkstyle.xml
similarity index 100%
rename from checkstyle.xml
rename to src/conf/checkstyle/checkstyle.xml