scala - How to include per Project Jar file with xsbt-web-plugin / merge application.conf? -
i switched maven sbt scala build. since part of builds war files, use xsbt-web-plugin create war files sbt. works fine, except issue outputted war.
the war dependson 2 other sub projects (transitively). when run package classes , resources of other sub projects both merged , copied. means application.conf overwritten defined dependson , not merged.
how solved maven includes every dependency jar file in web-inf/lib, due maven has no mechanism dependson vs librarydependencies.
how can solved xsbt-web-plugin? using merge strategy onejar or have split war build other build , define them dependencies.
ok, figured out more searching, https://github.com/earldouglas/xsbt-web-plugin/issues/111 gave right hint.
set exportjars := true dependson modules.
Comments
Post a Comment