2014-04-15 59 views

回答

0

您是否需要发布现有pom.xml文件的内容,或者您​​是否可以让sbt为您生成pom的内容?如果是后者,可以考虑使用pomExtra

pomExtra := (
    <url>http://jsuereth.com/scala-arm</url> 
    <licenses> 
    <license> 
     <name>BSD-style</name> 
     <url>http://www.opensource.org/licenses/bsd-license.php</url> 
     <distribution>repo</distribution> 
    </license> 
    </licenses> 
    <scm> 
    <url>[email protected]:jsuereth/scala-arm.git</url> 
    <connection>scm:git:[email protected]:jsuereth/scala-arm.git</connection> 
    </scm> 
    <developers> 
    <developer> 
     <id>jsuereth</id> 
     <name>Josh Suereth</name> 
     <url>http://jsuereth.com</url> 
    </developer> 
    </developers>) 
+0

为主要子项目的劲歌工作正常。这里的问题是'sbt-assembly'出版物完全没有描述符。 – fommil

+0

奇怪;它似乎为我工作,当我结合[这个例子](https://github.com/eed3si9n/sbt-assembly-full-config-sample)与[“不建议”出版的配置(https://开头的github的.com/SBT/SBT-组件#出版 - 不推荐)。 – earldouglas

+0

我很惊讶的“不建议”的建议,甚至编译你...当前维护者不得不放弃我在上面的建议,甚至得到的罐子建设作为发布的一部分。那么在0.13.2-RC2上呢? – fommil