From 3ee673a78e18d304738e8603c5862b311f3cbeed Mon Sep 17 00:00:00 2001 From: Lenny Primak Date: Tue, 1 Dec 2020 03:42:34 -0600 Subject: [PATCH] updated dependencies to the latest versions, updated plugins, (#63) added commons-lang3 and made arquillian dependencies optional so they are not transitive for downstream applications --- pom.xml | 76 ++++++++++++++----- .../suite/DeploymentClassFinder.java | 6 +- 2 files changed, 61 insertions(+), 21 deletions(-) diff --git a/pom.xml b/pom.xml index 662df15..66f9cf9 100644 --- a/pom.xml +++ b/pom.xml @@ -6,12 +6,12 @@ arquillian-suite-extension 1.2.2-SNAPSHOT jar - - + + Arquillian suite extension Arquillian extension that will force single deployment for all tests https://github.com/ingwarsw/arquillian-suite-extension - + 2013 @@ -60,12 +60,12 @@ 1.6 - 1.4.0.Final - 0.7.4.201502262128 + 1.6.0.Final + 0.8.6 7.5.7.Final-redhat-3 4.1.2 10.1.0.Final - 2.1.0.Final + 3.0.1.Final ${project.build.directory}/jboss-as-${version.jbossas} @@ -83,11 +83,6 @@ pom import - - com.google.guava - guava - 24.1.1-jre - @@ -96,33 +91,44 @@ org.jboss.arquillian.container arquillian-container-test-impl-base + true org.jboss.arquillian.core arquillian-core-impl-base + true org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven + true org.jboss.shrinkwrap.resolver shrinkwrap-resolver-impl-maven-archive + true jar org.jboss.shrinkwrap shrinkwrap-impl-base + true org.reflections reflections 0.9.11 + + + com.google.guava + guava + + @@ -136,12 +142,14 @@ org.jboss.arquillian.protocol arquillian-protocol-servlet + true test org.jboss.arquillian.junit arquillian-junit-container + true test @@ -149,8 +157,20 @@ junit junit 4.13.1 + true test + + + org.apache.commons + commons-lang3 + + + + com.google.guava + guava + 30.0-jre + @@ -166,7 +186,7 @@ org.apache.maven.plugins maven-dependency-plugin - 3.0.1 + 3.1.2 unpack @@ -196,12 +216,12 @@ org.apache.maven.plugins maven-compiler-plugin - 3.6.2 + 3.8.1 org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 3.0.0-M5 ${jbossHome} @@ -236,7 +256,7 @@ org.apache.maven.plugins maven-war-plugin - 3.1.0 + 3.3.1 ${project.build.directory}/test-war-module @@ -250,6 +270,26 @@ + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M3 + + + enforce-maven + + enforce + + + + + 3.6 + + + + + + @@ -267,7 +307,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.0.0-M1 + 3.2.0 attach-javadocs @@ -280,7 +320,7 @@ org.apache.maven.plugins maven-source-plugin - 3.0.1 + 3.2.1 attach-sources @@ -512,7 +552,7 @@ org.eluder.coveralls coveralls-maven-plugin - 3.2.1 + 4.3.0 coveralls-jacoco diff --git a/src/main/java/org/eu/ingwar/tools/arquillian/extension/suite/DeploymentClassFinder.java b/src/main/java/org/eu/ingwar/tools/arquillian/extension/suite/DeploymentClassFinder.java index feac3c6..e842d57 100644 --- a/src/main/java/org/eu/ingwar/tools/arquillian/extension/suite/DeploymentClassFinder.java +++ b/src/main/java/org/eu/ingwar/tools/arquillian/extension/suite/DeploymentClassFinder.java @@ -20,7 +20,6 @@ * #L% */ -import org.apache.commons.lang.StringUtils; import org.eu.ingwar.tools.arquillian.extension.suite.annotations.ArquillianSuiteDeployment; import org.jboss.arquillian.config.descriptor.api.ArquillianDescriptor; import org.jboss.arquillian.config.descriptor.api.ExtensionDef; @@ -30,6 +29,7 @@ import java.util.Set; import java.util.logging.Level; import java.util.logging.Logger; +import org.apache.commons.lang3.StringUtils; class DeploymentClassFinder { private static final Logger log = Logger.getLogger(DeploymentClassFinder.class.getName()); @@ -53,7 +53,7 @@ static Class getDeploymentClass(ArquillianDescriptor descriptor) { /** * Finds class with should produce global deployment PER project. - * + * * @param descriptor ArquillianDescriptor * @return class marked witch @ArquillianSuiteDeployment annotation */ @@ -90,7 +90,7 @@ private static Class getDeploymentClassFromAnnotation(ArquillianDescriptor de log.log(Level.INFO,"arquillian-suite-deployment: Found class annotated with @ArquillianSuiteDeployment: {0}", type.getName()); return type; } - + /** * Indicates if the deployment annotated class should be searched across the whole available classpath. * Extension name used: suite