From 4e4db4cb27bce09ae1a49b19d9dfd51d19b53ad4 Mon Sep 17 00:00:00 2001 From: gli Date: Wed, 11 Feb 2015 17:25:33 +0800 Subject: [PATCH] [IDE] cannot import src/main/scala & src/test/scala into eclipse as source folder When import the whole project into eclipse as maven project, found that the src/main/scala & src/test/scala can not be set as source folder as default behavior, so add a "add-source" goal in scala-maven-plugin to let this work. --- pom.xml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pom.xml b/pom.xml index 56e37d42265c0..f8b9f36f35d40 100644 --- a/pom.xml +++ b/pom.xml @@ -1096,6 +1096,12 @@ scala-maven-plugin 3.2.0 + + eclipse-add-source + + add-source + + scala-compile-first process-resources