title: Differences in ivy/maven publishing for sbt plugin
body: <p>I have two SBT plugins: PluginA and PluginB.  PluginA depends on tasks in PluginB. Whenever I publish PluginB locally to "~/.ivy2" using "publishLocal", then PluginA works.  Though the dependency still resolves when I publish PluginB using "publishM2" to my local "~/.m2" the compile task for PluginA fails:</p>
  
  <blockquote>
    <p>"object xxx is not a member of package yyy".</p>
  </blockquote>
  
  <p>I have tried setting "publishMavenStyle" to both true and false and adjusting the resolver, but neither work.    </p>
  
  <p>Why does this happen and is there a way to get this to work when publishing in a maven style?</p>