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:
parent
611f44f176
commit
4dad65cd5a
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue