This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/opennlp.git
commit 2e1d40bcd1d206fb6f4fd06f70f9e48037e9c06b Author: Richard Zowalla <[email protected]> AuthorDate: Tue Apr 28 10:29:17 2026 +0200 Make checkstyle config path absolute and skip deploy/install for eval-tests Resolve checkstyle.xml via ${maven.multiModuleProjectDirectory} so the plugin finds it from any sub-module (notably during release:prepare which forks Maven). Also mark opennlp-eval-tests as skip-deploy and skip-install so the module is built/checked but not published, while keeping its parent version aligned during release. --- opennlp-eval-tests/pom.xml | 5 +++++ pom.xml | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/opennlp-eval-tests/pom.xml b/opennlp-eval-tests/pom.xml index d766293c..89abb748 100644 --- a/opennlp-eval-tests/pom.xml +++ b/opennlp-eval-tests/pom.xml @@ -33,6 +33,11 @@ <packaging>jar</packaging> <name>Apache OpenNLP :: Eval Tests</name> + <properties> + <maven.deploy.skip>true</maven.deploy.skip> + <maven.install.skip>true</maven.install.skip> + </properties> + <dependencies> <!-- Internal dependencies --> <dependency> diff --git a/pom.xml b/pom.xml index 3fa490fa..83fdb707 100644 --- a/pom.xml +++ b/pom.xml @@ -296,7 +296,7 @@ <id>validate</id> <phase>validate</phase> <configuration> - <configLocation>checkstyle.xml</configLocation> + <configLocation>${maven.multiModuleProjectDirectory}/checkstyle.xml</configLocation> <consoleOutput>true</consoleOutput> <includeTestSourceDirectory>true</includeTestSourceDirectory> <testSourceDirectories>${project.basedir}/src/test/java</testSourceDirectories>
