https://bugzilla.redhat.com/show_bug.cgi?id=1090765
Bug ID: 1090765
Summary: Scala projects containing the sbteclipse plugin fail
to build
Product: Fedora
Version: 20
Component: sbt
Severity: high
Assignee: willb(a)redhat.com
Reporter: gvdmer(a)gmail.com
QA Contact: extras-qa(a)fedoraproject.org
CC: java-sig-commits(a)lists.fedoraproject.org, s(a)shk.io,
willb(a)redhat.com
Description of problem:
Scala project will not build in sbt 0.13.1 and Scala 2.10.3 unless I DO NOT try
to add the sbteclipse plugin (2.4.0)
Version-Release number of selected component (if applicable):
sbt 0.13.1
How reproducible:
Every time.
Steps to Reproduce:
1. "yum install -y java", "yum install -y scala", and "yum
install -y sbt."
This installed OpenJDK 1.7.0_51, Scala 2.10.3, and sbt 0.13.1.
2. plugins.sbt contains the line "addSbtPlugin("com.typesafe.sbteclipse" %
"sbteclipse-plugin" % "2.4.0")"
Actual results:
Building the project generates the following error:
"sbt.ResolveException: unresolved dependency:
org.scala-lang#scala-library;2.10.3: configuration not found in
org.scala-lang#scala-library;2.10.3: 'compile'."
Expected results:
Project builds.
Additional info:
This is a problem whether the plugins.sbt is located in /project, or in
~/.sbt/0.13/plugins.
I encountered this problem attempting to build
https://github.com/liftmodules/widgets
When I comment-out the "addSbtPlugin.... sbteclipse-plugin" line from the
plugins.sbt, the build functions normally.
I recreated the problem using a simple test project that just creates a single
Scala class with a one-line print statement. The problem continues to occur
independently of whatever other plugins, repositories, or library dependencies
I define in the plugins.sbt and build.sbt files.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=1ghlw6cYfy&a=cc_unsubscribe