Uh oh!
There was an error while loading. Please reload this page.
[HOTFIX]: Fix maven build missing some class - #3228
Conversation
witgo
commented
Nov 12, 2014
SparkQA
commented
Nov 12, 2014
Test build #23268 has started for PR 3228 at commit
|
srowen
commented
Nov 12, 2014
+1 looks correct to me, as other occurrences of this profile are activated by default in modules. It would also explain the behavior we see. |
SparkQA
commented
Nov 12, 2014
Test build #23268 has finished for PR 3228 at commit
|
AmplabJenkins
commented
Nov 12, 2014
Test PASSed. |
srowen
commented
Nov 13, 2014
See SPARK-4375 now. There is more to fixing it than this it seems. |
ScrapCodes
commented
Nov 13, 2014
Currently there is no way around not passing -Pscala-2.10/-Pscala-2.11 for maven users. We can either document this, or I am not sure if there is another way. |
witgo
commented
Nov 13, 2014
How about the following? <profile>
<id>scala-2.10</id>
<activation>
<property>
<name>scala.version</name>
<value>2.10.4</value>
</property>
</activation>
<properties>
<scala.binary.version>2.10</scala.binary.version>
<jline.version>${scala.version}</jline.version>
<jline.groupid>org.scala-lang</jline.groupid>
</properties>
<modules>
<module>external/kafka</module>
</modules>
</profile>
<profile>
<id>scala-2.11</id>
<activation>
<property>
<name>scala.version</name>
<value>2.11.2</value>
</property>
</activation>
<properties>
<scala.binary.version>2.11</scala.binary.version>
<jline.version>2.12</jline.version>
<jline.groupid>jline</jline.groupid>
</properties>
</profile> |
sryza
commented
Nov 13, 2014
That still requires the user to set "scala.version", right? |
witgo
commented
Nov 13, 2014
Yes, it seems to work.It seems that the user must explicitly set |
The bug was caused by #3159