Skip to content

Since the coursier integration SBT throws a runtime error for PomConfiguration #5493

@rcano

Description

@rcano

steps

Setup a project using exteralPom()

problem

when compile is attempted you get

java.lang.RuntimeException: unrecognized module settings: PomConfiguration(false, Some(ScalaModuleInfo(2.11.8, 2.11, Vector(), true, false, true, org.scala-lang, Vector(scala-library, scala-compiler, scala-reflect, scala-actors, scalap))), /tmp/myproj/pom.xml, true)

expectation

that it compiles just like it does under sbt 1.2.x

note

It seems to be unsupported according to
https://github.com/coursier/sbt-coursier/blob/29208b66b9ad5f218fe4f77060342da62d836e5a/modules/lm-coursier/src/main/scala/lmcoursier/CoursierDependencyResolution.scala#L51
If this is the case, then externalPom() should be removed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions