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

Closed
harrah opened this Issue Jan 5, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@harrah
Owner

harrah commented Jan 5, 2013

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

This comment has been minimized.

Show comment
Hide comment
@harrah

harrah Jan 5, 2013

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.

Owner

harrah commented Jan 5, 2013

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 Jan 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment