Skip to content

Commit f87f3b7

Browse files
ligangtysrowen
authored andcommitted
SPARK-5822 [BUILD] 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. Author: gli <gli@redhat.com> Closes #4531 from ligangty/addsource and squashes the following commits: 4e4db4c [gli] [IDE] cannot import src/main/scala & src/test/scala into eclipse as source folder (cherry picked from commit ed5f4bb) Signed-off-by: Sean Owen <sowen@cloudera.com>
1 parent 1945fcf commit f87f3b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1083,6 +1083,12 @@
10831083
<artifactId>scala-maven-plugin</artifactId>
10841084
<version>3.2.0</version>
10851085
<executions>
1086+
<execution>
1087+
<id>eclipse-add-source</id>
1088+
<goals>
1089+
<goal>add-source</goal>
1090+
</goals>
1091+
</execution>
10861092
<execution>
10871093
<id>scala-compile-first</id>
10881094
<phase>process-resources</phase>

0 commit comments

Comments
 (0)