sbt / sbt/sbt-eclipse

sbt-eclipse,sbt-assembly plugin issue: scala-spark-sbt-plugins

Open
#316 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
712
Forks
163
PR merge metrics
No merged PRs in 30d

Description

Hi Friends,
I am new to Spark-Scala-sbt area. I am trying to run one sample spark-scala code using sbt and some sbt eclipse and sbt assembly plugins, But not able to package run it due to below issue,:

Created the plugins. sbt file under MyProject/project/ with below :
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.4.0")

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.3")

Environment:
sbt version is 0.13
scala version is 2.10.3

now from my project directory
cd ~/MyProject
MyProject$ sbt package ,getting below error.

[info] Resolving org.scala-sbt#compiler-interface;0.13.1 ...
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: UNRESOLVED DEPENDENCIES ::
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn] :: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found
[warn] :: com.eed3si9n#sbt-assembly;0.14.3: not found
[warn] ::::::::::::::::::::::::::::::::::::::::::::::
[warn]
[warn] Note: Some unresolved dependencies have extra attributes. Check that these dependencies exist with the requested attributes.
[warn] com.typesafe.sbteclipse:sbteclipse-plugin:2.4.0 (sbtVersion=0.13, scalaVersion=2.10)
[warn] com.eed3si9n:sbt-assembly:0.14.3 (sbtVersion=0.13, scalaVersion=2.10)
[warn]
sbt.ResolveException: unresolved dependency: com.typesafe.sbteclipse#sbteclipse-plugin;2.4.0: not found
unresolved dependency: com.eed3si9n#sbt-assembly;0.14.3: not found

Checked some solution but unfortunately not working for me.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with MyProject/project/plugins.sbt and reproduce the failure with sbt package under sbt 0.13 and Scala 2.10.3. Check why the requested sbteclipse-plugin 2.4.0 and sbt-assembly 0.14.3 dependencies are unresolved; done means both plugins resolve successfully and the sample project packages.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.