This is an automated email from the ASF dual-hosted git repository.
mbuenger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-ejb-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 718cd78 Updating parent to 45 and invoker plugin to 3.9.1 (#189)
718cd78 is described below
commit 718cd78056161c70983dfffb107c01875b2a8a40
Author: Matthias Bünger <[email protected]>
AuthorDate: Sun Nov 9 20:01:02 2025 +0100
Updating parent to 45 and invoker plugin to 3.9.1 (#189)
---
pom.xml | 28 +++++++++++++++++++++-
.../org/apache/maven/plugins/ejb/EjbMojoTest.java | 2 +-
.../plugins/ejb/stub/MavenProjectBuildStub.java | 2 ++
3 files changed, 30 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index d18c70e..adaf203 100644
--- a/pom.xml
+++ b/pom.xml
@@ -23,7 +23,7 @@ under the License.
<parent>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugins</artifactId>
- <version>42</version>
+ <version>45</version>
<relativePath />
</parent>
@@ -62,6 +62,7 @@ under the License.
<properties>
<mavenVersion>3.9.6</mavenVersion>
<project.build.outputTimestamp>2022-04-18T18:55:30Z</project.build.outputTimestamp>
+ <version.palantirJavaFormat>2.81.0</version.palantirJavaFormat>
</properties>
<dependencies>
@@ -103,6 +104,7 @@ under the License.
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
+ <version>${version.maven-plugin-tools}</version>
<scope>provided</scope>
</dependency>
<dependency>
@@ -153,6 +155,29 @@ under the License.
</dependency>
</dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>3.9.0</version>
+ <executions>
+ <execution>
+ <id>analyze</id>
+ <goals>
+ <goal>analyze-only</goal>
+ </goals>
+ <configuration>
+ <excludedClasses>
+ <exclude>.*org.sample.ejb.*</exclude>
+ </excludedClasses>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
<profiles>
<profile>
<id>run-its</id>
@@ -162,6 +187,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
+ <version>3.9.1</version>
<configuration>
<debug>true</debug>
<projectsDirectory>src/it</projectsDirectory>
diff --git a/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
b/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
index b8f0d0d..9a9521f 100644
--- a/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
@@ -479,7 +479,7 @@ public class EjbMojoTest extends AbstractMojoTestCase {
*
* @throws Exception if any exception occurs
*/
- public void testEjbCompliance_3_0_WithoutDescriptor() throws Exception {
+ public void testEjbCompliance30WithoutDescriptor() throws Exception {
final MavenProjectResourcesStub project =
createTestProject("compliance-nodescriptor-3");
final EjbMojo mojo = lookupMojoWithDefaultSettings(project);
diff --git
a/src/test/java/org/apache/maven/plugins/ejb/stub/MavenProjectBuildStub.java
b/src/test/java/org/apache/maven/plugins/ejb/stub/MavenProjectBuildStub.java
index 7e570a4..4d2f8c9 100644
--- a/src/test/java/org/apache/maven/plugins/ejb/stub/MavenProjectBuildStub.java
+++ b/src/test/java/org/apache/maven/plugins/ejb/stub/MavenProjectBuildStub.java
@@ -229,6 +229,8 @@ public class MavenProjectBuildStub extends
MavenProjectBasicStub {
case ROOT_FILE:
retVal = rootFileList;
break;
+ default:
+ // do nothing
}
return retVal;