diff --git a/core-common/pom.xml b/core-common/pom.xml
index e9c661f3c..aba46dc5e 100644
--- a/core-common/pom.xml
+++ b/core-common/pom.xml
@@ -68,19 +68,6 @@
true
-
- org.apache.maven.plugins
- maven-source-plugin
-
-
- attach-sources
- verify
-
- jar
-
-
-
-
diff --git a/core-jdk8/pom.xml b/core-jdk8/pom.xml
index 1a2cf4711..9673ca5f4 100644
--- a/core-jdk8/pom.xml
+++ b/core-jdk8/pom.xml
@@ -111,20 +111,22 @@
- org.apache.maven.plugins
- maven-dependency-plugin
+ maven-resources-plugin
- add-copied-common-sources
+ copy-resources
process-resources
- unpack-dependencies
+ copy-resources
- mapstruct-common
- **/*.java
- sources
${project.build.directory}/${common.sources.dir}
+
+
+ ${basedir}/../core-common/src/main/java
+ false
+
+
diff --git a/core/pom.xml b/core/pom.xml
index 4faa4245c..3f6a5c08c 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -102,20 +102,22 @@
- org.apache.maven.plugins
- maven-dependency-plugin
+ maven-resources-plugin
- add-copied-common-sources
+ copy-resources
process-resources
- unpack-dependencies
+ copy-resources
- mapstruct-common
- **/*.java
- sources
${project.build.directory}/${common.sources.dir}
+
+
+ ${basedir}/../core-common/src/main/java
+ false
+
+