From e8de62cb0b646d311d021e3d195b8ce82c5f3d4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Mat=C4=9Bj=C4=8Dek?= Date: Sat, 25 Feb 2023 11:46:32 +0100 Subject: [PATCH] Updated maven plugins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - reflected some warnings from Maven and Eclipse Signed-off-by: David Matějček --- appserver/pom.xml | 6 +- appserver/tests/jakartaee/concurrency/pom.xml | 36 ++++---- appserver/tests/tck/concurrency/pom.xml | 4 - .../tests/tck/microprofile/config/pom.xml | 4 +- appserver/tests/tck/microprofile/pom.xml | 13 +-- nucleus/parent/pom.xml | 91 +++++++++---------- pom.xml | 7 +- 7 files changed, 71 insertions(+), 90 deletions(-) diff --git a/appserver/pom.xml b/appserver/pom.xml index c2a17901063..a3b1642b92a 100644 --- a/appserver/pom.xml +++ b/appserver/pom.xml @@ -717,13 +717,17 @@ maven-rar-plugin ${maven-rar-plugin.version} + + org.glassfish.build + spec-version-maven-plugin + 2.1 + org.glassfish.build spec-version-maven-plugin - 2.1 ${stage.dir}/${install.dir.name}/glassfish/modules jakarta*.jar diff --git a/appserver/tests/jakartaee/concurrency/pom.xml b/appserver/tests/jakartaee/concurrency/pom.xml index aae1f822322..ca3235c717c 100644 --- a/appserver/tests/jakartaee/concurrency/pom.xml +++ b/appserver/tests/jakartaee/concurrency/pom.xml @@ -16,13 +16,13 @@ UTF-8 3.0.2 - + ${project.version} ${project.build.directory} ${glassfish.root}/glassfish7 suite.xml - + @@ -34,20 +34,20 @@ - + jakarta.enterprise.concurrent jakarta.enterprise.concurrent-api - + jakarta.servlet jakarta.servlet-api - - + + jakarta.enterprise.concurrent @@ -55,13 +55,13 @@ ${concurrency.tck-3-0.version} test - + jakarta.ejb jakarta.ejb-api test - + jakarta.enterprise @@ -91,7 +91,7 @@ - + @@ -100,14 +100,14 @@ arquillian-glassfish-server-managed 1.2 - + org.testng testng 7.4.0 - + @@ -191,22 +191,22 @@ once - + ${glassfish.root}/glassfish7 true 2048m - + jimage.dir=${project.build.directory}/jimage - + create-file-user --groups staff:mgr --passwordfile ${project.build.directory}/test-classes/j2ee.pass j2ee create-file-user --groups Manager --passwordfile ${project.build.directory}/test-classes/javajoe.pass javajoe @@ -216,9 +216,7 @@ - org.apache.maven.plugins maven-surefire-report-plugin - 3.0.0-M7 generate-test-report @@ -253,5 +251,5 @@ - - \ No newline at end of file + + diff --git a/appserver/tests/tck/concurrency/pom.xml b/appserver/tests/tck/concurrency/pom.xml index f3a173dc8fc..6ed497d8dd0 100644 --- a/appserver/tests/tck/concurrency/pom.xml +++ b/appserver/tests/tck/concurrency/pom.xml @@ -224,8 +224,6 @@ 1 - once - ${glassfish.root}/glassfish7 @@ -250,9 +248,7 @@ - org.apache.maven.plugins maven-surefire-report-plugin - 3.0.0-M7 generate-test-report diff --git a/appserver/tests/tck/microprofile/config/pom.xml b/appserver/tests/tck/microprofile/config/pom.xml index bcda97ba64b..19c537c2ceb 100644 --- a/appserver/tests/tck/microprofile/config/pom.xml +++ b/appserver/tests/tck/microprofile/config/pom.xml @@ -74,11 +74,11 @@ Bob - + dummy Tennis 120 - + diff --git a/appserver/tests/tck/microprofile/pom.xml b/appserver/tests/tck/microprofile/pom.xml index d1e3186acee..e9a66941389 100644 --- a/appserver/tests/tck/microprofile/pom.xml +++ b/appserver/tests/tck/microprofile/pom.xml @@ -133,23 +133,14 @@ maven-failsafe-plugin - 2.22.2 - - - - integration-test - verify - - - - + ${glassfish.home} ${project.parent.basedir}/arquillian.xml arquillian-glassfish - + ${glassfish.home} diff --git a/nucleus/parent/pom.xml b/nucleus/parent/pom.xml index 4d1acc8938d..e2c5beddafe 100644 --- a/nucleus/parent/pom.xml +++ b/nucleus/parent/pom.xml @@ -132,7 +132,6 @@ 3.0.1 3.1.13 1.9 - 1.0.16 true @@ -750,7 +749,6 @@ logging-annotation-processor ${logging-annotation-processor.version} - @@ -791,7 +789,7 @@ maven-antrun-plugin - 3.0.0 + 3.1.0 org.apache.felix @@ -836,16 +834,21 @@ maven-dependency-plugin - 3.3.0 + 3.5.0 org.glassfish.build glassfishbuild-maven-plugin - 3.2.27 + 3.2.28 maven-javadoc-plugin - 3.4.1 + 3.5.0 + + false + false + ${javadoc.skip} + maven-source-plugin @@ -857,7 +860,7 @@ maven-surefire-plugin - 3.0.0-M7 + 3.0.0-M9 en @@ -871,16 +874,16 @@ **/*ITest.java **/*IT.java - + ${test.logManager} true ${test.logLevel} - + maven-failsafe-plugin - 3.0.0-M7 + 3.0.0-M9 en @@ -888,17 +891,16 @@ ${failsafe.argLine} false true - true **/*ITest.java **/*IT.java - + ${test.logManager} true ${test.logLevel} - + @@ -915,9 +917,13 @@ + + maven-surefire-report-plugin + 3.0.0-M9 + maven-checkstyle-plugin - 3.2.0 + 3.2.1 org/glassfish/qa/config/checkstyle/checkstyle.xml org/glassfish/qa/config/checkstyle/checkstyle-suppressions.xml @@ -968,31 +974,31 @@ maven-release-plugin - 3.0.0-M5 + 3.0.0-M7 maven-resources-plugin - 3.2.0 + 3.3.0 maven-site-plugin - 4.0.0-M2 + 4.0.0-M5 maven-assembly-plugin - 3.3.0 + 3.5.0 maven-deploy-plugin - 3.0.0-M2 + 3.1.0 maven-install-plugin - 3.0.0-M1 + 3.1.0 maven-jar-plugin - 3.2.2 + 3.3.0 org.codehaus.mojo @@ -1001,7 +1007,7 @@ maven-invoker-plugin - 3.2.2 + 3.5.0 org.glassfish.copyright @@ -1049,11 +1055,6 @@ true - - com.google.code.maven-replacer-plugin - replacer - ${replacer.plugin.version} - io.github.git-commit-id git-commit-id-maven-plugin @@ -1076,11 +1077,18 @@ - + + org.glassfish.build + command-security-maven-plugin + 1.0.16 + + ${command.security.maven.plugin.isFailureFatal} + + org.codehaus.mojo versions-maven-plugin - 2.14.2 + 2.15.0 default-cli @@ -1089,12 +1097,12 @@ display-dependency-updates - 3.2-b..,2.5.0-b..,5.0-jdk8-rc.,20030911,10.0-b.. @@ -1116,7 +1124,7 @@ - 3.6.0 + 3.8.6 @@ -1316,15 +1324,6 @@ - - maven-javadoc-plugin - - false - -Xdoclint:none - ${javadoc.skip} - - - org.glassfish.hk2 osgiversion-maven-plugin @@ -1383,10 +1382,6 @@ org.glassfish.build command-security-maven-plugin - ${command-security-plugin.version} - - ${command.security.maven.plugin.isFailureFatal} - diff --git a/pom.xml b/pom.xml index f5ca1fb2906..415522df5cc 100644 --- a/pom.xml +++ b/pom.xml @@ -43,17 +43,14 @@ https://github.com/eclipse-ee4j/glassfish - install maven-deploy-plugin - 3.0.0-M2 + true @@ -84,7 +81,7 @@ - 3.6.0 + 3.8.6