Skip to content

Loading…

A plugin dependency from a plugin doesn't publish #212

Closed
harrah opened this Issue · 1 comment

1 participant

@harrah
Owner

steps

  1. write a plugin sbt-appengine with dependency to xsbt-web-plugin as follows:

    addSbtPlugin("com.github.siasia" %% "xsbt-web-plugin" % "0.1.2")
    
    resolvers += "Web plugin repo" at "http://siasia.github.com/maven2"
    
  2. pulish-local.

problem

  1. pom does not contain the de-sugared name, so it does not get resolved:

    <dependency>
        <groupId>com.github.siasia</groupId>
        <artifactId>xsbt-web-plugin</artifactId>
        <version>0.1.2</version>
        <scope>compile</scope>
    </dependency>
    
  2. as the result, build using sbt-appengine fails without explicitly adding xsbt-web-plugin.

expectation

  1. the build using sbt-appengine automatically resolves xsbt-web-plugin and grabs it.
@harrah
Owner

IMPORTANT This project has moved to https://github.com/sbt/sbt. This issue still exists to avoid dead links, but GitHub limitations prevent the original issue from being correctly preserved here. Please see sbt/sbt#212 for the full issue and to comment.

@harrah harrah closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.