[java-idp-plugin-vci] 03/08: Prepare for running checkstyle
Codeberg
noreply at shibboleth.net
Fri Sep 4 08:37:32 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch dev/CHECKSTYLE
in repository java-idp-plugin-vci.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/9b9f7249b4b05d8ae350b7bf30c347e81c943994
commit 9b9f7249b4b05d8ae350b7bf30c347e81c943994
Author: Janne Lauros <janne.lauros at csc.fi>
AuthorDate: Fri Sep 4 09:48:21 2026 +0300
Prepare for running checkstyle
---
openid-vci-api/pom.xml | 2 +-
openid-vci-dist/pom.xml | 2 +-
openid-vci-impl/pom.xml | 2 +-
pom.xml | 25 ++++++++++++++++++++++++-
4 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/openid-vci-api/pom.xml b/openid-vci-api/pom.xml
index bb26ddc..5de1ebc 100644
--- a/openid-vci-api/pom.xml
+++ b/openid-vci-api/pom.xml
@@ -14,7 +14,7 @@
<artifactId>openid-vci-api</artifactId>
<packaging>jar</packaging>
<properties>
- <checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
+ <checkstyle.configLocation>${project.basedir}/../resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
<automatic.module.name>org.geant.shibboleth.plugin.openidvci.api</automatic.module.name>
</properties>
<description>OpenID for Verifiable Credential Issuance plugin API.</description>
diff --git a/openid-vci-dist/pom.xml b/openid-vci-dist/pom.xml
index 342c1b7..5329f7c 100644
--- a/openid-vci-dist/pom.xml
+++ b/openid-vci-dist/pom.xml
@@ -13,7 +13,7 @@
<artifactId>openid-vci-dist</artifactId>
<packaging>pom</packaging>
<properties>
- <checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
+ <checkstyle.configLocation>${project.basedir}/../resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
<dist.finalName>shibboleth-idp-plugin-openid-vci-${project.version}</dist.finalName>
<dist.assemblyDirectory>${project.build.directory}/${dist.finalName}</dist.assemblyDirectory>
</properties>
diff --git a/openid-vci-impl/pom.xml b/openid-vci-impl/pom.xml
index d51aca3..2f74d9d 100644
--- a/openid-vci-impl/pom.xml
+++ b/openid-vci-impl/pom.xml
@@ -15,7 +15,7 @@
<artifactId>openid-vci-impl</artifactId>
<packaging>jar</packaging>
<properties>
- <checkstyle.configLocation>${project.basedir}/../checkstyle.xml</checkstyle.configLocation>
+ <checkstyle.configLocation>${project.basedir}/../resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
<automatic.module.name>org.geant.shibboleth.plugin.openidvci.impl</automatic.module.name>
</properties>
<dependencies>
diff --git a/pom.xml b/pom.xml
index f5b8dae..5e67953 100644
--- a/pom.xml
+++ b/pom.xml
@@ -37,7 +37,7 @@
<opensaml.version>5.0.0</opensaml.version>
<oidc.config.version>3.0.0</oidc.config.version>
<commons.io.version>2.6</commons.io.version>
- <checkstyle.configLocation>${project.basedir}/resources/checkstyle.xml</checkstyle.configLocation>
+ <checkstyle.configLocation>${project.basedir}/resources/checkstyle/checkstyle.xml</checkstyle.configLocation>
<!-- Dependency management in oidc-common-bom, but versions needed here for javadoc links -->
<nimbus-jose-jwt.version>9.40</nimbus-jose-jwt.version>
<oauth2-oidc-sdk.version>10.15</oauth2-oidc-sdk.version>
@@ -187,4 +187,27 @@
</dependency>
</dependencies>
</dependencyManagement>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <configLocation>${checkstyle.configLocation}</configLocation>
+ <violationSeverity>warning</violationSeverity>
+ <consoleOutput>true</consoleOutput>
+ <failOnViolation>false</failOnViolation>
+ </configuration>
+ <executions>
+ <execution>
+ <id>checkstyle-check</id>
+ <phase>verify</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list