How to prevent the publication of sbt pom.xml

Originally asked fommil on the Gitter sbt / sbt channel:

Does anyone know which task generates a pom file, for example. in the publication? I would like to redefine it in order to do nothing.

+4
source share
1 answer
Task

makePomcreates Maven pom.xml, but you still need to configure other things so that they are not included in published artifacts.

What you need:

publishArtifact in makePom := false

See Artifacts for more details .

+6
source

Source: https://habr.com/ru/post/1677286/


All Articles