No default OSGi private package to avoid publish build warnings (#21915)

* No default OSGi private package, as it caused warnings in publish build (Fixes #21899)

* Add comment for empty OSGi private-package settings in SBT
This commit is contained in:
Richard Imaoka 2016-12-13 21:37:41 +09:00 committed by Patrik Nordwall
parent 611f44f176
commit 4dad65cd5a

View file

@ -18,7 +18,9 @@ object OSGi {
packagedArtifact in (Compile, packageBin) <<= (artifact in (Compile, packageBin), OsgiKeys.bundle).identityMap,
// This will fail the build instead of accidentally removing classes from the resulting artifact.
// Each package contained in a project MUST be known to be private or exported, if it's undecided we MUST resolve this
OsgiKeys.failOnUndecidedPackage := true
OsgiKeys.failOnUndecidedPackage := true,
// By default an entry is generated from module group-id, but our modules do not adhere to such package naming
OsgiKeys.privatePackage := Seq()
)
val actor = osgiSettings ++ Seq(