diff --git a/.gitignore b/.gitignore index 60c38ed8f5..111ff98630 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ spring-openid/src/main/resources/application.properties spring-security-openid/src/main/resources/application.properties spring-all/*.log +core-java/src/main/java/com/baeldung/string/RemoveLastChar.java +core-java/src/test/java/com/baeldung/string/RemoveLastCharTest.java diff --git a/JGit/pom.xml b/JGit/pom.xml index b902cb87a5..6d505afcf3 100644 --- a/JGit/pom.xml +++ b/JGit/pom.xml @@ -47,24 +47,5 @@ slf4j-simple 1.7.21 - - junit - junit - 4.12 - test - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.2 - - 1.7 - 1.7 - - - - \ No newline at end of file diff --git a/Twitter4J/pom.xml b/Twitter4J/pom.xml index 492db6b43e..ae0efb487f 100644 --- a/Twitter4J/pom.xml +++ b/Twitter4J/pom.xml @@ -18,8 +18,6 @@ UTF-8 UTF-8 1.8 - 1.8 - 1.8 @@ -28,11 +26,6 @@ twitter4j-stream 4.0.6 - - junit - junit - 4.12 - @@ -46,7 +39,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + ${maven-surefire-plugin.version} **/ApplicationTest.java diff --git a/algorithms/pom.xml b/algorithms/pom.xml index 6aa347eb20..2fa5ba12f8 100644 --- a/algorithms/pom.xml +++ b/algorithms/pom.xml @@ -6,8 +6,6 @@ 0.0.1-SNAPSHOT - 4.12 - 3.6.0 1.5.0 1.16.12 3.6.1 @@ -25,13 +23,7 @@ commons-math3 ${commons-math3.version} - - junit - junit - ${junit.version} - test - - + org.projectlombok lombok ${lombok.version} @@ -47,31 +39,11 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.codehaus.mojo exec-maven-plugin ${exec-maven-plugin.version} - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*LongRunningUnitTest.java - **/*IntegrationTest.java - - - diff --git a/apache-bval/pom.xml b/apache-bval/pom.xml index df10c04298..1cc0a33702 100644 --- a/apache-bval/pom.xml +++ b/apache-bval/pom.xml @@ -26,31 +26,9 @@ bval-extras ${bval.version} - - - junit - junit - ${junit.version} - test - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - 3.6.0 - 4.12 1.1.2 \ No newline at end of file diff --git a/apache-cxf/pom.xml b/apache-cxf/pom.xml index b2ae2dab3e..37ee279ce2 100644 --- a/apache-cxf/pom.xml +++ b/apache-cxf/pom.xml @@ -20,33 +20,13 @@ - 4.12 - 3.6.0 1.5.0 - - - junit - junit - ${junit.version} - test - - - install - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.codehaus.mojo exec-maven-plugin diff --git a/apache-fop/pom.xml b/apache-fop/pom.xml index 2a610d5675..bb2552ec5b 100644 --- a/apache-fop/pom.xml +++ b/apache-fop/pom.xml @@ -16,18 +16,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -36,14 +24,6 @@ - - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -131,35 +111,6 @@ true - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.7 - 1.7 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - @@ -203,19 +154,11 @@ 4.3 8.0.2 r938 - - 1.7.21 - 1.1.7 1.3 - 4.12 1.10.19 - - 3.6.0 - 2.19.1 - \ No newline at end of file diff --git a/apache-poi/pom.xml b/apache-poi/pom.xml index 127f65bd5f..a747dc6952 100644 --- a/apache-poi/pom.xml +++ b/apache-poi/pom.xml @@ -12,33 +12,11 @@ - 3.6.0 - 4.12 3.15 - 1.0.6 + 1.0.6 - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - - - junit - junit - ${junit.version} - test - org.apache.poi poi-ooxml diff --git a/apache-solrj/pom.xml b/apache-solrj/pom.xml index 8bed42dccc..0c7eaababf 100644 --- a/apache-solrj/pom.xml +++ b/apache-solrj/pom.xml @@ -12,11 +12,6 @@ parent-modules 1.0.0-SNAPSHOT - - - 4.12 - 2.19.1 - @@ -24,33 +19,5 @@ solr-solrj 6.4.0 - - junit - junit - ${junit.version} - test - - - - - - maven-compiler-plugin - 2.3.2 - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 1.8 - 1.8 - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - \ No newline at end of file diff --git a/apache-thrift/pom.xml b/apache-thrift/pom.xml index a1a222887d..271dfeb88f 100644 --- a/apache-thrift/pom.xml +++ b/apache-thrift/pom.xml @@ -14,8 +14,6 @@ 1.8 - 4.12 - 3.6.0 0.10.0 0.1.11 @@ -33,13 +31,6 @@ - - junit - junit - ${junit.version} - test - - org.slf4j slf4j-simple @@ -51,15 +42,6 @@ install - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.codehaus.mojo build-helper-maven-plugin diff --git a/apache-velocity/pom.xml b/apache-velocity/pom.xml index d4b773abba..593ae6c188 100644 --- a/apache-velocity/pom.xml +++ b/apache-velocity/pom.xml @@ -18,24 +18,13 @@ 1.8 1.2 - 4.11 - 1.0.13 - 1.7.5 - 3.6.0 2.6 - 2.19.1 4.5.2 1.7 2.0 - - junit - junit - ${junit.version} - test - org.apache.velocity velocity @@ -49,12 +38,7 @@ org.slf4j jcl-over-slf4j - ${jcl-over-slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} + ${org.slf4j.version} org.apache.httpcomponents @@ -78,15 +62,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${jdk.version} - ${jdk.version} - - org.apache.maven.plugins maven-war-plugin @@ -95,19 +70,6 @@ false - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*LiveTest.java - - - - - diff --git a/autovalue/pom.xml b/autovalue/pom.xml index 4e7c01004c..0f75261504 100644 --- a/autovalue/pom.xml +++ b/autovalue/pom.xml @@ -11,21 +11,6 @@ parent-modules 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 7 - 7 - false - - - - @@ -33,19 +18,10 @@ auto-value ${auto-value.version} - - - junit - junit - ${junit.version} - test - 1.3 - 4.12 - 3.6.0 diff --git a/axon/pom.xml b/axon/pom.xml index 2bffa53bb8..3f9106e0d5 100644 --- a/axon/pom.xml +++ b/axon/pom.xml @@ -10,18 +10,6 @@ 4.0.0 axon - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - @@ -35,18 +23,10 @@ axon-core ${axon.version} - - junit - junit - ${junit.version} - test - 3.0.2 - 4.12 - \ No newline at end of file diff --git a/cdi/pom.xml b/cdi/pom.xml index 0807d61ce9..6b7a360760 100644 --- a/cdi/pom.xml +++ b/cdi/pom.xml @@ -36,12 +36,6 @@ ${weld-se-core.version} - - junit - junit - ${junit.version} - test - org.springframework spring-test @@ -51,23 +45,6 @@ - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - integration @@ -106,8 +83,6 @@ 4.3.4.RELEASE 1.8.9 2.4.1.Final - 4.12 - 2.19.1 \ No newline at end of file diff --git a/core-java/pom.xml b/core-java/pom.xml index 597f448c10..6f00618330 100644 --- a/core-java/pom.xml +++ b/core-java/pom.xml @@ -80,18 +80,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -121,13 +109,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -208,28 +189,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - **/JdbcTest.java - - true - - org.apache.maven.plugins maven-dependency-plugin @@ -376,10 +335,6 @@ 2.8.5 - - - 1.7.21 - 1.1.7 6.0.6 @@ -399,15 +354,10 @@ 1.3 - 4.12 1.10.19 3.6.1 1.7.0 - - 3.6.0 - 2.19.1 - diff --git a/core-java/src/main/java/com/baeldung/string/RemoveLastChar.java b/core-java/src/main/java/com/baeldung/string/RemoveLastChar.java deleted file mode 100644 index ee1d5c597d..0000000000 --- a/core-java/src/main/java/com/baeldung/string/RemoveLastChar.java +++ /dev/null @@ -1,11 +0,0 @@ -package com.baeldung.string; - -public class RemoveLastChar { - public static String substring(String s) { - if (s == null || s.length() == 0) { - return s; - } else { - return (s.substring(0, s.length() - 1)); - } - } -} diff --git a/core-java/src/main/java/com/baeldung/string/StringHelper.java b/core-java/src/main/java/com/baeldung/string/StringHelper.java new file mode 100644 index 0000000000..6b9d5d36d7 --- /dev/null +++ b/core-java/src/main/java/com/baeldung/string/StringHelper.java @@ -0,0 +1,26 @@ +package com.baeldung.string; + +import java.util.Optional; + +public class StringHelper { + public static String withoutLastChar(String s) { + return (s == null || s.length() == 0) ? s : (s.substring(0, s.length() - 1)); + } + + public static String removeLastChar(String s) { + return (s == null) ? s : s.replaceAll(".$", ""); + } + + public static String withoutLastCharacter(String s) { + return Optional.ofNullable(s) + .filter(str -> str.length() != 0) + .map(str -> str.substring(0, str.length() - 1)) + .orElse(s); + } + + public static String removeLastCharacter(String s) { + return Optional.ofNullable(s) + .map(str -> str.replaceAll(".$", "")) + .orElse(null); + } +} diff --git a/core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderUnitTest.java b/core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderManualTest.java similarity index 83% rename from core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderUnitTest.java rename to core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderManualTest.java index 40530ddba5..e6a8f89a16 100644 --- a/core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderUnitTest.java +++ b/core-java/src/test/java/com/baeldung/stackoverflowerror/AccountHolderManualTest.java @@ -2,7 +2,7 @@ package com.baeldung.stackoverflowerror; import org.junit.Test; -public class AccountHolderUnitTest { +public class AccountHolderManualTest { @Test(expected = StackOverflowError.class) public void whenInstanciatingAccountHolder_thenThrowsException() { AccountHolder holder = new AccountHolder(); diff --git a/core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyUnitTest.java b/core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyManualTest.java similarity index 85% rename from core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyUnitTest.java rename to core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyManualTest.java index 480edcf49d..9a53a83b2a 100644 --- a/core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyUnitTest.java +++ b/core-java/src/test/java/com/baeldung/stackoverflowerror/CyclicDependancyManualTest.java @@ -1,10 +1,9 @@ package com.baeldung.stackoverflowerror; import static org.junit.Assert.fail; - import org.junit.Test; -public class CyclicDependancyUnitTest { +public class CyclicDependancyManualTest { @Test public void whenInstanciatingClassOne_thenThrowsException() { try { diff --git a/core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionUnitTest.java b/core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionManualTest.java similarity index 92% rename from core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionUnitTest.java rename to core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionManualTest.java index c3a210f54f..a262ee86a0 100644 --- a/core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionUnitTest.java +++ b/core-java/src/test/java/com/baeldung/stackoverflowerror/InfiniteRecursionWithTerminationConditionManualTest.java @@ -2,10 +2,9 @@ package com.baeldung.stackoverflowerror; import static junit.framework.TestCase.assertEquals; import static org.junit.Assert.fail; - import org.junit.Test; -public class InfiniteRecursionWithTerminationConditionUnitTest { +public class InfiniteRecursionWithTerminationConditionManualTest { @Test public void givenPositiveIntNoOne_whenCalcFact_thenThrowsException() { int numToCalcFactorial = 1; diff --git a/core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionUnitTest.java b/core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionManualTest.java similarity index 55% rename from core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionUnitTest.java rename to core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionManualTest.java index a712366ee7..c643da4aeb 100644 --- a/core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionUnitTest.java +++ b/core-java/src/test/java/com/baeldung/stackoverflowerror/UnintendedInfiniteRecursionManualTest.java @@ -1,29 +1,33 @@ package com.baeldung.stackoverflowerror; + import org.junit.Test; -public class UnintendedInfiniteRecursionUnitTest { +public class UnintendedInfiniteRecursionManualTest { @Test(expected = StackOverflowError.class) public void givenPositiveIntNoOne_whenCalFact_thenThrowsException() { - int numToCalcFactorial = 1; - UnintendedInfiniteRecursion uir = new UnintendedInfiniteRecursion(); - + int numToCalcFactorial= 1; + UnintendedInfiniteRecursion uir + = new UnintendedInfiniteRecursion(); + uir.calculateFactorial(numToCalcFactorial); } - + @Test(expected = StackOverflowError.class) public void givenPositiveIntGtOne_whenCalcFact_thenThrowsException() { - int numToCalcFactorial = 2; - UnintendedInfiniteRecursion uir = new UnintendedInfiniteRecursion(); - + int numToCalcFactorial= 2; + UnintendedInfiniteRecursion uir + = new UnintendedInfiniteRecursion(); + uir.calculateFactorial(numToCalcFactorial); } - + @Test(expected = StackOverflowError.class) public void givenNegativeInt_whenCalcFact_thenThrowsException() { - int numToCalcFactorial = -1; - UnintendedInfiniteRecursion uir = new UnintendedInfiniteRecursion(); - + int numToCalcFactorial= -1; + UnintendedInfiniteRecursion uir + = new UnintendedInfiniteRecursion(); + uir.calculateFactorial(numToCalcFactorial); } } diff --git a/core-java/src/test/java/com/baeldung/string/RemoveLastCharTest.java b/core-java/src/test/java/com/baeldung/string/RemoveLastCharTest.java deleted file mode 100644 index f1212b2ed9..0000000000 --- a/core-java/src/test/java/com/baeldung/string/RemoveLastCharTest.java +++ /dev/null @@ -1,49 +0,0 @@ -package com.baeldung.string; - -import static org.junit.Assert.assertEquals; - -import org.apache.commons.lang3.StringUtils; -import org.junit.Test; - -public class RemoveLastCharTest { - - public static final String TEST_STRING = "abcdef"; - public static final String NULL_STRING = null; - public static final String EMPTY_STRING = ""; - public static final String ONE_CHAR_STRING = "a"; - public static final String WHITE_SPACE_AT_THE_END_STRING = "abc "; - - @Test - public void givenTestString_whenSubstring_thenGetStingWithoutLastChar() { - assertEquals("abcde", RemoveLastChar.substring(TEST_STRING)); - assertEquals("abcde", StringUtils.substring(TEST_STRING, 0, TEST_STRING.length() - 1)); - assertEquals("abcde", StringUtils.chop(TEST_STRING)); - } - - @Test - public void givenNullString_whenSubstring_thenGetNullString() { - assertEquals(NULL_STRING, RemoveLastChar.substring(NULL_STRING)); - assertEquals(NULL_STRING, StringUtils.chop(NULL_STRING)); - } - - @Test - public void givenEmptyString_whenSubstring_thenGetEmptyString() { - assertEquals(EMPTY_STRING, RemoveLastChar.substring(EMPTY_STRING)); - assertEquals(EMPTY_STRING, StringUtils.substring(EMPTY_STRING, 0, EMPTY_STRING.length() - 1)); - assertEquals(EMPTY_STRING, StringUtils.chop(EMPTY_STRING)); - } - - @Test - public void givenOneCharString_whenSubstring_thenGetEmptyString() { - assertEquals(EMPTY_STRING, RemoveLastChar.substring(ONE_CHAR_STRING)); - assertEquals(EMPTY_STRING, StringUtils.substring(ONE_CHAR_STRING, 0, ONE_CHAR_STRING.length() - 1)); - assertEquals(EMPTY_STRING, StringUtils.chop(ONE_CHAR_STRING)); - } - - @Test - public void givenStringWithWhiteSpaceAtTheEnd_whenSubstring_thenGetStringWithoutWhiteSpaceAtTheEnd() { - assertEquals("abc", RemoveLastChar.substring(WHITE_SPACE_AT_THE_END_STRING)); - assertEquals("abc", StringUtils.substring(WHITE_SPACE_AT_THE_END_STRING, 0, WHITE_SPACE_AT_THE_END_STRING.length() - 1)); - assertEquals("abc", StringUtils.chop(WHITE_SPACE_AT_THE_END_STRING)); - } -} diff --git a/core-java/src/test/java/com/baeldung/string/StringHelperTest.java b/core-java/src/test/java/com/baeldung/string/StringHelperTest.java new file mode 100644 index 0000000000..ae8aaec71e --- /dev/null +++ b/core-java/src/test/java/com/baeldung/string/StringHelperTest.java @@ -0,0 +1,92 @@ +package com.baeldung.string; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNotEquals; +import org.apache.commons.lang3.StringUtils; +import org.junit.Test; + +public class StringHelperTest { + + public static final String TEST_STRING = "abcdef"; + public static final String NULL_STRING = null; + public static final String EMPTY_STRING = ""; + public static final String ONE_CHAR_STRING = "a"; + public static final String WHITE_SPACE_AT_THE_END_STRING = "abc "; + public static final String NEW_LINE_AT_THE_END_STRING = "abc\n"; + public static final String MULTIPLE_LINES_STRING = "abc\ndef"; + + @Test + public void givenTestString_whenSubstring_thenGetStingWithoutLastChar() { + assertEquals("abcde", StringHelper.withoutLastChar(TEST_STRING)); + assertEquals("abcde", StringUtils.substring(TEST_STRING, 0, TEST_STRING.length() - 1)); + assertEquals("abcde", StringUtils.chop(TEST_STRING)); + assertEquals("abcde", TEST_STRING.replaceAll(".$", "")); + assertEquals("abcde", StringHelper.removeLastChar(TEST_STRING)); + assertEquals("abcde", StringHelper.withoutLastCharacter(TEST_STRING)); + assertEquals("abcde", StringHelper.removeLastCharacter(TEST_STRING)); + } + + @Test + public void givenNullString_whenSubstring_thenGetNullString() { + assertEquals(NULL_STRING, StringHelper.withoutLastChar(NULL_STRING)); + assertEquals(NULL_STRING, StringUtils.chop(NULL_STRING)); + assertEquals(NULL_STRING, StringHelper.removeLastChar(NULL_STRING)); + assertEquals(NULL_STRING, StringHelper.withoutLastCharacter(NULL_STRING)); + assertEquals(NULL_STRING, StringHelper.removeLastCharacter(NULL_STRING)); + } + + @Test + public void givenEmptyString_whenSubstring_thenGetEmptyString() { + assertEquals(EMPTY_STRING, StringHelper.withoutLastChar(EMPTY_STRING)); + assertEquals(EMPTY_STRING, StringUtils.substring(EMPTY_STRING, 0, EMPTY_STRING.length() - 1)); + assertEquals(EMPTY_STRING, StringUtils.chop(EMPTY_STRING)); + assertEquals(EMPTY_STRING, EMPTY_STRING.replaceAll(".$", "")); + assertEquals(EMPTY_STRING, StringHelper.removeLastChar(EMPTY_STRING)); + assertEquals(EMPTY_STRING, StringHelper.withoutLastCharacter(EMPTY_STRING)); + assertEquals(EMPTY_STRING, StringHelper.removeLastCharacter(EMPTY_STRING)); + } + + @Test + public void givenOneCharString_whenSubstring_thenGetEmptyString() { + assertEquals(EMPTY_STRING, StringHelper.withoutLastChar(ONE_CHAR_STRING)); + assertEquals(EMPTY_STRING, StringUtils.substring(ONE_CHAR_STRING, 0, ONE_CHAR_STRING.length() - 1)); + assertEquals(EMPTY_STRING, StringUtils.chop(ONE_CHAR_STRING)); + assertEquals(EMPTY_STRING, ONE_CHAR_STRING.replaceAll(".$", "")); + assertEquals(EMPTY_STRING, StringHelper.removeLastChar(ONE_CHAR_STRING)); + assertEquals(EMPTY_STRING, StringHelper.withoutLastCharacter(ONE_CHAR_STRING)); + assertEquals(EMPTY_STRING, StringHelper.removeLastCharacter(ONE_CHAR_STRING)); + } + + @Test + public void givenStringWithWhiteSpaceAtTheEnd_whenSubstring_thenGetStringWithoutWhiteSpaceAtTheEnd() { + assertEquals("abc", StringHelper.withoutLastChar(WHITE_SPACE_AT_THE_END_STRING)); + assertEquals("abc", StringUtils.substring(WHITE_SPACE_AT_THE_END_STRING, 0, WHITE_SPACE_AT_THE_END_STRING.length() - 1)); + assertEquals("abc", StringUtils.chop(WHITE_SPACE_AT_THE_END_STRING)); + assertEquals("abc", WHITE_SPACE_AT_THE_END_STRING.replaceAll(".$", "")); + assertEquals("abc", StringHelper.removeLastChar(WHITE_SPACE_AT_THE_END_STRING)); + assertEquals("abc", StringHelper.withoutLastCharacter(WHITE_SPACE_AT_THE_END_STRING)); + assertEquals("abc", StringHelper.removeLastCharacter(WHITE_SPACE_AT_THE_END_STRING)); + } + + @Test + public void givenStringWithNewLineAtTheEnd_whenSubstring_thenGetStringWithoutNewLine() { + assertEquals("abc", StringHelper.withoutLastChar(NEW_LINE_AT_THE_END_STRING)); + assertEquals("abc", StringUtils.substring(NEW_LINE_AT_THE_END_STRING, 0, NEW_LINE_AT_THE_END_STRING.length() - 1)); + assertEquals("abc", StringUtils.chop(NEW_LINE_AT_THE_END_STRING)); + assertNotEquals("abc", NEW_LINE_AT_THE_END_STRING.replaceAll(".$", "")); + assertNotEquals("abc", StringHelper.removeLastChar(NEW_LINE_AT_THE_END_STRING)); + assertEquals("abc", StringHelper.withoutLastCharacter(NEW_LINE_AT_THE_END_STRING)); + assertNotEquals("abc", StringHelper.removeLastCharacter(NEW_LINE_AT_THE_END_STRING)); + } + + @Test + public void givenMultiLineString_whenSubstring_thenGetStringWithoutNewLine() { + assertEquals("abc\nde", StringHelper.withoutLastChar(MULTIPLE_LINES_STRING)); + assertEquals("abc\nde", StringUtils.substring(MULTIPLE_LINES_STRING, 0, MULTIPLE_LINES_STRING.length() - 1)); + assertEquals("abc\nde", StringUtils.chop(MULTIPLE_LINES_STRING)); + assertEquals("abc\nde", MULTIPLE_LINES_STRING.replaceAll(".$", "")); + assertEquals("abc\nde", StringHelper.removeLastChar(MULTIPLE_LINES_STRING)); + assertEquals("abc\nde", StringHelper.withoutLastCharacter(MULTIPLE_LINES_STRING)); + assertEquals("abc\nde", StringHelper.removeLastCharacter(MULTIPLE_LINES_STRING)); + } +} diff --git a/couchbase-sdk/pom.xml b/couchbase-sdk/pom.xml index 0191f271de..fb59389fe3 100644 --- a/couchbase-sdk/pom.xml +++ b/couchbase-sdk/pom.xml @@ -47,18 +47,7 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - compile - - - ch.qos.logback - logback-classic - ${logback.version} - + org.slf4j jcl-over-slf4j @@ -72,12 +61,6 @@ ${spring-framework.version} test - - junit - junit - ${junit.version} - test - @@ -88,41 +71,12 @@ - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${java.version} - ${java.version} - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - 1.8 UTF-8 2.4.0 4.3.5.RELEASE - 1.1.8 - 1.7.22 - 4.12 3.5 - 3.6.0 - 2.19.1 diff --git a/deltaspike/pom.xml b/deltaspike/pom.xml index c32bba36b8..879330fb09 100644 --- a/deltaspike/pom.xml +++ b/deltaspike/pom.xml @@ -27,10 +27,8 @@ - - UTF-8 + UTF-8 - 1.7.21 3.7.4 1.7.2 @@ -41,14 +39,8 @@ 8.2.2.Final - 3.6.0 - 2.19.1 2.6 1.1.3 - - - 1.7 - 1.7 @@ -153,13 +145,6 @@ provided - - - junit - junit - test - - @@ -259,7 +244,7 @@ maven-surefire-plugin - ${surefire.plugin.version} + ${maven-surefire-plugin.version} true diff --git a/disruptor/pom.xml b/disruptor/pom.xml index 57cb333856..25effbb1c9 100644 --- a/disruptor/pom.xml +++ b/disruptor/pom.xml @@ -31,16 +31,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - org.slf4j jcl-over-slf4j @@ -56,13 +46,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -89,22 +72,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - org.apache.maven.plugins maven-dependency-plugin @@ -229,25 +196,15 @@ - - 1.7.21 - 1.1.7 - 3.5 3.3.6 1.3 - 4.12 1.10.19 6.10 3.6.1 - - - 3.6.0 - 2.19.1 - \ No newline at end of file diff --git a/dozer/pom.xml b/dozer/pom.xml index db4a6ba85c..ff0014f5f1 100644 --- a/dozer/pom.xml +++ b/dozer/pom.xml @@ -13,32 +13,13 @@ parent-modules 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 7 - 7 - - - - - - org.slf4j - slf4j-api - ${slf4j.version} - org.slf4j jcl-over-slf4j - ${slf4j.version} + ${org.slf4j.version} @@ -52,21 +33,12 @@ dozer ${dozer.version} - - junit - junit - ${junit.version} - test - - 1.7.21 3.5 5.5.1 - 4.12 - 3.6.0 diff --git a/enterprise-patterns/pom.xml b/enterprise-patterns/pom.xml index 1c895095dc..1c8f5a1b4d 100644 --- a/enterprise-patterns/pom.xml +++ b/enterprise-patterns/pom.xml @@ -16,23 +16,4 @@ 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - - - - 3.6.0 - diff --git a/feign/pom.xml b/feign/pom.xml index de086a3e43..63c6a23139 100644 --- a/feign/pom.xml +++ b/feign/pom.xml @@ -17,11 +17,7 @@ UTF-8 9.4.0 - 1.7.21 1.16.12 - 4.12 - 3.6.0 - 2.19.1 1.4.2.RELEASE @@ -46,50 +42,34 @@ feign-slf4j ${feign.version} - - org.slf4j - slf4j-api - ${slf4j.version} - org.projectlombok lombok ${lombok.version} provided - - junit - junit - ${junit.version} - test - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot-maven-plugin.version} org.apache.maven.plugins maven-surefire-plugin ${maven-surefire-plugin.version} - true + true + + **/*IntegrationTest.java + **/*LiveTest.java + - - org.springframework.boot - spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} - diff --git a/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java b/feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java similarity index 94% rename from feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java rename to feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java index d7e65a0f4c..a17dbf7a2e 100644 --- a/feign/src/test/java/com/baeldung/feign/clients/BookClientTest.java +++ b/feign/src/test/java/com/baeldung/feign/clients/BookClientLiveTest.java @@ -18,9 +18,12 @@ import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; +/** + * Consumes https://github.com/Baeldung/spring-hypermedia-api + */ @Slf4j @RunWith(JUnit4.class) -public class BookClientTest { +public class BookClientLiveTest { private BookClient bookClient; @Before diff --git a/flyway/pom.xml b/flyway/pom.xml index e72907601d..900987fc65 100644 --- a/flyway/pom.xml +++ b/flyway/pom.xml @@ -27,20 +27,10 @@ flyway-maven-plugin ${flyway-maven-plugin.version} - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - 6.0.5 4.0.3 - 3.6.0 \ No newline at end of file diff --git a/gson/pom.xml b/gson/pom.xml index 285039f8f6..7d81dfe65b 100644 --- a/gson/pom.xml +++ b/gson/pom.xml @@ -55,13 +55,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -92,27 +85,6 @@ true - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - @@ -128,13 +100,8 @@ 1.3 - 4.12 1.10.19 - - 3.6.0 - 2.19.1 - \ No newline at end of file diff --git a/guava/pom.xml b/guava/pom.xml index a21b432e98..a44a0556d2 100644 --- a/guava/pom.xml +++ b/guava/pom.xml @@ -36,13 +36,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -65,17 +58,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -100,27 +82,6 @@ true - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - @@ -131,17 +92,8 @@ 1.3 - 4.12 1.10.19 3.6.1 - - - 3.6.0 - 2.19.1 - - - 1.7.21 - 1.1.7 \ No newline at end of file diff --git a/guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java b/guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java new file mode 100644 index 0000000000..7758dcd975 --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/EvictingQueueTest.java @@ -0,0 +1,31 @@ +package org.baeldung.guava; + + +import com.google.common.collect.EvictingQueue; +import org.junit.Test; + +import java.util.Queue; +import java.util.stream.IntStream; + +import static org.assertj.core.api.Java6Assertions.assertThat; + +public class EvictingQueueTest { + + @Test + public void givenEvictingQueue_whenAddElementToFull_thenShouldEvictOldestItem() { + //given + Queue evictingQueue = EvictingQueue.create(10); + + //when + IntStream.range(0, 10).forEach(evictingQueue::add); + + //then + assertThat(evictingQueue).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9); + + //and + evictingQueue.add(100); + + //then + assertThat(evictingQueue).containsExactly(1, 2, 3, 4, 5, 6, 7, 8, 9, 100); + } +} diff --git a/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java b/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java new file mode 100644 index 0000000000..f75b5a9bcb --- /dev/null +++ b/guava/src/test/java/org/baeldung/guava/MinMaxPriorityQueueTest.java @@ -0,0 +1,66 @@ +package org.baeldung.guava; + + +import com.google.common.collect.MinMaxPriorityQueue; +import org.junit.Test; + +import java.util.Comparator; +import java.util.stream.IntStream; + +import static org.assertj.core.api.Assertions.assertThat; + +public class MinMaxPriorityQueueTest { + @Test + public void givenMinMaxPriorityQueue_whenAddElementToFull_thenShouldEvictGreatestItem() { + //given + MinMaxPriorityQueue queue = MinMaxPriorityQueue + .orderedBy(Comparator.comparing(CustomClass::getValue)) + .maximumSize(10) + .create(); + + //when + IntStream + .iterate(10, i -> i - 1) + .limit(10) + .forEach(i -> queue.add(new CustomClass(i))); + + //then + assertThat(queue.peekFirst().getValue()).isEqualTo(1); + assertThat(queue.peekLast().getValue()).isEqualTo(10); + + + //and + queue.add(new CustomClass(-1)); + + + //then + assertThat(queue.peekFirst().getValue()).isEqualTo(-1); + assertThat(queue.peekLast().getValue()).isEqualTo(9); + + //and + queue.add(new CustomClass(100)); + assertThat(queue.peekFirst().getValue()).isEqualTo(-1); + assertThat(queue.peekLast().getValue()).isEqualTo(9); + + } + + + class CustomClass { + private final Integer value; + + CustomClass(Integer value) { + this.value = value; + } + + public Integer getValue() { + return value; + } + + @Override + public String toString() { + return "CustomClass{" + + "value=" + value + + '}'; + } + } +} diff --git a/guava18/pom.xml b/guava18/pom.xml index 34e1677642..1a8c08d302 100644 --- a/guava18/pom.xml +++ b/guava18/pom.xml @@ -19,36 +19,9 @@ guava ${guava.version} - - - junit - junit - ${junit.version} - test - - - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - true - true - 1.8 - 1.8 - UTF-8 - true - true - - - - 18.0 - 4.12 - 3.6.0 \ No newline at end of file diff --git a/guava19/pom.xml b/guava19/pom.xml index 536f809e3b..494d3bc7d6 100644 --- a/guava19/pom.xml +++ b/guava19/pom.xml @@ -20,12 +20,6 @@ ${guava.version} - - junit - junit - ${junit.version} - test - org.hamcrest hamcrest-all @@ -34,29 +28,9 @@ - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - true - true - 1.8 - 1.8 - UTF-8 - true - true - - - - - 19.0 - 4.12 1.3 - 3.6.0 \ No newline at end of file diff --git a/guava21/pom.xml b/guava21/pom.xml index b327bd7890..d6e556e4a0 100644 --- a/guava21/pom.xml +++ b/guava21/pom.xml @@ -13,19 +13,6 @@ parent-modules 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - @@ -34,14 +21,6 @@ guava 21.0 - - - - junit - junit - 4.11 - - diff --git a/guice/pom.xml b/guice/pom.xml index 942ec33af6..bb9108396c 100644 --- a/guice/pom.xml +++ b/guice/pom.xml @@ -19,22 +19,8 @@ ${guice.version} - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - UTF-8 - 1.8 - 1.8 4.1.0 guice diff --git a/handling-spring-static-resources/pom.xml b/handling-spring-static-resources/pom.xml index 7cb79252ad..94941aec9b 100644 --- a/handling-spring-static-resources/pom.xml +++ b/handling-spring-static-resources/pom.xml @@ -220,10 +220,6 @@ 2.8.5 - - 1.7.21 - 1.1.7 - 5.3.3.Final 4.0.6 diff --git a/hazelcast/pom.xml b/hazelcast/pom.xml index a73cc834e6..bdc0ac9179 100644 --- a/hazelcast/pom.xml +++ b/hazelcast/pom.xml @@ -54,30 +54,11 @@ true - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - 3.7.4 - - - 1.7.21 - 1.1.7 - - - 3.6.0 \ No newline at end of file diff --git a/hbase/pom.xml b/hbase/pom.xml index c692054f0f..0a740c2645 100644 --- a/hbase/pom.xml +++ b/hbase/pom.xml @@ -10,18 +10,6 @@ 4.0.0 hbase - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - @@ -51,7 +39,6 @@ 1.3.0 - 4.12 diff --git a/hibernate5/pom.xml b/hibernate5/pom.xml index 32712fba2a..63e0799281 100644 --- a/hibernate5/pom.xml +++ b/hibernate5/pom.xml @@ -15,8 +15,6 @@ http://maven.apache.org UTF-8 - - 3.6.0 @@ -24,11 +22,6 @@ hibernate-core 5.2.9.Final - - junit - junit - 4.12 - com.h2database h2 @@ -44,32 +37,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - diff --git a/httpclient/pom.xml b/httpclient/pom.xml index 9d1c0dc7c1..d2c96dd82c 100644 --- a/httpclient/pom.xml +++ b/httpclient/pom.xml @@ -81,17 +81,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -101,13 +90,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -146,31 +128,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*LiveTest.java - - - - - - @@ -209,9 +166,6 @@ - - 1.7.21 - 1.1.7 19.0 @@ -221,7 +175,6 @@ 1.3 - 4.12 1.10.19 2.5.1 @@ -229,8 +182,6 @@ 4.5.2 - 3.6.0 - 2.19.1 1.6.1 diff --git a/immutables/pom.xml b/immutables/pom.xml index 6a3ee0335a..bf4d1c6e88 100644 --- a/immutables/pom.xml +++ b/immutables/pom.xml @@ -20,12 +20,6 @@ value ${immutables.version} - - junit - junit - ${junit.version} - test - org.assertj assertj-core @@ -39,27 +33,10 @@ test - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - 2.3.10 - 4.12 3.6.1 - 0.9.6 - - 3.6.0 + 0.9.6 \ No newline at end of file diff --git a/jackson/pom.xml b/jackson/pom.xml index 77b3a00bee..0df53acab8 100644 --- a/jackson/pom.xml +++ b/jackson/pom.xml @@ -93,13 +93,6 @@ - - junit - junit - ${junit.version} - test - - io.rest-assured json-schema-validator @@ -143,17 +136,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -172,36 +154,12 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - 2.8.7 - - 1.7.21 - 1.1.7 - 19.0 3.5 @@ -212,15 +170,10 @@ 1.3 - 4.12 1.10.19 3.0.1 3.6.1 - - 3.6.0 - 2.19.1 - diff --git a/java-cassandra/pom.xml b/java-cassandra/pom.xml index 4fbe5f1baf..49f4d43701 100644 --- a/java-cassandra/pom.xml +++ b/java-cassandra/pom.xml @@ -37,58 +37,16 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j ${org.slf4j.version} - - - junit - junit - ${junit.version} - test - java-cassandra - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - @@ -131,17 +89,6 @@ 19.0 - - 1.7.21 - 1.1.7 - - - 4.12 - - - 3.6.0 - 2.19.1 - 3.1.2 3.1.1.0 diff --git a/java-mongodb/pom.xml b/java-mongodb/pom.xml index 3ec662996b..304d961b0a 100644 --- a/java-mongodb/pom.xml +++ b/java-mongodb/pom.xml @@ -15,13 +15,6 @@ - - junit - junit - ${junit.version} - test - - de.flapdoodle.embedmongo de.flapdoodle.embedmongo @@ -38,24 +31,6 @@ - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - - integration @@ -94,11 +69,8 @@ 1.8 1.8 - 4.12 3.4.1 1.11 - - 2.19.1 \ No newline at end of file diff --git a/java-websocket/pom.xml b/java-websocket/pom.xml index a7510d8ae0..402e3057c6 100644 --- a/java-websocket/pom.xml +++ b/java-websocket/pom.xml @@ -32,17 +32,4 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - - diff --git a/javaslang/pom.xml b/javaslang/pom.xml index d32f1e8abf..c0228233cf 100644 --- a/javaslang/pom.xml +++ b/javaslang/pom.xml @@ -13,12 +13,6 @@ - - junit - junit - 4.12 - test - org.hamcrest hamcrest-all @@ -40,29 +34,4 @@ 2.0.5 - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - \ No newline at end of file diff --git a/javax-servlets/pom.xml b/javax-servlets/pom.xml index 71d64b2d43..27ddf4d2f5 100644 --- a/javax-servlets/pom.xml +++ b/javax-servlets/pom.xml @@ -14,28 +14,7 @@ 1.0.0-SNAPSHOT - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - + @@ -44,12 +23,6 @@ javax.servlet-api ${javax.servlet.version} - - junit - junit - ${junit.version} - test - org.apache.httpcomponents httpclient @@ -67,7 +40,6 @@ 3.1.0 - 4.12 4.5.2 diff --git a/javaxval/pom.xml b/javaxval/pom.xml index f551fbb56d..8415252dea 100644 --- a/javaxval/pom.xml +++ b/javaxval/pom.xml @@ -5,7 +5,6 @@ 0.1-SNAPSHOT - 4.12 1.1.0.Final 5.3.4.Final 3.0.0 @@ -21,12 +20,6 @@ - - junit - junit - ${junit.version} - - javax.validation validation-api diff --git a/jaxb/pom.xml b/jaxb/pom.xml index f052b2f616..433825ab43 100644 --- a/jaxb/pom.xml +++ b/jaxb/pom.xml @@ -39,30 +39,6 @@ 2.5 - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - - ch.qos.logback - logback-core - ${logback.version} - - - - junit - junit - ${junit.version} - - org.apache.commons commons-lang3 @@ -110,15 +86,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - @@ -164,14 +131,8 @@ 2.2.11 - - 1.7.21 - 1.1.7 - - 3.5.1 2.3 - 4.12 \ No newline at end of file diff --git a/jee7/pom.xml b/jee7/pom.xml index 9eebf36c3c..fe7c5e4c11 100644 --- a/jee7/pom.xml +++ b/jee7/pom.xml @@ -18,7 +18,6 @@ 1.8 3.0.0 - 4.12 7.0 1.1.11.Final 8.2.1.Final @@ -31,9 +30,7 @@ 2.25 1.0.0.Final - 3.6.0 2.6 - 2.19.1 @@ -67,12 +64,6 @@ provided - - junit - junit - ${junit.version} - test - org.jboss.arquillian.junit arquillian-junit-container @@ -149,16 +140,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${java.min.version} - ${java.min.version} - - - org.apache.maven.plugins maven-war-plugin @@ -167,20 +148,6 @@ false - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - **/*LiveTest.java - - - diff --git a/jooq/pom.xml b/jooq/pom.xml index ef287d0292..c42d66e538 100644 --- a/jooq/pom.xml +++ b/jooq/pom.xml @@ -10,18 +10,6 @@ 4.0.0 jooq - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - @@ -29,18 +17,10 @@ jool ${jool.version} - - junit - junit - ${junit.version} - test - 0.9.12 - 4.12 - \ No newline at end of file diff --git a/jpa-storedprocedure/pom.xml b/jpa-storedprocedure/pom.xml index 21736a1b6e..dcfaeec222 100644 --- a/jpa-storedprocedure/pom.xml +++ b/jpa-storedprocedure/pom.xml @@ -25,14 +25,6 @@ JpaStoredProcedure - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - maven-assembly-plugin @@ -42,16 +34,6 @@ jar-with-dependencies - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - @@ -81,14 +63,6 @@ ${mysql.version} - - - - junit - junit - ${junit.version} - - commons-io commons-io diff --git a/jsf/pom.xml b/jsf/pom.xml index a206870f89..e556f79215 100644 --- a/jsf/pom.xml +++ b/jsf/pom.xml @@ -80,18 +80,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -101,16 +89,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin @@ -130,17 +108,12 @@ 2.2.14 3.0.0 - - 1.7.21 - 1.1.7 - 3.1.0 1.2 - 3.6.0 2.6 diff --git a/json-path/pom.xml b/json-path/pom.xml index 8f80149926..6757ad050e 100644 --- a/json-path/pom.xml +++ b/json-path/pom.xml @@ -19,55 +19,10 @@ json-path ${json-path.version} - - - - junit - junit - ${junit.version} - test - - - - - org.slf4j - slf4j-api - ${slf4j.version} - runtime - - - ch.qos.logback - logback-classic - ${logback.version} - runtime - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - 2.2.0 - - - 4.12 - - - 1.7.21 - 1.1.7 - - 3.6.0 \ No newline at end of file diff --git a/json/pom.xml b/json/pom.xml index b8e6348bca..1e65e70a59 100644 --- a/json/pom.xml +++ b/json/pom.xml @@ -31,18 +31,10 @@ ${fastjson.version} - - junit - junit - ${junit.version} - test - - 1.4.1 1.2.21 - 4.12 diff --git a/jsoup/pom.xml b/jsoup/pom.xml index 25551cb3d6..5bef63012e 100644 --- a/jsoup/pom.xml +++ b/jsoup/pom.xml @@ -14,17 +14,8 @@ jsoup ${jsoup.version} - - junit - junit - 4.12 - test - - 1.8 - 1.8 - 1.10.2 diff --git a/kotlin/README.md b/kotlin/README.md index 309aafa4b6..950f6460d5 100644 --- a/kotlin/README.md +++ b/kotlin/README.md @@ -3,3 +3,5 @@ - [Introduction to the Kotlin Language](http://www.baeldung.com/kotlin) - [A guide to the “when{}” block in Kotlin](http://www.baeldung.com/kotlin-when) - [Comprehensive Guide to Null Safety in Kotlin](http://www.baeldung.com/kotlin-null-safety) +- [Kotlin Java Interoperability](http://www.baeldung.com/kotlin-java-interoperability) +- [Difference Between “==” and “===” in Kotlin]() diff --git a/kotlin/pom.xml b/kotlin/pom.xml index 73a5eb0dda..dfe95b76b7 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -26,12 +26,6 @@ ${kotlin-test-junit.version} test - - junit - junit - ${junit.version} - test - org.jetbrains.kotlin kotlin-reflect @@ -101,7 +95,6 @@ - 4.12 1.1.1 1.1.1 1.1.1 diff --git a/kotlin/src/test/kotlin/com/baeldung/kotlin/EqualityTest.kt b/kotlin/src/test/kotlin/com/baeldung/kotlin/EqualityTest.kt new file mode 100644 index 0000000000..7cf2faaf42 --- /dev/null +++ b/kotlin/src/test/kotlin/com/baeldung/kotlin/EqualityTest.kt @@ -0,0 +1,26 @@ +package com.baeldung.kotlin + +import org.junit.Test +import kotlin.test.assertFalse +import kotlin.test.assertTrue + +class EqualityTest { + + // Checks referential equality + @Test + fun givenTwoIntegers_whenCheckReference_thenEqualReference() { + val a = Integer(10) + val b = Integer(10) + + assertFalse(a === b) + } + + // Checks structural equality + @Test + fun givenTwoIntegers_whenCheckValue_thenStructurallyEqual() { + val a = Integer(10) + val b = Integer(10) + + assertTrue(a == b) + } +} \ No newline at end of file diff --git a/libraries/pom.xml b/libraries/pom.xml index 445a238540..1fc3cdd815 100644 --- a/libraries/pom.xml +++ b/libraries/pom.xml @@ -12,14 +12,6 @@ libraries - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - org.apache.maven.plugins maven-dependency-plugin @@ -34,17 +26,6 @@ true - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - net.serenity-bdd.maven.plugins serenity-maven-plugin @@ -94,12 +75,6 @@ commons-lang3 ${commons-lang.version} - - junit - junit - ${junit.version} - test - org.jasypt jasypt @@ -261,7 +236,6 @@ 3.2.4 3.5 - 4.12 1.9.2 1.2 3.21.0-GA @@ -280,7 +254,6 @@ 1.24.0 1.1.3-rc.5 1.2.5-rc.6 - 2.19.1 diff --git a/log-mdc/pom.xml b/log-mdc/pom.xml index 6c936760f6..7028bb4032 100644 --- a/log-mdc/pom.xml +++ b/log-mdc/pom.xml @@ -82,13 +82,6 @@ jboss-logging ${jbosslogging.version} - - - junit - junit - ${junit.version} - test - org.springframework spring-test @@ -103,25 +96,14 @@ 1.2.17 2.7 3.3.6 - 1.1.7 3.3.0.Final 3.1.0 2.8.5 - 4.12 - - org.apache.maven.plugins - maven-compiler-plugin - 3.2 - - 1.8 - 1.8 - - org.apache.maven.plugins maven-war-plugin diff --git a/log4j/pom.xml b/log4j/pom.xml index 40ed77a665..9aa8e58f0c 100644 --- a/log4j/pom.xml +++ b/log4j/pom.xml @@ -50,40 +50,13 @@ disruptor ${disruptor.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - true - true - 1.8 - 1.8 - UTF-8 - true - true - - - - 1.2.17 2.7 2.7 3.3.6 - 1.1.7 - - 3.6.0 \ No newline at end of file diff --git a/log4j2/pom.xml b/log4j2/pom.xml index c348982bcf..b77f300d59 100644 --- a/log4j2/pom.xml +++ b/log4j2/pom.xml @@ -54,51 +54,15 @@ test-jar test - - junit - junit - ${junit.version} - test - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - - 2.8.5 1.4.193 2.1.1 2.7 - 4.12 - 3.6.0 - 2.19.1 diff --git a/lombok/pom.xml b/lombok/pom.xml index c300e8131a..280a8b2db4 100644 --- a/lombok/pom.xml +++ b/lombok/pom.xml @@ -35,29 +35,6 @@ ${hibernate-jpa-2.1-api.version} - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - - ch.qos.logback - logback-core - ${logback.version} - runtime - - - - - - junit - junit - ${junit.version} - test - - @@ -72,22 +49,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${maven.compiler.source} - ${maven.compiler.target} - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - org.projectlombok lombok-maven-plugin @@ -129,27 +90,12 @@ UTF-8 - - 1.8 - 1.8 - 1.16.12 1.0.0.Final - - 1.7.21 - 1.1.7 - - - 4.12 - - - 3.6.0 - 2.19.1 - 1.16.10.0 diff --git a/mapstruct/pom.xml b/mapstruct/pom.xml index 7fcfe8fba2..67dbd8a2b2 100644 --- a/mapstruct/pom.xml +++ b/mapstruct/pom.xml @@ -17,10 +17,7 @@ 1.1.0.Final - 4.12 4.3.4.RELEASE - 3.6.0 - 2.19.1 @@ -28,12 +25,6 @@ mapstruct-jdk8 ${org.mapstruct.version} - - junit - junit - ${junit.version} - test - org.springframework spring-context @@ -65,18 +56,6 @@ - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - diff --git a/metrics/pom.xml b/metrics/pom.xml index 6111ebf30b..32f8b31e0b 100644 --- a/metrics/pom.xml +++ b/metrics/pom.xml @@ -16,11 +16,6 @@ 3.1.2 3.1.0 - 4.12 - - 3.6.0 - 1.8 - 1.8 @@ -49,39 +44,6 @@ javax.servlet-api ${dep.ver.servlet} - - junit - junit - ${dep.ver.junit} - test - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compiler-plugin.version} - - ${maven.compiler.source} - ${maven.compiler.target} - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - - diff --git a/mockito/pom.xml b/mockito/pom.xml index 57a28bbc4c..b8520170f2 100644 --- a/mockito/pom.xml +++ b/mockito/pom.xml @@ -33,13 +33,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -84,29 +77,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - true - - - - - @@ -116,14 +86,9 @@ 1.3 - 4.12 1.10.19 1.6.6 - - 3.6.0 - 2.18.1 - \ No newline at end of file diff --git a/mockito2/pom.xml b/mockito2/pom.xml index bd987a6c06..76c00ad862 100644 --- a/mockito2/pom.xml +++ b/mockito2/pom.xml @@ -16,12 +16,6 @@ - - junit - junit - ${junit.version} - test - org.mockito @@ -31,30 +25,6 @@ - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - integration @@ -94,11 +64,6 @@ UTF-8 - 4.12 - 2.7.5 - - - 3.6.0 - 2.19.1 + 2.7.5 diff --git a/mybatis/pom.xml b/mybatis/pom.xml index 23a200a378..0be07d0599 100644 --- a/mybatis/pom.xml +++ b/mybatis/pom.xml @@ -15,7 +15,6 @@ - 4.12 10.13.1.1 3.2.2 @@ -30,12 +29,6 @@ mybatis ${mybatis.version} - - junit - junit - ${junit.version} - test - \ No newline at end of file diff --git a/orika/pom.xml b/orika/pom.xml index 392488e8c1..24da693587 100644 --- a/orika/pom.xml +++ b/orika/pom.xml @@ -12,28 +12,17 @@ - 1.7.21 - 1.7.21 - 1.5.0 - 4.12 - - 3.6.0 + 1.5.0 orika - - org.slf4j - slf4j-api - ${slf4j-api.version} - - org.slf4j jcl-over-slf4j - ${jcl-over-slf4j.version} + ${org.slf4j.version} @@ -42,27 +31,6 @@ ${orika-core.version} - - junit - junit - ${junit.version} - test - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 7 - 7 - - - - - diff --git a/patterns/pom.xml b/patterns/pom.xml index c18b0b3862..3df9fc4520 100644 --- a/patterns/pom.xml +++ b/patterns/pom.xml @@ -33,15 +33,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins maven-war-plugin @@ -57,9 +48,7 @@ - 3.1.0 - - 3.6.0 + 3.1.0 3.0.0 9.4.0.v20161208 diff --git a/pdf/pom.xml b/pdf/pom.xml index 53232377b5..e1e16624ab 100644 --- a/pdf/pom.xml +++ b/pdf/pom.xml @@ -14,25 +14,16 @@ UTF-8 - 4.12 2.0.3 1.6 5.5.10 5.5.10 3.15 1.8 - 3.15 - - 3.5.1 + 3.15 - - junit - junit - ${junit.version} - test - org.apache.pdfbox pdfbox-tools @@ -90,19 +81,5 @@ true - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - diff --git a/pom.xml b/pom.xml index c1a42a2163..d04ff99c6a 100644 --- a/pom.xml +++ b/pom.xml @@ -12,6 +12,13 @@ UTF-8 refs/heads/master + 4.12 + + 1.7.21 + 1.1.7 + + 2.19.1 + 3.6.0 @@ -214,6 +221,33 @@ spring-drools + + + + org.slf4j + slf4j-api + ${org.slf4j.version} + + + ch.qos.logback + logback-classic + ${logback.version} + + + ch.qos.logback + logback-core + ${logback.version} + + + + + junit + junit + ${junit.version} + test + + + @@ -227,16 +261,29 @@ org.apache.maven.plugins maven-surefire-plugin + ${maven-surefire-plugin.version} - + 3 + true **/*IntegrationTest.java **/*LongRunningUnitTest.java **/*ManualTest.java + **/JdbcTest.java + **/*LiveTest.java true + + org.apache.maven.plugins + maven-compiler-plugin + ${maven-compiler-plugin.version} + + 1.8 + 1.8 + + - - ch.qos.logback - logback-classic - ${logback.version} - org.slf4j jcl-over-slf4j - ${slf4j.version} + ${org.slf4j.version} runtime - - - - junit - junit - ${junit.version} - test - @@ -188,20 +169,6 @@ - - - org.apache.maven.plugins - maven-surefire-plugin - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - diff --git a/rabbitmq/pom.xml b/rabbitmq/pom.xml index 470a59de50..41470d50d0 100644 --- a/rabbitmq/pom.xml +++ b/rabbitmq/pom.xml @@ -23,27 +23,9 @@ 3.6.6 - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - - UTF-8 - - 3.6.0 \ No newline at end of file diff --git a/ratpack/pom.xml b/ratpack/pom.xml index 0bee036438..8681f5fc10 100644 --- a/ratpack/pom.xml +++ b/ratpack/pom.xml @@ -41,12 +41,6 @@ h2 1.4.193 - - junit - junit - 4.12 - test - diff --git a/reactor-core/pom.xml b/reactor-core/pom.xml index 1fb8521d7b..6efa2ea533 100644 --- a/reactor-core/pom.xml +++ b/reactor-core/pom.xml @@ -11,30 +11,6 @@ parent-modules 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*LongRunningUnitTest.java - **/*IntegrationTest.java - - - - - @@ -44,13 +20,6 @@ ${reactor-core.version} - - junit - junit - ${junit.version} - test - - org.assertj assertj-core @@ -58,21 +27,11 @@ test - - ch.qos.logback - logback-classic - ${logback.version} - - 3.0.5.RELEASE - 4.12 3.6.1 - 1.1.3 - - diff --git a/redis/pom.xml b/redis/pom.xml index 6dea38d362..3e46ca6ff1 100644 --- a/redis/pom.xml +++ b/redis/pom.xml @@ -34,53 +34,12 @@ redisson 3.3.0 - - - junit - junit - ${junit.version} - test - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - - - - UTF-8 2.9.0 0.6 - - - 4.12 - - 3.6.0 diff --git a/rest-assured/pom.xml b/rest-assured/pom.xml index 1ac3e07eac..518f7b07f2 100644 --- a/rest-assured/pom.xml +++ b/rest-assured/pom.xml @@ -59,24 +59,6 @@ ${jetty.version} - - org.slf4j - slf4j-api - ${slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - - ch.qos.logback - logback-core - ${logback.version} - - org.apache.httpcomponents httpcore @@ -185,12 +167,6 @@ json-schema-core ${json-schema-core.version} - - junit - junit - ${junit.version} - test - org.hamcrest @@ -205,31 +181,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 8 - 8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - @@ -276,9 +227,6 @@ 2.5 1.4.7 9.4.0.v20161208 - - 1.7.21 - 1.1.7 3.5 @@ -301,10 +249,6 @@ 1.3 3.0.1 3.0.1 - 4.12 - - 3.6.0 - 2.19.1 diff --git a/rest-testing/pom.xml b/rest-testing/pom.xml index ab9a063e94..4e155173d8 100644 --- a/rest-testing/pom.xml +++ b/rest-testing/pom.xml @@ -63,18 +63,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -84,13 +72,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -146,32 +127,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - @@ -214,10 +169,6 @@ 2.8.5 - - 1.7.21 - 1.1.7 - 19.0 3.5 @@ -237,9 +188,7 @@ 4.1 - 3.6.0 2.6 - 2.19.1 diff --git a/resteasy/pom.xml b/resteasy/pom.xml index 7b2e499f02..a492c69f15 100644 --- a/resteasy/pom.xml +++ b/resteasy/pom.xml @@ -16,35 +16,13 @@ 3.0.19.Final - 4.12 2.5 - 2.19.1 1.6.1 RestEasyTutorial - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - org.codehaus.cargo cargo-maven2-plugin @@ -102,13 +80,6 @@ ${resteasy.version} - - - - junit - junit - ${junit.version} - commons-io diff --git a/rxjava/pom.xml b/rxjava/pom.xml index 8b5537a693..716033e600 100644 --- a/rxjava/pom.xml +++ b/rxjava/pom.xml @@ -14,56 +14,21 @@ 1.0.0-SNAPSHOT - - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - 3 - true - - **/*IntegrationTest.java - **/*LongRunningUnitTest.java - **/*ManualTest.java - - true - - - - - io.reactivex rxjava ${rx.java.version} - - junit - junit - ${junit.version} - org.hamcrest hamcrest-all ${hamcrest.version} test - - - 4.12 1.2.5 1.3 diff --git a/selenium-junit-testng/pom.xml b/selenium-junit-testng/pom.xml index 302e1db750..d5e3c18ef2 100644 --- a/selenium-junit-testng/pom.xml +++ b/selenium-junit-testng/pom.xml @@ -13,29 +13,6 @@ src - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - true - - **/*UnitTest.java - - - false - - - @@ -70,24 +47,20 @@ - - junit - junit - ${junit.version} - org.testng testng ${testng.version} + + junit + junit + ${junit.version} + - 4.12 6.10 3.0.1 - - 2.19.1 - 3.6.0 \ No newline at end of file diff --git a/solr/pom.xml b/solr/pom.xml index 8388320595..7d46f1e1fa 100644 --- a/solr/pom.xml +++ b/solr/pom.xml @@ -16,7 +16,6 @@ UTF-8 - 2.19.1 @@ -34,23 +33,4 @@ - - - - maven-compiler-plugin - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - \ No newline at end of file diff --git a/spring-akka/pom.xml b/spring-akka/pom.xml index 9a046a1699..21f1b65ef1 100644 --- a/spring-akka/pom.xml +++ b/spring-akka/pom.xml @@ -32,13 +32,6 @@ test - - junit - junit - ${junit.version} - test - - @@ -56,36 +49,6 @@ - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - @@ -125,11 +88,6 @@ 4.3.4.RELEASE 2.4.14 - 4.12 - - 3.6.0 - 2.19.1 - \ No newline at end of file diff --git a/spring-amqp/pom.xml b/spring-amqp/pom.xml index 0aa827237b..c9305b2ec8 100755 --- a/spring-amqp/pom.xml +++ b/spring-amqp/pom.xml @@ -18,7 +18,6 @@ UTF-8 - 3.6.0 @@ -37,17 +36,5 @@ springamqp - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - true - - - diff --git a/spring-apache-camel/pom.xml b/spring-apache-camel/pom.xml index 49d3877d9d..7934d6af7c 100644 --- a/spring-apache-camel/pom.xml +++ b/spring-apache-camel/pom.xml @@ -17,20 +17,11 @@ 2.18.1 4.3.4.RELEASE - 2.19.1 1.8 - 4.12 - - junit - junit - ${junit.version} - test - - org.apache.camel camel-core @@ -68,34 +59,5 @@ - - - - maven-compiler-plugin - - true - true - ${java.version} - ${java.version} - ${java.version} - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - - - diff --git a/spring-boot-custom-starter/pom.xml b/spring-boot-custom-starter/pom.xml index 2d53866425..cc9724bad1 100644 --- a/spring-boot-custom-starter/pom.xml +++ b/spring-boot-custom-starter/pom.xml @@ -23,18 +23,4 @@ greeter-spring-boot-sample-app - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - - - - \ No newline at end of file diff --git a/spring-cloud/pom.xml b/spring-cloud/pom.xml index 6d53b24647..79e89a72b3 100644 --- a/spring-cloud/pom.xml +++ b/spring-cloud/pom.xml @@ -43,15 +43,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.springframework.boot spring-boot-maven-plugin diff --git a/spring-core/pom.xml b/spring-core/pom.xml index 938cc3cd6d..e4e5620a17 100644 --- a/spring-core/pom.xml +++ b/spring-core/pom.xml @@ -47,12 +47,6 @@ javax.inject ${javax.inject.version} - - junit - junit - ${junit.version} - test - com.google.guava guava @@ -66,27 +60,7 @@ - - - maven-compiler-plugin - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LiveTest.java - - true - - - org.apache.maven.plugins maven-war-plugin @@ -139,7 +113,6 @@ 1.10.19 4.3.4.RELEASE 1 - 4.12 20.0 2.6 1.16.12 diff --git a/spring-data-cassandra/pom.xml b/spring-data-cassandra/pom.xml index 23fe5b2e2d..9b89f98d67 100644 --- a/spring-data-cassandra/pom.xml +++ b/spring-data-cassandra/pom.xml @@ -21,7 +21,6 @@ 4.3.4.RELEASE 1.3.2.RELEASE - 4.12 1.7.21 1.1.7 2.1.5 @@ -29,8 +28,6 @@ 2.1.9.2 2.0-0 19.0 - 3.6.0 - 2.19.1 @@ -50,12 +47,6 @@ - - junit - junit - ${junit.version} - test - org.springframework spring-test @@ -97,45 +88,12 @@ ${cassandra-driver-core.version} true - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - org.slf4j jcl-over-slf4j ${org.slf4j.version} - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - diff --git a/spring-data-couchbase-2/pom.xml b/spring-data-couchbase-2/pom.xml index fbd2934fad..2efe2e3b14 100644 --- a/spring-data-couchbase-2/pom.xml +++ b/spring-data-couchbase-2/pom.xml @@ -51,18 +51,7 @@ ${joda-time.version} - - - org.slf4j - slf4j-api - ${org.slf4j.version} - compile - - - ch.qos.logback - logback-classic - ${logback.version} - + org.slf4j jcl-over-slf4j @@ -76,38 +65,8 @@ ${spring-framework.version} test - - junit - junit - ${junit.version} - test - - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - 1.8 UTF-8 @@ -115,11 +74,6 @@ 2.1.5.RELEASE 5.3.3.Final 2.9.6 - 1.1.7 - 1.7.21 - 4.12 - 3.6.0 - 2.19.1 diff --git a/spring-data-elasticsearch/pom.xml b/spring-data-elasticsearch/pom.xml index 585fd38b2a..9a231f8486 100644 --- a/spring-data-elasticsearch/pom.xml +++ b/spring-data-elasticsearch/pom.xml @@ -22,13 +22,9 @@ 4.3.4.RELEASE 2.0.5.RELEASE - 4.12 - 1.7.21 - 1.1.7 4.2.2 2.4.2 1.2.21 - 2.19.1 @@ -48,13 +44,7 @@ spring-data-elasticsearch ${spring-data-elasticsearch.version} - - - junit - junit - ${junit.version} - test - + org.springframework spring-test @@ -68,16 +58,6 @@ test - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - org.slf4j jcl-over-slf4j @@ -96,21 +76,6 @@ - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - diff --git a/spring-data-gemfire/pom.xml b/spring-data-gemfire/pom.xml index 8dfe7acfcf..e9db8aaef3 100644 --- a/spring-data-gemfire/pom.xml +++ b/spring-data-gemfire/pom.xml @@ -16,11 +16,9 @@ - 2.19.1 1.7.4.RELEASE 7.0.1 1.0 - 4.12 1.3 4.3.0.RELEASE 4.3.0.RELEASE @@ -44,19 +42,7 @@ google-collections ${google-collections-version} - - - junit - junit - ${junit-version} - test - - - org.hamcrest - hamcrest-core - - - + org.hamcrest hamcrest-library @@ -82,22 +68,6 @@ - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - spring-snapshots diff --git a/spring-data-mongodb/pom.xml b/spring-data-mongodb/pom.xml index e8587a93dd..318264d3d9 100644 --- a/spring-data-mongodb/pom.xml +++ b/spring-data-mongodb/pom.xml @@ -34,13 +34,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -62,18 +55,6 @@ test - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -111,25 +92,6 @@ - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - @@ -176,15 +138,9 @@ 1.9.6.RELEASE 1.3 - 4.12 2.9.0 4.1.4 1.1.3 - - 1.7.21 - 1.1.7 - 3.6.0 - 2.19.1 diff --git a/spring-data-neo4j/pom.xml b/spring-data-neo4j/pom.xml index e2c3dc0c1c..655ef4c802 100644 --- a/spring-data-neo4j/pom.xml +++ b/spring-data-neo4j/pom.xml @@ -103,12 +103,6 @@ ${neo4j.version} test - - - junit - junit - ${junit.version} - org.springframework spring-test @@ -122,26 +116,6 @@ - - - - - maven-compiler-plugin - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - integration @@ -191,10 +165,6 @@ 1.4.3.RELEASE 4.3.5.RELEASE 2.1.1 - - 4.12 - - 2.19.1 diff --git a/spring-data-redis/pom.xml b/spring-data-redis/pom.xml index 68a8238eea..48676f7296 100644 --- a/spring-data-redis/pom.xml +++ b/spring-data-redis/pom.xml @@ -19,9 +19,7 @@ 1.8.1.RELEASE 3.2.4 2.9.0 - 4.12 0.10.0 - 2.19.1 @@ -62,13 +60,6 @@ ${spring.version} - - junit - junit - ${junit.version} - test - - org.springframework spring-test @@ -83,22 +74,4 @@ - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - - - diff --git a/spring-data-solr/pom.xml b/spring-data-solr/pom.xml index df6e58c262..9516f0c1d1 100644 --- a/spring-data-solr/pom.xml +++ b/spring-data-solr/pom.xml @@ -17,9 +17,7 @@ UTF-8 4.3.4.RELEASE - 2.19.1 2.0.5.RELEASE - 4.12 @@ -44,12 +42,6 @@ spring-context ${spring.version} - - junit - junit - ${junit.version} - test - org.springframework spring-test @@ -58,23 +50,4 @@ - - - - maven-compiler-plugin - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - \ No newline at end of file diff --git a/spring-dispatcher-servlet/pom.xml b/spring-dispatcher-servlet/pom.xml index 66613b726b..f30a13c6e2 100644 --- a/spring-dispatcher-servlet/pom.xml +++ b/spring-dispatcher-servlet/pom.xml @@ -71,14 +71,6 @@ - - maven-compiler-plugin - 3.1 - - 1.8 - 1.8 - - org.apache.tomcat.maven tomcat8-maven-plugin diff --git a/spring-drools/pom.xml b/spring-drools/pom.xml index 780f94e9f2..6d9b821196 100644 --- a/spring-drools/pom.xml +++ b/spring-drools/pom.xml @@ -19,7 +19,6 @@ 4.0-alpha6 7.0.0.CR1 3.13 - 2.19.1 @@ -122,16 +121,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - ${surefire-plugin-version} - - - **/*IntegrationTest.java - - - \ No newline at end of file diff --git a/spring-exceptions/pom.xml b/spring-exceptions/pom.xml index 7ffad856d4..e9caa4a11b 100644 --- a/spring-exceptions/pom.xml +++ b/spring-exceptions/pom.xml @@ -121,13 +121,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -187,16 +180,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin @@ -206,20 +189,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*ManualTest.java - - - - - - - @@ -237,10 +206,6 @@ 7.0.73 10.13.1.1 - - 1.7.21 - 1.1.7 - 5.3.3.Final 3.1.0 @@ -252,7 +217,6 @@ 1.3 - 4.12 1.10.19 4.4.5 @@ -261,9 +225,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-freemarker/pom.xml b/spring-freemarker/pom.xml index 5833a21f10..92b0ee8b35 100644 --- a/spring-freemarker/pom.xml +++ b/spring-freemarker/pom.xml @@ -17,11 +17,8 @@ 1.8 4.3.4.RELEASE 2.3.23 - 1.1.7 - 1.7.21 3.1.0 false - 3.6.0 @@ -48,13 +45,7 @@ org.slf4j jcl-over-slf4j - ${jcl.slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} + ${org.slf4j.version} @@ -75,19 +66,4 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${jdk.version} - ${jdk.version} - false - - - - - \ No newline at end of file diff --git a/spring-hibernate3/pom.xml b/spring-hibernate3/pom.xml index 5fa309d8df..7370c5be34 100644 --- a/spring-hibernate3/pom.xml +++ b/spring-hibernate3/pom.xml @@ -83,13 +83,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -121,33 +114,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - - @@ -197,10 +163,6 @@ 7.0.73 1.4.193 - - 1.7.21 - 1.1.7 - 5.3.3.Final @@ -210,7 +172,6 @@ 1.3 - 4.12 1.10.19 4.4.5 @@ -219,8 +180,6 @@ 2.9.0 - 3.6.0 - 2.19.1 2.7 1.6.1 diff --git a/spring-hibernate4/pom.xml b/spring-hibernate4/pom.xml index 229fd4e037..3f92eba519 100644 --- a/spring-hibernate4/pom.xml +++ b/spring-hibernate4/pom.xml @@ -113,13 +113,6 @@ ${org.springframework.version} test - - - junit - junit - 4.12 - test - org.springframework.security @@ -135,13 +128,6 @@ test - - junit - junit-dep - ${junit.version} - test - - org.hamcrest hamcrest-library @@ -176,29 +162,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - @@ -217,10 +180,6 @@ 8.5.8 1.1 2.3.4 - - - 1.7.21 - 1.1.7 5.3.3.Final @@ -232,7 +191,6 @@ 1.3 - 4.11 1.10.19 4.4.1 @@ -241,8 +199,6 @@ 2.9.0 - 3.6.0 - 2.19.1 2.7 1.6.1 diff --git a/spring-hibernate5/pom.xml b/spring-hibernate5/pom.xml index 3cda8e7bc1..a7f160e808 100644 --- a/spring-hibernate5/pom.xml +++ b/spring-hibernate5/pom.xml @@ -113,13 +113,6 @@ ${org.springframework.version} test - - - junit - junit - ${junit.version} - test - org.springframework.security @@ -173,34 +166,6 @@ - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - - - @@ -216,10 +181,6 @@ 8.5.11 1.1 2.3.4 - - - 1.7.21 - 1.1.7 5.4.0.Final @@ -231,7 +192,6 @@ 1.3 - 4.12 2.6.8 4.4.1 diff --git a/spring-integration/pom.xml b/spring-integration/pom.xml index 2741464551..8ff7bf4e8e 100644 --- a/spring-integration/pom.xml +++ b/spring-integration/pom.xml @@ -22,12 +22,9 @@ 1.1.4.RELEASE 1.4.7 1.1.1 - 4.12 2.10 - 3.6.0 1.5.0 - 2.19.1 @@ -54,18 +51,6 @@ true - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - -Xlint:all - true - true - - org.codehaus.mojo exec-maven-plugin @@ -74,30 +59,12 @@ com.baeldung.samples.Main - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - junit - junit - ${junit.version} - test - org.springframework.integration spring-integration-core diff --git a/spring-jersey/pom.xml b/spring-jersey/pom.xml index a314b94c72..4cf09e9991 100644 --- a/spring-jersey/pom.xml +++ b/spring-jersey/pom.xml @@ -16,13 +16,8 @@ 2.25.1 - 1.7.22 - 1.1.8 - 4.12 3.0.0 - 2.19.1 1.6.1 - 4.12 4.4.5 4.5.2 3.1.0 @@ -31,14 +26,6 @@ spring-jersey - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - maven-war-plugin ${maven-war-plugin.version} @@ -46,19 +33,6 @@ false - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - org.codehaus.cargo @@ -124,14 +98,9 @@ org.slf4j jcl-over-slf4j - ${jcl.slf4j.version} + ${org.slf4j.version} - - ch.qos.logback - logback-classic - ${logback.version} - @@ -155,14 +124,6 @@ test - - - - junit - junit - ${junit.version} - test - diff --git a/spring-jms/pom.xml b/spring-jms/pom.xml index f759431a72..df59b03451 100644 --- a/spring-jms/pom.xml +++ b/spring-jms/pom.xml @@ -17,10 +17,7 @@ 4.3.4.RELEASE 5.14.1 - 4.12 - - 3.6.0 - 2.6 + 2.6 @@ -42,26 +39,11 @@ activemq-all ${activemq.version} - - junit - junit - ${junit.version} - test - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins maven-war-plugin @@ -74,16 +56,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - - 1.8 - 1.8 - - - spring-jms diff --git a/spring-jooq/pom.xml b/spring-jooq/pom.xml index 79d34e87f1..84367151de 100644 --- a/spring-jooq/pom.xml +++ b/spring-jooq/pom.xml @@ -57,24 +57,7 @@ spring-boot-starter-jooq - - - org.slf4j - slf4j-api - runtime - - - ch.qos.logback - logback-classic - runtime - - - - junit - junit - test - org.springframework spring-test @@ -166,27 +149,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - @@ -262,12 +224,7 @@ 3.8.6 1.4.193 4.3.4.RELEASE - 1.7.21 - 1.1.7 - 4.12 - 3.6.0 - 2.19.1 1.0.0 1.5 1.0.0 diff --git a/spring-jpa/pom.xml b/spring-jpa/pom.xml index 1668ce8062..6d72286028 100644 --- a/spring-jpa/pom.xml +++ b/spring-jpa/pom.xml @@ -128,13 +128,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -167,16 +160,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins @@ -188,20 +171,6 @@ - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - @@ -221,10 +190,6 @@ 1.2 2.5 - - 1.7.21 - 1.1.7 - 5.3.3.Final 1.4.01 @@ -236,7 +201,6 @@ 1.3 - 4.12 1.10.19 4.4.5 @@ -245,8 +209,6 @@ 2.9.0 - 3.6.0 - 2.19.1 2.7 1.6.1 2.6 diff --git a/spring-ldap/pom.xml b/spring-ldap/pom.xml index 91dbefa560..db9c2160fa 100644 --- a/spring-ldap/pom.xml +++ b/spring-ldap/pom.xml @@ -15,12 +15,7 @@ - 4.12 - 2.19.1 - 3.6.1 2.3.1.RELEASE - 1.7.22 - 1.1.8 4.3.6.RELEASE 1.5.5 0.9.15 @@ -29,28 +24,6 @@ spring-ldap - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - @@ -70,13 +43,7 @@ org.slf4j jcl-over-slf4j - ${jcl.slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} + ${org.slf4j.version} org.springframework @@ -85,14 +52,7 @@ - - - - junit - junit - ${junit.version} - test - + org.hamcrest diff --git a/spring-mvc-forms/pom.xml b/spring-mvc-forms/pom.xml index 64d63d596d..5918d13a90 100644 --- a/spring-mvc-forms/pom.xml +++ b/spring-mvc-forms/pom.xml @@ -77,16 +77,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${maven-compiler-plugin.source} - ${maven-compiler-plugin.source} - - - org.apache.maven.plugins maven-war-plugin @@ -112,8 +102,6 @@ 1.2 2.3.1 3.1.0 - 3.6.0 - 1.8 5.4.0.Final enter-location-of-server 1.3.2 diff --git a/spring-mvc-java/pom.xml b/spring-mvc-java/pom.xml index c6333729f5..632012b00f 100644 --- a/spring-mvc-java/pom.xml +++ b/spring-mvc-java/pom.xml @@ -111,17 +111,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - - ${logback.version} - org.slf4j jcl-over-slf4j @@ -130,12 +119,6 @@ - - junit - junit - ${junit.version} - test - org.hamcrest hamcrest-core @@ -207,15 +190,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - maven-resources-plugin @@ -230,22 +204,7 @@ false - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - true - - - - - - + org.codehaus.cargo cargo-maven2-plugin @@ -372,10 +331,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.4.1.Final 3.1.0 @@ -389,7 +344,6 @@ 1.3 - 4.12 1.10.19 4.4.5 4.5.2 @@ -397,9 +351,7 @@ 2.23 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-mvc-simple/pom.xml b/spring-mvc-simple/pom.xml index 276cfa758e..a1353fa6ad 100644 --- a/spring-mvc-simple/pom.xml +++ b/spring-mvc-simple/pom.xml @@ -16,12 +16,10 @@ 4.3.4.RELEASE - 3.5.1 2.6 1.2 2.3.1 3.1.0 - 1.8 5.3.3.Final enter-location-of-server 1.3.2 @@ -85,15 +83,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.7 - 1.7 - - org.apache.maven.plugins maven-war-plugin diff --git a/spring-mvc-tiles/pom.xml b/spring-mvc-tiles/pom.xml index 187ac042e9..2f7bd24eac 100644 --- a/spring-mvc-tiles/pom.xml +++ b/spring-mvc-tiles/pom.xml @@ -21,7 +21,6 @@ 2.3.1 1.2 - 3.6.0 2.6 @@ -77,15 +76,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins maven-war-plugin diff --git a/spring-mvc-velocity/pom.xml b/spring-mvc-velocity/pom.xml index 6feb5a7c70..3ee658f241 100644 --- a/spring-mvc-velocity/pom.xml +++ b/spring-mvc-velocity/pom.xml @@ -68,13 +68,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -126,15 +119,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins @@ -206,7 +190,6 @@ 1.3 - 4.12 1.10.19 1.6.6 @@ -219,9 +202,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-mvc-webflow/pom.xml b/spring-mvc-webflow/pom.xml index 87768c8b71..315162a01b 100644 --- a/spring-mvc-webflow/pom.xml +++ b/spring-mvc-webflow/pom.xml @@ -50,19 +50,6 @@ runtime - - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -77,13 +64,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -116,17 +96,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin @@ -135,21 +104,6 @@ false - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - - @@ -161,13 +115,8 @@ 2.4.4.RELEASE - - 1.7.21 - 1.1.7 - 1.3 - 4.12 1.10.19 3.1.0 @@ -179,9 +128,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-mvc-xml/pom.xml b/spring-mvc-xml/pom.xml index 866d032f22..75a9577022 100644 --- a/spring-mvc-xml/pom.xml +++ b/spring-mvc-xml/pom.xml @@ -59,17 +59,7 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - + org.slf4j jcl-over-slf4j @@ -79,13 +69,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -146,15 +129,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - org.apache.maven.plugins @@ -162,20 +136,6 @@ ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - - - - - - - @@ -193,10 +153,6 @@ 4.4.5 4.5.2 - - 1.7.21 - 1.1.7 - 5.3.3.Final 1.2 @@ -211,15 +167,12 @@ 1.3 - 4.12 1.10.19 2.9.0 - 3.6.0 2.6 - 2.19.1 1.6.1 diff --git a/spring-security-mvc-custom/pom.xml b/spring-security-mvc-custom/pom.xml index de7c61c842..56ac8babc6 100644 --- a/spring-security-mvc-custom/pom.xml +++ b/spring-security-mvc-custom/pom.xml @@ -113,18 +113,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -134,13 +122,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -174,36 +155,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -238,10 +195,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.3.3.Final 3.1.0 @@ -253,7 +206,6 @@ 1.3 - 4.12 1.10.19 4.5.2 @@ -262,9 +214,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-security-mvc-digest-auth/pom.xml b/spring-security-mvc-digest-auth/pom.xml index 34cf94f1f9..7bd3372ddd 100644 --- a/spring-security-mvc-digest-auth/pom.xml +++ b/spring-security-mvc-digest-auth/pom.xml @@ -109,17 +109,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -129,13 +118,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -169,36 +151,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -233,10 +191,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.3.3.Final 1.2 @@ -248,7 +202,6 @@ 1.3 - 4.12 1.10.19 4.4.5 @@ -257,9 +210,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-security-mvc-login/pom.xml b/spring-security-mvc-login/pom.xml index 158460e509..0a67ec2a55 100644 --- a/spring-security-mvc-login/pom.xml +++ b/spring-security-mvc-login/pom.xml @@ -105,18 +105,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -126,13 +114,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -179,33 +160,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - org.codehaus.cargo cargo-maven2-plugin @@ -240,10 +200,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.3.3.Final 3.1.0 @@ -255,7 +211,6 @@ 1.3 - 4.12 1.10.19 4.4.5 @@ -264,7 +219,6 @@ 2.9.0 - 3.6.0 2.6 2.7 1.6.1 diff --git a/spring-security-mvc-persisted-remember-me/pom.xml b/spring-security-mvc-persisted-remember-me/pom.xml index a2ebe05688..27b42a9a0b 100644 --- a/spring-security-mvc-persisted-remember-me/pom.xml +++ b/spring-security-mvc-persisted-remember-me/pom.xml @@ -143,18 +143,6 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -164,13 +152,6 @@ - - junit - junit-dep - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -204,36 +185,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -269,11 +226,6 @@ 5.1.40 1.4.193 9.4.1212 - - - - 1.7.21 - 1.1.7 5.3.3.Final @@ -286,7 +238,6 @@ 1.3 - 4.11 1.10.19 4.5.2 @@ -295,9 +246,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-security-mvc-session/pom.xml b/spring-security-mvc-session/pom.xml index 4856e52a59..2ba5024149 100644 --- a/spring-security-mvc-session/pom.xml +++ b/spring-security-mvc-session/pom.xml @@ -113,18 +113,7 @@ - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - + org.slf4j jcl-over-slf4j @@ -134,13 +123,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -174,36 +156,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -238,10 +196,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.3.3.Final 3.0.2 @@ -254,7 +208,6 @@ 1.3 - 4.12 1.10.19 4.5.2 @@ -263,9 +216,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 2.7 1.6.1 diff --git a/spring-security-rest-basic-auth/pom.xml b/spring-security-rest-basic-auth/pom.xml index 686a329f9b..3db1d98b18 100644 --- a/spring-security-rest-basic-auth/pom.xml +++ b/spring-security-rest-basic-auth/pom.xml @@ -161,17 +161,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -188,13 +177,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -228,39 +210,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - true - source - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*LiveTest.java - **/*ManualTest.java - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -354,10 +309,6 @@ 4.4.5 4.5.3 - - 1.7.21 - 1.1.7 - 5.3.3.Final 1.2 @@ -370,15 +321,12 @@ 1.3 - 4.12 1.10.19 2.9.0 - 3.6.0 2.6 - 2.19.1 1.6.1 diff --git a/spring-security-rest-digest-auth/pom.xml b/spring-security-rest-digest-auth/pom.xml index cd7292f7ff..4c2d6cadcd 100644 --- a/spring-security-rest-digest-auth/pom.xml +++ b/spring-security-rest-digest-auth/pom.xml @@ -155,17 +155,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -182,13 +171,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -222,38 +204,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - true - source - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*LiveTest.java - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -347,10 +303,6 @@ 4.4.5 4.5.2 - - 1.7.21 - 1.1.7 - 2.8.5 @@ -365,15 +317,12 @@ 1.3 - 4.12 1.10.19 2.9.0 - 3.6.0 2.6 - 2.19.1 1.6.1 diff --git a/spring-security-rest/pom.xml b/spring-security-rest/pom.xml index 7a9f26c799..79b6027bfb 100644 --- a/spring-security-rest/pom.xml +++ b/spring-security-rest/pom.xml @@ -134,17 +134,6 @@ - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -181,13 +170,6 @@ - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -241,36 +223,12 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*LiveTest.java - **/*IntegrationTest.java - - - - - - - org.codehaus.cargo cargo-maven2-plugin @@ -361,10 +319,6 @@ 5.2.5.Final 5.1.40 - - 1.7.21 - 1.1.7 - 5.3.3.Final 3.1.0 @@ -379,7 +333,6 @@ 1.3 - 4.12 1.10.19 2.9.0 @@ -392,9 +345,7 @@ 2.9.0 - 3.6.0 2.6 - 2.19.1 1.6.1 diff --git a/spring-spel/pom.xml b/spring-spel/pom.xml index 8e4365e5b5..bc1c6ddfec 100644 --- a/spring-spel/pom.xml +++ b/spring-spel/pom.xml @@ -15,19 +15,11 @@ - 4.12 1.3 4.3.4.RELEASE - 3.6.0 - 2.19.1 - - junit - junit - ${junit.version} - org.hamcrest hamcrest-all @@ -45,35 +37,6 @@ test - - - - maven-compiler-plugin - ${maven-compiler-plugin.version} - - true - true - 1.8 - 1.8 - UTF-8 - true - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - diff --git a/spring-state-machine/pom.xml b/spring-state-machine/pom.xml index 9dcb51fe4e..7910b1299a 100644 --- a/spring-state-machine/pom.xml +++ b/spring-state-machine/pom.xml @@ -10,10 +10,6 @@ 4.0.0 spring-state-machine - - 1.8 - 1.8 - @@ -26,12 +22,6 @@ spring-test 4.3.7.RELEASE - - junit - junit - 4.12 - test - com.jayway.awaitility @@ -42,22 +32,4 @@ - - - - org.apache.maven.plugins - maven-surefire-plugin - - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - - - \ No newline at end of file diff --git a/spring-thymeleaf/pom.xml b/spring-thymeleaf/pom.xml index 7d71cceb89..ca3bf4acf6 100644 --- a/spring-thymeleaf/pom.xml +++ b/spring-thymeleaf/pom.xml @@ -18,9 +18,6 @@ 4.3.4.RELEASE 4.2.0.RELEASE 3.1.0 - - 1.7.21 - 1.1.7 3.0.3.RELEASE 3.0.0.RELEASE @@ -30,11 +27,8 @@ 5.3.3.Final 5.2.5.Final - 4.12 - 3.6.0 2.6 - 2.19.1 1.6.1 2.2 @@ -91,18 +85,6 @@ thymeleaf-extras-java8time ${org.thymeleaf.extras-version} - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - org.slf4j jcl-over-slf4j @@ -143,28 +125,10 @@ ${springframework-security.version} test - - - - junit - junit - ${junit.version} - test - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${java-version} - ${java-version} - - org.apache.maven.plugins maven-war-plugin @@ -173,20 +137,6 @@ false - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 3 - true - - **/*IntegrationTest.java - **/*LiveTest.java - - - - org.codehaus.cargo cargo-maven2-plugin diff --git a/spring-userservice/pom.xml b/spring-userservice/pom.xml index 08ce74e13e..a355759c53 100644 --- a/spring-userservice/pom.xml +++ b/spring-userservice/pom.xml @@ -102,13 +102,6 @@ test - - junit - junit - ${junit.version} - test - - org.hamcrest hamcrest-core @@ -230,38 +223,11 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-war-plugin ${maven-war-plugin.version} - - - org.apache.maven.plugins - maven-surefire-plugin - ${maven-surefire-plugin.version} - - 3 - true - - - **/*IntegrationTest.java - - - - - - @@ -329,13 +295,10 @@ 1.3 - 4.12 1.10.19 - 3.6.0 2.6 - 2.19.1 diff --git a/struts2/pom.xml b/struts2/pom.xml index 0bb82cfdbe..45150d15fd 100644 --- a/struts2/pom.xml +++ b/struts2/pom.xml @@ -22,14 +22,6 @@ - - maven-compiler-plugin - 3.5.1 - - 1.8 - 1.8 - - maven-war-plugin 3.0.0 @@ -40,11 +32,6 @@ - - junit - junit - 4.12 - org.apache.struts struts2-core diff --git a/testing/pom.xml b/testing/pom.xml index 41a6a34b44..a7c2831872 100644 --- a/testing/pom.xml +++ b/testing/pom.xml @@ -30,13 +30,6 @@ ${hamcrest.library.version} test - - - junit - junit - ${junit.version} - test - org.assertj assertj-core @@ -65,11 +58,6 @@ ${pitest.version} pom - - junit - junit - ${junit.version} - @@ -125,15 +113,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - @@ -141,12 +120,9 @@ 1.3 1.2.5 1.1.10 - 4.12 0.7.7.201606060606 19.0 3.1.0 - 4.12 3.6.1 - 3.6.0 diff --git a/testng/pom.xml b/testng/pom.xml index 82ee9d67ea..9add13baca 100644 --- a/testng/pom.xml +++ b/testng/pom.xml @@ -16,19 +16,6 @@ - - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - @@ -56,17 +43,6 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - org.apache.maven.plugins maven-surefire-plugin @@ -109,18 +85,8 @@ - - - 1.7.21 - 1.1.7 - 6.10 - - - 3.6.0 - 2.19.1 - diff --git a/vertx/pom.xml b/vertx/pom.xml index 971a61d336..784a6c26b3 100644 --- a/vertx/pom.xml +++ b/vertx/pom.xml @@ -14,12 +14,6 @@ vertx http://maven.apache.org - - junit - junit - 4.12 - test - io.vertx @@ -39,31 +33,10 @@ 3.0.0 test - - - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - ch.qos.logback - logback-classic - ${logback.version} - - - maven-compiler-plugin - 3.3 - - 1.8 - 1.8 - - org.apache.maven.plugins maven-shade-plugin @@ -95,17 +68,9 @@ - - 1.7.21 - 1.1.7 - 6.10 - - 3.6.0 - 2.19.1 - diff --git a/wicket/pom.xml b/wicket/pom.xml index 3a692c81e9..2927e79c48 100644 --- a/wicket/pom.xml +++ b/wicket/pom.xml @@ -18,8 +18,6 @@ 7.5.0 9.2.13.v20150730 - 4.12 - 3.6.0 2.6 UTF-8 @@ -31,14 +29,6 @@ ${wicket.version} - - - junit - junit - ${junit.version} - test - - org.eclipse.jetty.aggregate @@ -81,19 +71,6 @@ - - true - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - UTF-8 - true - true - - org.apache.maven.plugins maven-war-plugin @@ -107,16 +84,6 @@ jetty-maven-plugin ${jetty9.version} - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - - - diff --git a/xml/pom.xml b/xml/pom.xml index 16764ece18..f36f5ca9f2 100644 --- a/xml/pom.xml +++ b/xml/pom.xml @@ -89,16 +89,6 @@ ${commons-lang.version} - - - - - junit - junit - ${junit.version} - test - - @@ -112,16 +102,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - ${java-version} - ${java-version} - - - org.apache.maven.plugins maven-surefire-plugin @@ -328,12 +308,9 @@ 2.4 1.8 - - 4.12 + - 3.6.0 - 2.19.1 1.3.1 diff --git a/xmlunit2/pom.xml b/xmlunit2/pom.xml index 42d94caf16..f430b8b7a9 100644 --- a/xmlunit2/pom.xml +++ b/xmlunit2/pom.xml @@ -11,38 +11,8 @@ parent-modules 1.0.0-SNAPSHOT - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*IntegrationTest.java - **/*LiveTest.java - - - - - - - junit - junit - ${junit.version} - test - org.hamcrest hamcrest-all @@ -65,12 +35,8 @@ - 4.12 1.3 2.3.0 - - - 3.6.0 diff --git a/xstream/pom.xml b/xstream/pom.xml index 13a1c48347..5d41bc47b2 100644 --- a/xstream/pom.xml +++ b/xstream/pom.xml @@ -26,70 +26,11 @@ ${jettison.version} - - junit - junit - ${junit.version} - - - - org.slf4j - slf4j-api - ${org.slf4j.version} - - - - ch.qos.logback - logback-classic - ${logback.version} - - - - ch.qos.logback - logback-core - ${logback.version} - - - - - - org.apache.maven.plugins - maven-compiler-plugin - ${maven-compiler-plugin.version} - - 1.8 - 1.8 - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/*LongRunningUnitTest.java - **/*IntegrationTest.java - - - - - - 1.4.9 1.3.8 - - 1.7.21 - 1.1.7 - - - 4.12 - - - 3.6.0 - \ No newline at end of file