From 716b34b720e39d1f0f98f74a578a5e13d2510587 Mon Sep 17 00:00:00 2001 From: Andreas Gudian Date: Tue, 9 Sep 2014 20:19:29 +0200 Subject: [PATCH] #169 Copying sources from core-common to core/core-jdk8 using maven-resources-plugin to allow faster builds and nicer roundtrips in IDEs --- core-common/pom.xml | 13 ------------- core-jdk8/pom.xml | 16 +++++++++------- core/pom.xml | 16 +++++++++------- 3 files changed, 18 insertions(+), 27 deletions(-) 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 + +