diff --git a/maven/.gitignore b/maven/.gitignore
new file mode 100644
index 0000000000..f843ae9109
--- /dev/null
+++ b/maven/.gitignore
@@ -0,0 +1 @@
+/output-resources
\ No newline at end of file
diff --git a/maven/input-resources/baeldung.png b/maven/input-resources/baeldung.png
new file mode 100644
index 0000000000..488f52e56e
Binary files /dev/null and b/maven/input-resources/baeldung.png differ
diff --git a/maven/input-resources/baeldung.txt b/maven/input-resources/baeldung.txt
new file mode 100644
index 0000000000..6006764753
--- /dev/null
+++ b/maven/input-resources/baeldung.txt
@@ -0,0 +1 @@
+Welcome to ${resources.name}!
\ No newline at end of file
diff --git a/maven/input-resources/verifications.xml b/maven/input-resources/verifications.xml
new file mode 100644
index 0000000000..c59b5086f6
--- /dev/null
+++ b/maven/input-resources/verifications.xml
@@ -0,0 +1,9 @@
+
+
+
+ input-resources/baeldung.txt
+ Welcome
+
+
+
\ No newline at end of file
diff --git a/maven/pom.xml b/maven/pom.xml
new file mode 100644
index 0000000000..d21b138762
--- /dev/null
+++ b/maven/pom.xml
@@ -0,0 +1,116 @@
+
+ 4.0.0
+ com.baeldung
+ maven
+ 0.0.1-SNAPSHOT
+
+
+ parent-modules
+ com.baeldung
+ 1.0.0-SNAPSHOT
+
+
+
+ 3.0.2
+ 3.7.0
+ 2.21.0
+ 2.21.0
+ 1.1
+ 3.0.0
+ Baeldung
+
+
+
+
+ junit
+ junit
+ 4.12
+ test
+
+
+
+
+
+
+ maven-resources-plugin
+ ${maven.resources.version}
+
+ output-resources
+
+
+ input-resources
+
+ *.png
+
+ true
+
+
+
+
+
+ maven-compiler-plugin
+ ${maven.compiler.version}
+
+ 1.8
+ 1.8
+
+ -Xlint:unchecked
+
+
+
+
+ maven-surefire-plugin
+ ${maven.surefire.version}
+
+
+ DataTest.java
+
+
+ DataCheck.java
+
+
+
+
+ maven-failsafe-plugin
+ ${maven.failsafe.version}
+
+
+
+ integration-test
+ verify
+
+
+
+
+
+
+
+
+ maven-verifier-plugin
+ ${maven.verifier.version}
+
+ input-resources/verifications.xml
+
+
+
+
+ verify
+
+
+
+
+
+ maven-clean-plugin
+ ${maven.clean.version}
+
+
+
+ output-resources
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/maven/src/main/java/com/baeldung/maven/plugins/Data.java b/maven/src/main/java/com/baeldung/maven/plugins/Data.java
new file mode 100644
index 0000000000..6ac6f9ab46
--- /dev/null
+++ b/maven/src/main/java/com/baeldung/maven/plugins/Data.java
@@ -0,0 +1,16 @@
+package com.baeldung.maven.plugins;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class Data {
+ List textList = new ArrayList();
+
+ public void addText(String text) {
+ textList.add(text);
+ }
+
+ public List getTextList() {
+ return this.textList;
+ }
+}
diff --git a/maven/src/test/java/com/baeldung/maven/plugins/DataCheck.java b/maven/src/test/java/com/baeldung/maven/plugins/DataCheck.java
new file mode 100644
index 0000000000..9aaf0fb071
--- /dev/null
+++ b/maven/src/test/java/com/baeldung/maven/plugins/DataCheck.java
@@ -0,0 +1,15 @@
+package com.baeldung.maven.plugins;
+
+import static org.junit.Assert.assertNotNull;
+
+import org.junit.Test;
+
+import com.baeldung.maven.plugins.Data;
+
+public class DataCheck {
+ @Test
+ public void whenDataObjectIsCreated_thenItIsNotNull() {
+ Data data = new Data();
+ assertNotNull(data);
+ }
+}
diff --git a/maven/src/test/java/com/baeldung/maven/plugins/DataTest.java b/maven/src/test/java/com/baeldung/maven/plugins/DataTest.java
new file mode 100644
index 0000000000..3f03b6f5d6
--- /dev/null
+++ b/maven/src/test/java/com/baeldung/maven/plugins/DataTest.java
@@ -0,0 +1,15 @@
+package com.baeldung.maven.plugins;
+
+import static org.junit.Assert.assertNull;
+
+import org.junit.Test;
+
+import com.baeldung.maven.plugins.Data;
+
+public class DataTest {
+ @Test
+ public void whenDataObjectIsNotCreated_thenItIsNull() {
+ Data data = null;
+ assertNull(data);
+ }
+}
diff --git a/pom.xml b/pom.xml
index f8e1910b9b..e5679eb29c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -122,6 +122,7 @@
mapstruct
+ maven
mesos-marathon
testing-modules/mockito
testing-modules/mockito-2