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. org.apache.maven.plugins maven-plugins - 42 + 45 @@ -62,6 +62,7 @@ under the License. 3.9.6 2022-04-18T18:55:30Z + 2.81.0 @@ -103,6 +104,7 @@ under the License. org.apache.maven.plugin-tools maven-plugin-annotations + ${version.maven-plugin-tools} provided @@ -153,6 +155,29 @@ under the License. + + + + org.apache.maven.plugins + maven-dependency-plugin + 3.9.0 + + + analyze + + analyze-only + + + + .*org.sample.ejb.* + + + + + + + + run-its @@ -162,6 +187,7 @@ under the License. org.apache.maven.plugins maven-invoker-plugin + 3.9.1 true src/it 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 void testEjbComplianceVersionThreeWithDescriptor() throws Exception { * * @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 @@ private List getList(int type) { case ROOT_FILE: retVal = rootFileList; break; + default: + // do nothing } return retVal;