sbt使用pom发布程序集jar

sbt使用pom发布程序集jar,sbt,pom.xml,sbt-assembly,Sbt,Pom.xml,Sbt Assembly,我能够将我的多项目的一个jar构建为一个jar,然后发布它 但是,相关的pom.xml不是随它一起发布的 如何为sbt程序集jar创建和发布pom.xml(和常春藤文件)描述符? 我的项目是。您需要发布现有pom.xml文件的内容,还是可以让sbt为您生成pom的内容?如果后者,考虑使用: pomExtra:=( http://jsuereth.com/scala-arm BSD风格 http://www.opensource.org/licenses/bsd-license.php 回购 gi

我能够将我的多项目的一个jar构建为一个jar,然后发布它

但是,相关的
pom.xml
不是随它一起发布的

如何为
sbt程序集
jar创建和发布
pom.xml
(和常春藤文件)描述符?


我的项目是。

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

pomExtra:=(
http://jsuereth.com/scala-arm
BSD风格
http://www.opensource.org/licenses/bsd-license.php
回购
git@github.com:jsuereth/scala-arm.git
scm:git:git@github.com:jsuereth/scala-arm.git
杰苏雷斯
乔希·苏雷思
http://jsuereth.com
)

主要子项目的POM运行良好。这里的问题是
sbt汇编
出版物根本没有描述符;当我和的结合在一起时,它似乎对我有效。我很惊讶“不推荐”的建议甚至可以为您编译。。。当前的维护人员不得不给我上面的建议,甚至让jars构建成为发布的一部分。关于0.13.2-RC2呢?我的
build.scala
在问题中。。。看到什么明显的了吗?我和你做的一样,但仍然没有描述。我已经用信息更新了这个问题。您确定生成了描述符吗?您是否以不同的方式修改了示例?
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>git@github.com:jsuereth/scala-arm.git</url>
    <connection>scm:git:git@github.com:jsuereth/scala-arm.git</connection>
  </scm>
  <developers>
    <developer>
      <id>jsuereth</id>
      <name>Josh Suereth</name>
      <url>http://jsuereth.com</url>
    </developer>
  </developers>)