=pro #3752 publish jars locally to the right directory
This commit is contained in:
parent
4d05253391
commit
5f6f1609f8
1 changed files with 8 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import com.typesafe.sbt.SbtMultiJvm
|
|||
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.{ MultiJvm, extraOptions, jvmOptions, scalatestOptions, multiNodeExecuteTests, multiNodeJavaName, multiNodeHostsFileName, multiNodeTargetDirName, multiTestOptions }
|
||||
import com.typesafe.sbt.SbtScalariform
|
||||
import com.typesafe.sbt.SbtScalariform.ScalariformKeys
|
||||
import com.typesafe.sbt.osgi.SbtOsgi.{ OsgiKeys, osgiSettings }
|
||||
import com.typesafe.sbt.osgi.SbtOsgi.{ OsgiKeys, defaultOsgiSettings }
|
||||
import com.typesafe.tools.mima.plugin.MimaPlugin.mimaDefaultSettings
|
||||
import com.typesafe.tools.mima.plugin.MimaKeys.previousArtifact
|
||||
import com.typesafe.tools.mima.plugin.MimaKeys.reportBinaryIssues
|
||||
|
|
@ -972,6 +972,13 @@ object AkkaBuild extends Build {
|
|||
|
||||
object OSGi {
|
||||
|
||||
// The included osgiSettings that creates bundles also publish the jar files
|
||||
// in the .../bundles directory which makes testing locally published artifacts
|
||||
// a pain. Create bundles but publish them to the normal .../jars directory.
|
||||
def osgiSettings = defaultOsgiSettings ++ Seq(
|
||||
packagedArtifact in (Compile, packageBin) <<= (artifact in (Compile, packageBin), OsgiKeys.bundle).identityMap
|
||||
)
|
||||
|
||||
//akka-actor is wrapped into akka-osgi to simplify OSGi deployement.
|
||||
|
||||
val agent = exports(Seq("akka.agent.*"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue