diff --git a/java-groovy-joint/gmavenplus-pom.xml b/core-groovy-2/gmavenplus-pom.xml
similarity index 57%
rename from java-groovy-joint/gmavenplus-pom.xml
rename to core-groovy-2/gmavenplus-pom.xml
index b34eeb292d..924dab94d1 100644
--- a/java-groovy-joint/gmavenplus-pom.xml
+++ b/core-groovy-2/gmavenplus-pom.xml
@@ -1,50 +1,19 @@
-
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- java-groovy-joint
- 0.1.0-SNAPSHOT
- java-groovy-joint
+ core-groovy-2
+ 1.0-SNAPSHOT
+ core-groovy-2
+ jar
+
com.baeldung
parent-modules
1.0.0-SNAPSHOT
-
- UTF-8
- 3.9
- 1.8
- 3.8.1
- 1.2.3
- 2.5.7
-
-
-
-
- bintray
- Groovy Bintray
- https://dl.bintray.com/groovy/maven
-
- never
-
-
- false
-
-
-
-
- org.apache.commons
- commons-lang3
- ${commons-lang3.version}
-
-
- ch.qos.logback
- logback-classic
- ${logback.version}
-
org.codehaus.groovy
groovy-all
@@ -52,30 +21,29 @@
pom
- junit
- junit
- 4.11
+ org.junit.platform
+ junit-platform-runner
+ ${junit.platform.version}
+ test
+
+
+ org.hsqldb
+ hsqldb
+ ${hsqldb.version}
+ test
+
+
+ org.spockframework
+ spock-core
+ ${spock-core.version}
test
-
+ src/main/groovy
+ src/main/java
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 3.1.2
-
-
-
- com.baeldung.App
- true
-
-
-
-
org.codehaus.gmavenplus
gmavenplus-plugin
@@ -100,7 +68,7 @@
org.codehaus.groovy
groovy-all
- 2.5.6
+ ${groovy.version}
runtime
pom
@@ -110,8 +78,42 @@
org.apache.maven.plugins
maven-compiler-plugin
-
-
+
+ maven-failsafe-plugin
+ ${maven-failsafe-plugin.version}
+
+
+ org.junit.platform
+ junit-platform-surefire-provider
+ ${junit.platform.version}
+
+
+
+
+ junit5
+
+ integration-test
+ verify
+
+
+
+ **/*Test5.java
+
+
+
+
+
+
+ maven-surefire-plugin
+ 2.20.1
+
+ false
+
+ **/*Test.java
+ **/*Spec.java
+
+
+
org.apache.maven.plugins
@@ -144,5 +146,19 @@
+
+
+ central
+ http://jcenter.bintray.com
+
+
+
+ 1.0.0
+ 2.5.7
+ 2.4.0
+ 1.1-groovy-2.4
+ 1.6
+
+
diff --git a/core-groovy-2/pom.xml b/core-groovy-2/pom.xml
index 77de9c8fc8..0ade31acdb 100644
--- a/core-groovy-2/pom.xml
+++ b/core-groovy-2/pom.xml
@@ -14,26 +14,11 @@
-
- org.codehaus.groovy
- groovy
- ${groovy.version}
-
org.codehaus.groovy
groovy-all
- ${groovy-all.version}
- pom
-
-
- org.codehaus.groovy
- groovy-dateutil
${groovy.version}
-
-
- org.codehaus.groovy
- groovy-sql
- ${groovy-sql.version}
+ pom
org.junit.platform
@@ -56,21 +41,29 @@
+ src/main/groovy
+ src/main/java
- org.codehaus.gmavenplus
- gmavenplus-plugin
- ${gmavenplus-plugin.version}
-
-
-
- addSources
- addTestSources
- compile
- compileTests
-
-
-
+ maven-compiler-plugin
+ 3.8.0
+
+ groovy-eclipse-compiler
+ ${java.version}
+ ${java.version}
+
+
+
+ org.codehaus.groovy
+ groovy-eclipse-compiler
+ 3.3.0-01
+
+
+ org.codehaus.groovy
+ groovy-eclipse-batch
+ ${groovy.version}-01
+
+
maven-failsafe-plugin
@@ -108,6 +101,35 @@
+
+
+ org.apache.maven.plugins
+ maven-assembly-plugin
+ 3.1.0
+
+
+
+ jar-with-dependencies
+
+
+
+
+ com.baeldung.App
+
+
+
+
+
+
+ make-assembly
+
+ package
+
+ single
+
+
+
+
@@ -120,9 +142,7 @@
1.0.0
- 2.5.6
- 2.5.6
- 2.5.6
+ 2.5.7
2.4.0
1.1-groovy-2.4
1.6
diff --git a/java-groovy-joint/src/main/groovy/com/baeldung/CalcMath.groovy b/core-groovy-2/src/main/groovy/com/baeldung/CalcMath.groovy
similarity index 100%
rename from java-groovy-joint/src/main/groovy/com/baeldung/CalcMath.groovy
rename to core-groovy-2/src/main/groovy/com/baeldung/CalcMath.groovy
diff --git a/java-groovy-joint/src/main/groovy/com/baeldung/CalcScript.groovy b/core-groovy-2/src/main/groovy/com/baeldung/CalcScript.groovy
similarity index 100%
rename from java-groovy-joint/src/main/groovy/com/baeldung/CalcScript.groovy
rename to core-groovy-2/src/main/groovy/com/baeldung/CalcScript.groovy
diff --git a/java-groovy-joint/src/main/java/com/baeldung/App.java b/core-groovy-2/src/main/java/com/baeldung/App.java
similarity index 100%
rename from java-groovy-joint/src/main/java/com/baeldung/App.java
rename to core-groovy-2/src/main/java/com/baeldung/App.java
diff --git a/java-groovy-joint/pom.xml b/java-groovy-joint/pom.xml
deleted file mode 100644
index 5ac4768865..0000000000
--- a/java-groovy-joint/pom.xml
+++ /dev/null
@@ -1,133 +0,0 @@
-
-
-
- 4.0.0
- java-groovy-joint
- 0.1.0-SNAPSHOT
- java-groovy-joint
-
- com.baeldung
- parent-modules
- 1.0.0-SNAPSHOT
-
-
-
- UTF-8
- 3.9
- 1.8
- 3.8.1
- 1.2.3
- 2.5.7
-
-
-
-
- bintray
- Groovy Bintray
- https://dl.bintray.com/groovy/maven
-
-
- never
-
-
- false
-
-
-
-
-
- org.apache.commons
- commons-lang3
- ${commons-lang3.version}
-
-
- ch.qos.logback
- logback-classic
- ${logback.version}
-
-
- org.codehaus.groovy
- groovy-all
- ${groovy.version}
- pom
-
-
- junit
- junit
- 4.11
- test
-
-
-
-
-
-
-
- org.apache.maven.plugins
- maven-jar-plugin
- 3.1.2
-
-
-
- com.baeldung.App
- true
-
-
-
-
-
- maven-compiler-plugin
- 3.8.0
-
- groovy-eclipse-compiler
- ${java.version}
- ${java.version}
-
-
-
- org.codehaus.groovy
- groovy-eclipse-compiler
- 3.3.0-01
-
-
- org.codehaus.groovy
- groovy-eclipse-batch
- ${groovy.version}-01
-
-
-
-
-
- org.apache.maven.plugins
- maven-assembly-plugin
- 3.1.0
-
-
-
- jar-with-dependencies
-
-
-
-
- com.baeldung.App
-
-
-
-
-
-
- make-assembly
-
- package
-
- single
-
-
-
-
-
-
-
-
-