Ah, and you may have to use dev/change-version-to-2.11.sh. (Again,
never tried compiling with scala 2.11.)

On Thu, Mar 5, 2015 at 4:52 PM, Marcelo Vanzin <van...@cloudera.com> wrote:
> I've never tried it, but I'm pretty sure in the very least you want
> "-Pscala-2.11" (not -D).
>
> On Thu, Mar 5, 2015 at 4:46 PM, Night Wolf <nightwolf...@gmail.com> wrote:
>> Hey guys,
>>
>> Trying to build Spark 1.3 for Scala 2.11.
>>
>> I'm running with the folllowng Maven command;
>>
>> -DskipTests -Dscala-2.11 clean install package
>>
>>
>> Exception:
>>
>> [ERROR] Failed to execute goal on project spark-core_2.10: Could not resolve
>> dependencies for project
>> org.apache.spark:spark-core_2.10:jar:1.3.0-SNAPSHOT: The following artifacts
>> could not be resolved:
>> org.apache.spark:spark-network-common_2.11:jar:1.3.0-SNAPSHOT,
>> org.apache.spark:spark-network-shuffle_2.11:jar:1.3.0-SNAPSHOT: Failure to
>> find org.apache.spark:spark-network-common_2.11:jar:1.3.0-SNAPSHOT in
>> http://repository.apache.org/snapshots was cached in the local repository,
>> resolution will not be reattempted until the update interval of
>> apache.snapshots has elapsed or updates are forced -> [Help 1]
>>
>>
>> I see these warnings in the log before this error:
>>
>>
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Building Spark Project Core 1.3.0-SNAPSHOT
>> [INFO]
>> ------------------------------------------------------------------------
>> [WARNING] The POM for
>> org.apache.spark:spark-network-common_2.11:jar:1.3.0-SNAPSHOT is missing, no
>> dependency information available
>> [WARNING] The POM for
>> org.apache.spark:spark-network-shuffle_2.11:jar:1.3.0-SNAPSHOT is missing,
>> no dependency information available
>>
>>
>> Any ideas?
>
>
>
> --
> Marcelo



-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to