Context: created a scala/sbt repo containing mainly following structure
common-lib/
src/main/scala
src/it/scala
src/test/scala
want to package and deploy the compiled classes as 3 different jars in maven repo (for main, tests and it classes) with same name but different classifiers.
able to package and deploy main and tests jars but not success with it jar.
for main, it was ootb no need to do anything
for tests, need to add 1 line in build.sbt i.e. Test / packageBin / publishArtifact := true, to generate xx-tests.jar
for it, the similar build.sbt line donot generate and deploy xx-it jar i.e. IntegrationTest/ packageBin / publishArtifact := true,
Context: created a scala/sbt repo containing mainly following structure
common-lib/
want to package and deploy the compiled classes as 3 different jars in maven repo (for main, tests and it classes) with same name but different classifiers. able to package and deploy main and tests jars but not success with it jar.
for main, it was ootb no need to do anything
for tests, need to add 1 line in build.sbt i.e.
Test / packageBin / publishArtifact := true,
to generate xx-tests.jarfor it, the similar build.sbt line donot generate and deploy xx-it jar i.e.
IntegrationTest/ packageBin / publishArtifact := true,
Please help