diff --git a/apache-fop/pom.xml b/apache-fop/pom.xml index 949843a47e..4dd61d8f4e 100644 --- a/apache-fop/pom.xml +++ b/apache-fop/pom.xml @@ -67,7 +67,7 @@ org.apache.xmlgraphics fop - 1.1 + ${fop.version} org.apache.avalon.framework @@ -83,18 +83,18 @@ avalon-framework avalon-framework-api - 4.2.0 + ${avalon-framework.version} avalon-framework avalon-framework-impl - 4.2.0 + ${avalon-framework.version} org.dbdoclet dbdoclet - 8.0.2 + ${dbdoclet.version} @@ -108,7 +108,7 @@ net.sf.jtidy jtidy - r938 + ${jtidy.version} @@ -187,40 +187,22 @@ - - 4.3.11.Final - 5.1.38 - - - 2.7.2 - + 1.1 + 4.3 + 8.0.2 + r938 - 1.7.9 - 1.1.2 - - - 5.1.3.Final - - - 19.0 - 3.3.2 + 1.7.21 + 1.1.7 1.3 4.12 1.10.19 - 4.4 - 4.4 - - 2.9.0 - - 3.5.1 - 2.6 + 3.6.0 2.19.1 - 2.7 - 1.4.18 diff --git a/aspectj/pom.xml b/aspectj/pom.xml index 1c409483ec..2fca4031fb 100644 --- a/aspectj/pom.xml +++ b/aspectj/pom.xml @@ -121,12 +121,11 @@ 1.8 - 1.6.11 UTF-8 1.8.9 1.7.21 1.1.7 - 3.5.1 + 3.6.0 4.12 diff --git a/assertj/pom.xml b/assertj/pom.xml index df55ebba4b..0b3bcbacdb 100644 --- a/assertj/pom.xml +++ b/assertj/pom.xml @@ -23,13 +23,13 @@ junit junit - 4.12 + ${junit.version} test org.assertj assertj-core - 3.5.1 + ${assertj-core.version} test @@ -40,7 +40,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.3 + ${maven-compiler-plugin.version} 1.8 1.8 @@ -51,6 +51,11 @@ 19.0 + 3.1.0 + 4.12 + 3.6.1 + + 3.6.0 \ No newline at end of file diff --git a/autovalue/pom.xml b/autovalue/pom.xml index d1f8e825fc..2f6601c30d 100644 --- a/autovalue/pom.xml +++ b/autovalue/pom.xml @@ -5,12 +5,13 @@ autovalue-tutorial 1.0 AutoValue + org.apache.maven.plugins maven-compiler-plugin - 3.3 + ${maven-compiler-plugin.version} 7 7 @@ -19,19 +20,25 @@ + com.google.auto.value auto-value - 1.2 + ${auto-value.version} junit junit - 4.3 + ${junit.version} test - + + + 1.3 + 4.12 + 3.6.0 + diff --git a/cdi/pom.xml b/cdi/pom.xml index 30dd167fa8..231390ea5c 100644 --- a/cdi/pom.xml +++ b/cdi/pom.xml @@ -22,18 +22,18 @@ org.aspectj aspectjweaver - 1.8.9 + ${aspectjweaver.version} org.jboss.weld.se weld-se-core - 2.3.5.Final + ${weld-se-core.version} junit junit - 4.12 + ${junit.version} test @@ -97,7 +97,10 @@ - 4.3.1.RELEASE + 4.3.4.RELEASE + 1.8.9 + 2.4.1.Final + 4.12 2.19.1 diff --git a/core-java-9/pom.xml b/core-java-9/pom.xml index 844ad6a782..bf9325c935 100644 --- a/core-java-9/pom.xml +++ b/core-java-9/pom.xml @@ -76,9 +76,7 @@ - 1.7.13 - 1.0.13 - + 1.7.21 3.6-jigsaw-SNAPSHOT diff --git a/core-java/pom.xml b/core-java/pom.xml index c3a9611682..0c14da2245 100644 --- a/core-java/pom.xml +++ b/core-java/pom.xml @@ -14,7 +14,7 @@ net.sourceforge.collections collections-generic - 4.01 + ${collections-generic.version} com.google.guava @@ -25,13 +25,13 @@ org.apache.commons commons-collections4 - 4.0 + ${commons-collections4.version} commons-io commons-io - 2.4 + ${commons-io.version} @@ -43,7 +43,7 @@ org.apache.commons commons-math3 - 3.3 + ${commons-math3.version} @@ -122,8 +122,6 @@ test - - org.mockito mockito-core @@ -321,44 +319,33 @@ - - 4.3.11.Final - 5.1.38 - - 2.7.8 + 2.8.5 - 1.7.13 - 1.1.3 - - - 5.1.3.Final + 1.7.21 + 1.1.7 19.0 - 3.4 + 3.5 1.55 1.10 + 3.6.1 + 2.5 + 4.1 + 4.01 1.3 4.12 1.10.19 - 6.8 - 3.5.1 - - 4.4.1 - 4.5 - - 2.9.0 + 6.10 + 3.6.1 - 3.5.1 - 2.6 + 3.6.0 2.19.1 - 2.7 - 1.4.18 diff --git a/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java b/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java index 4775fde930..d14a290c46 100644 --- a/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java +++ b/core-java/src/main/java/com/baeldung/threadpool/ExitingExecutorServiceExample.java @@ -16,10 +16,10 @@ public class ExitingExecutorServiceExample { public static void main(String... args) { - ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5); - ExecutorService executorService = MoreExecutors.getExitingExecutorService(executor, 100, TimeUnit.MILLISECONDS); + final ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5); + final ExecutorService executorService = MoreExecutors.getExitingExecutorService(executor, 100, TimeUnit.MILLISECONDS); - executorService.submit(() -> { + executorService.submit((Runnable) () -> { while (true) { } }); diff --git a/deltaspike/pom.xml b/deltaspike/pom.xml index 22cf8f935c..b4a7657e97 100644 --- a/deltaspike/pom.xml +++ b/deltaspike/pom.xml @@ -25,17 +25,22 @@ resources, i.e. build is platform dependent! --> UTF-8 + 1.7.21 + 3.7.4 + 1.7.2 + - 1.0.2.Final + 1.0.2.Final - 8.2.1.Final + 8.2.2.Final - 3.1 - 2.16 - 2.5 + 3.6.0 + 2.19.1 + 2.6 + 1.1.3 1.7 @@ -56,14 +61,14 @@ org.wildfly.bom jboss-javaee-7.0-with-tools - ${version.jboss.bom} + ${jboss.bom.version} pom import org.wildfly.bom jboss-javaee-7.0-with-hibernate - ${version.jboss.bom} + ${jboss.bom.version} pom import @@ -187,14 +192,14 @@ org.apache.deltaspike.modules deltaspike-data-module-api - 1.7.1 + ${deltaspike.version} compile org.apache.deltaspike.modules deltaspike-data-module-impl - 1.7.1 + ${deltaspike.version} runtime @@ -202,20 +207,20 @@ com.mysema.querydsl querydsl-apt - 3.7.4 + ${querydsl.version} provided com.mysema.querydsl querydsl-jpa - 3.7.4 + ${querydsl.version} org.slf4j slf4j-log4j12 - 1.6.1 + ${slf4j.version} @@ -226,7 +231,7 @@ maven-war-plugin - ${version.war.plugin} + ${war.plugin.version} false @@ -235,7 +240,7 @@ com.mysema.maven apt-maven-plugin - 1.0.9 + ${apt-maven-plugin.version} @@ -253,7 +258,7 @@ org.wildfly.plugins wildfly-maven-plugin - ${version.wildfly.maven.plugin} + ${wildfly.maven.plugin.version} @@ -272,7 +277,7 @@ maven-surefire-plugin - ${version.surefire.plugin} + ${surefire.plugin.version} true