adjust build for master
This commit is contained in:
parent
ba1cf38e53
commit
dcd921369c
5 changed files with 138 additions and 139 deletions
|
|
@ -82,7 +82,7 @@ object AkkaBuild extends Build {
|
||||||
protobuf,
|
protobuf,
|
||||||
remote,
|
remote,
|
||||||
remoteTests,
|
remoteTests,
|
||||||
// samples, // FIXME temporary in artery-dev branch
|
samples,
|
||||||
slf4j,
|
slf4j,
|
||||||
stream,
|
stream,
|
||||||
streamTestkit,
|
streamTestkit,
|
||||||
|
|
@ -98,37 +98,36 @@ object AkkaBuild extends Build {
|
||||||
aggregate = aggregatedProjects
|
aggregate = aggregatedProjects
|
||||||
).settings(rootSettings: _*)
|
).settings(rootSettings: _*)
|
||||||
|
|
||||||
// FIXME temporary in artery-dev branch
|
lazy val akkaScalaNightly = Project(
|
||||||
// lazy val akkaScalaNightly = Project(
|
id = "akka-scala-nightly",
|
||||||
// id = "akka-scala-nightly",
|
base = file("akka-scala-nightly"),
|
||||||
// base = file("akka-scala-nightly"),
|
// remove dependencies that we have to build ourselves (Scala STM)
|
||||||
// // remove dependencies that we have to build ourselves (Scala STM)
|
// samples don't work with dbuild right now
|
||||||
// // samples don't work with dbuild right now
|
aggregate = aggregatedProjects diff List(agent, docs, samples)
|
||||||
// aggregate = aggregatedProjects diff List(agent, docs, samples)
|
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
||||||
// ).disablePlugins(ValidatePullRequest, MimaPlugin)
|
|
||||||
|
|
||||||
lazy val actor = Project(
|
lazy val actor = Project(
|
||||||
id = "akka-actor",
|
id = "akka-actor",
|
||||||
base = file("akka-actor")
|
base = file("akka-actor")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val testkit = Project(
|
lazy val testkit = Project(
|
||||||
id = "akka-testkit",
|
id = "akka-testkit",
|
||||||
base = file("akka-testkit"),
|
base = file("akka-testkit"),
|
||||||
dependencies = Seq(actor)
|
dependencies = Seq(actor)
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val typed = Project(
|
lazy val typed = Project(
|
||||||
id = "akka-typed-experimental",
|
id = "akka-typed-experimental",
|
||||||
base = file("akka-typed"),
|
base = file("akka-typed"),
|
||||||
dependencies = Seq(testkit % "compile;test->test")
|
dependencies = Seq(testkit % "compile;test->test")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val actorTests = Project(
|
lazy val actorTests = Project(
|
||||||
id = "akka-actor-tests",
|
id = "akka-actor-tests",
|
||||||
base = file("akka-actor-tests"),
|
base = file("akka-actor-tests"),
|
||||||
dependencies = Seq(testkit % "compile;test->test")
|
dependencies = Seq(testkit % "compile;test->test")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val benchJmh = Project(
|
lazy val benchJmh = Project(
|
||||||
id = "akka-bench-jmh",
|
id = "akka-bench-jmh",
|
||||||
|
|
@ -136,7 +135,7 @@ object AkkaBuild extends Build {
|
||||||
dependencies = Seq(
|
dependencies = Seq(
|
||||||
actor,
|
actor,
|
||||||
http, stream, streamTests,
|
http, stream, streamTests,
|
||||||
remote, persistence, distributedData,
|
persistence, distributedData,
|
||||||
testkit
|
testkit
|
||||||
).map(_ % "compile;compile->test;provided->provided")
|
).map(_ % "compile;compile->test;provided->provided")
|
||||||
).disablePlugins(ValidatePullRequest)
|
).disablePlugins(ValidatePullRequest)
|
||||||
|
|
@ -144,7 +143,7 @@ object AkkaBuild extends Build {
|
||||||
lazy val protobuf = Project(
|
lazy val protobuf = Project(
|
||||||
id = "akka-protobuf",
|
id = "akka-protobuf",
|
||||||
base = file("akka-protobuf")
|
base = file("akka-protobuf")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val remote = Project(
|
lazy val remote = Project(
|
||||||
id = "akka-remote",
|
id = "akka-remote",
|
||||||
|
|
@ -156,31 +155,31 @@ object AkkaBuild extends Build {
|
||||||
id = "akka-multi-node-testkit",
|
id = "akka-multi-node-testkit",
|
||||||
base = file("akka-multi-node-testkit"),
|
base = file("akka-multi-node-testkit"),
|
||||||
dependencies = Seq(remote, testkit)
|
dependencies = Seq(remote, testkit)
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val remoteTests = Project(
|
lazy val remoteTests = Project(
|
||||||
id = "akka-remote-tests",
|
id = "akka-remote-tests",
|
||||||
base = file("akka-remote-tests"),
|
base = file("akka-remote-tests"),
|
||||||
dependencies = Seq(actorTests % "test->test", remote % "test->test", streamTestkit % "test", multiNodeTestkit)
|
dependencies = Seq(actorTests % "test->test", remote % "test->test", streamTestkit % "test", multiNodeTestkit)
|
||||||
).configs(MultiJvm)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val cluster = Project(
|
lazy val cluster = Project(
|
||||||
id = "akka-cluster",
|
id = "akka-cluster",
|
||||||
base = file("akka-cluster"),
|
base = file("akka-cluster"),
|
||||||
dependencies = Seq(remote, remoteTests % "test->test" , testkit % "test->test")
|
dependencies = Seq(remote, remoteTests % "test->test" , testkit % "test->test")
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val clusterMetrics = Project(
|
lazy val clusterMetrics = Project(
|
||||||
id = "akka-cluster-metrics",
|
id = "akka-cluster-metrics",
|
||||||
base = file("akka-cluster-metrics"),
|
base = file("akka-cluster-metrics"),
|
||||||
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm", slf4j % "test->compile")
|
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm", slf4j % "test->compile")
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val clusterTools = Project(
|
lazy val clusterTools = Project(
|
||||||
id = "akka-cluster-tools",
|
id = "akka-cluster-tools",
|
||||||
base = file("akka-cluster-tools"),
|
base = file("akka-cluster-tools"),
|
||||||
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm")
|
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm")
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val clusterSharding = Project(
|
lazy val clusterSharding = Project(
|
||||||
id = "akka-cluster-sharding",
|
id = "akka-cluster-sharding",
|
||||||
|
|
@ -191,31 +190,31 @@ object AkkaBuild extends Build {
|
||||||
// provided.
|
// provided.
|
||||||
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm",
|
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm",
|
||||||
persistence % "compile;test->provided", distributedData % "provided;test", clusterTools)
|
persistence % "compile;test->provided", distributedData % "provided;test", clusterTools)
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val distributedData = Project(
|
lazy val distributedData = Project(
|
||||||
id = "akka-distributed-data-experimental",
|
id = "akka-distributed-data-experimental",
|
||||||
base = file("akka-distributed-data"),
|
base = file("akka-distributed-data"),
|
||||||
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm")
|
dependencies = Seq(cluster % "compile->compile;test->test;multi-jvm->multi-jvm")
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val slf4j = Project(
|
lazy val slf4j = Project(
|
||||||
id = "akka-slf4j",
|
id = "akka-slf4j",
|
||||||
base = file("akka-slf4j"),
|
base = file("akka-slf4j"),
|
||||||
dependencies = Seq(actor, testkit % "test->test")
|
dependencies = Seq(actor, testkit % "test->test")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val agent = Project(
|
lazy val agent = Project(
|
||||||
id = "akka-agent",
|
id = "akka-agent",
|
||||||
base = file("akka-agent"),
|
base = file("akka-agent"),
|
||||||
dependencies = Seq(actor, testkit % "test->test")
|
dependencies = Seq(actor, testkit % "test->test")
|
||||||
).disablePlugins(ValidatePullRequest, MimaPlugin)
|
)
|
||||||
|
|
||||||
lazy val persistence = Project(
|
lazy val persistence = Project(
|
||||||
id = "akka-persistence",
|
id = "akka-persistence",
|
||||||
base = file("akka-persistence"),
|
base = file("akka-persistence"),
|
||||||
dependencies = Seq(actor, testkit % "test->test", protobuf)
|
dependencies = Seq(actor, testkit % "test->test", protobuf)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val persistenceQuery = Project(
|
lazy val persistenceQuery = Project(
|
||||||
id = "akka-persistence-query-experimental",
|
id = "akka-persistence-query-experimental",
|
||||||
|
|
@ -225,37 +224,37 @@ object AkkaBuild extends Build {
|
||||||
persistence % "compile;provided->provided;test->test",
|
persistence % "compile;provided->provided;test->test",
|
||||||
testkit % "compile;test->test",
|
testkit % "compile;test->test",
|
||||||
streamTestkit % "compile;test->test")
|
streamTestkit % "compile;test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val persistenceTck = Project(
|
lazy val persistenceTck = Project(
|
||||||
id = "akka-persistence-tck",
|
id = "akka-persistence-tck",
|
||||||
base = file("akka-persistence-tck"),
|
base = file("akka-persistence-tck"),
|
||||||
dependencies = Seq(persistence % "compile;provided->provided;test->test", testkit % "compile;test->test")
|
dependencies = Seq(persistence % "compile;provided->provided;test->test", testkit % "compile;test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val persistenceShared = Project(
|
lazy val persistenceShared = Project(
|
||||||
id = "akka-persistence-shared",
|
id = "akka-persistence-shared",
|
||||||
base = file("akka-persistence-shared"),
|
base = file("akka-persistence-shared"),
|
||||||
dependencies = Seq(persistence % "test->test", testkit % "test->test", remote % "test", protobuf)
|
dependencies = Seq(persistence % "test->test", testkit % "test->test", remote % "test", protobuf)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val httpCore = Project(
|
lazy val httpCore = Project(
|
||||||
id = "akka-http-core",
|
id = "akka-http-core",
|
||||||
base = file("akka-http-core"),
|
base = file("akka-http-core"),
|
||||||
dependencies = Seq(stream, parsing, streamTestkit % "test->test")
|
dependencies = Seq(stream, parsing, streamTestkit % "test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val http = Project(
|
lazy val http = Project(
|
||||||
id = "akka-http-experimental",
|
id = "akka-http-experimental",
|
||||||
base = file("akka-http"),
|
base = file("akka-http"),
|
||||||
dependencies = Seq(httpCore)
|
dependencies = Seq(httpCore)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val httpTestkit = Project(
|
lazy val httpTestkit = Project(
|
||||||
id = "akka-http-testkit",
|
id = "akka-http-testkit",
|
||||||
base = file("akka-http-testkit"),
|
base = file("akka-http-testkit"),
|
||||||
dependencies = Seq(http, streamTestkit)
|
dependencies = Seq(http, streamTestkit)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val httpTests = Project(
|
lazy val httpTests = Project(
|
||||||
id = "akka-http-tests",
|
id = "akka-http-tests",
|
||||||
|
|
@ -263,12 +262,12 @@ object AkkaBuild extends Build {
|
||||||
dependencies = Seq(
|
dependencies = Seq(
|
||||||
httpTestkit % "test", streamTestkit % "test->test", testkit % "test->test", httpSprayJson, httpXml, httpJackson,
|
httpTestkit % "test", streamTestkit % "test->test", testkit % "test->test", httpSprayJson, httpXml, httpJackson,
|
||||||
multiNodeTestkit, remoteTests % "test->test") // required for multi-node latency/throughput Spec
|
multiNodeTestkit, remoteTests % "test->test") // required for multi-node latency/throughput Spec
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val httpMarshallersScala = Project(
|
lazy val httpMarshallersScala = Project(
|
||||||
id = "akka-http-marshallers-scala-experimental",
|
id = "akka-http-marshallers-scala-experimental",
|
||||||
base = file("akka-http-marshallers-scala")
|
base = file("akka-http-marshallers-scala")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
.settings(parentSettings: _*)
|
.settings(parentSettings: _*)
|
||||||
.aggregate(httpSprayJson, httpXml)
|
.aggregate(httpSprayJson, httpXml)
|
||||||
|
|
||||||
|
|
@ -281,7 +280,7 @@ object AkkaBuild extends Build {
|
||||||
lazy val httpMarshallersJava = Project(
|
lazy val httpMarshallersJava = Project(
|
||||||
id = "akka-http-marshallers-java-experimental",
|
id = "akka-http-marshallers-java-experimental",
|
||||||
base = file("akka-http-marshallers-java")
|
base = file("akka-http-marshallers-java")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
.settings(parentSettings: _*)
|
.settings(parentSettings: _*)
|
||||||
.aggregate(httpJackson)
|
.aggregate(httpJackson)
|
||||||
|
|
||||||
|
|
@ -293,61 +292,61 @@ object AkkaBuild extends Build {
|
||||||
id = s"akka-http-$name-experimental",
|
id = s"akka-http-$name-experimental",
|
||||||
base = file(s"akka-http-marshallers-scala/akka-http-$name"),
|
base = file(s"akka-http-marshallers-scala/akka-http-$name"),
|
||||||
dependencies = Seq(http)
|
dependencies = Seq(http)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
def httpMarshallersJavaSubproject(name: String) =
|
def httpMarshallersJavaSubproject(name: String) =
|
||||||
Project(
|
Project(
|
||||||
id = s"akka-http-$name-experimental",
|
id = s"akka-http-$name-experimental",
|
||||||
base = file(s"akka-http-marshallers-java/akka-http-$name"),
|
base = file(s"akka-http-marshallers-java/akka-http-$name"),
|
||||||
dependencies = Seq(http)
|
dependencies = Seq(http)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val parsing = Project(
|
lazy val parsing = Project(
|
||||||
id = "akka-parsing",
|
id = "akka-parsing",
|
||||||
base = file("akka-parsing")
|
base = file("akka-parsing")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val stream = Project(
|
lazy val stream = Project(
|
||||||
id = "akka-stream",
|
id = "akka-stream",
|
||||||
base = file("akka-stream"),
|
base = file("akka-stream"),
|
||||||
dependencies = Seq(actor)
|
dependencies = Seq(actor)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val streamTestkit = Project(
|
lazy val streamTestkit = Project(
|
||||||
id = "akka-stream-testkit",
|
id = "akka-stream-testkit",
|
||||||
base = file("akka-stream-testkit"),
|
base = file("akka-stream-testkit"),
|
||||||
dependencies = Seq(stream, testkit % "compile;test->test")
|
dependencies = Seq(stream, testkit % "compile;test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val streamTests = Project(
|
lazy val streamTests = Project(
|
||||||
id = "akka-stream-tests",
|
id = "akka-stream-tests",
|
||||||
base = file("akka-stream-tests"),
|
base = file("akka-stream-tests"),
|
||||||
dependencies = Seq(streamTestkit % "test->test", stream)
|
dependencies = Seq(streamTestkit % "test->test", stream)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val streamTestsTck = Project(
|
lazy val streamTestsTck = Project(
|
||||||
id = "akka-stream-tests-tck",
|
id = "akka-stream-tests-tck",
|
||||||
base = file("akka-stream-tests-tck"),
|
base = file("akka-stream-tests-tck"),
|
||||||
dependencies = Seq(streamTestkit % "test->test", stream)
|
dependencies = Seq(streamTestkit % "test->test", stream)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val kernel = Project(
|
lazy val kernel = Project(
|
||||||
id = "akka-kernel",
|
id = "akka-kernel",
|
||||||
base = file("akka-kernel"),
|
base = file("akka-kernel"),
|
||||||
dependencies = Seq(actor, testkit % "test->test")
|
dependencies = Seq(actor, testkit % "test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val camel = Project(
|
lazy val camel = Project(
|
||||||
id = "akka-camel",
|
id = "akka-camel",
|
||||||
base = file("akka-camel"),
|
base = file("akka-camel"),
|
||||||
dependencies = Seq(actor, slf4j, testkit % "test->test")
|
dependencies = Seq(actor, slf4j, testkit % "test->test")
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val osgi = Project(
|
lazy val osgi = Project(
|
||||||
id = "akka-osgi",
|
id = "akka-osgi",
|
||||||
base = file("akka-osgi"),
|
base = file("akka-osgi"),
|
||||||
dependencies = Seq(actor)
|
dependencies = Seq(actor)
|
||||||
).disablePlugins(ValidatePullRequest)
|
)
|
||||||
|
|
||||||
lazy val docs = Project(
|
lazy val docs = Project(
|
||||||
id = "akka-docs",
|
id = "akka-docs",
|
||||||
|
|
@ -368,73 +367,71 @@ object AkkaBuild extends Build {
|
||||||
id = "akka-contrib",
|
id = "akka-contrib",
|
||||||
base = file("akka-contrib"),
|
base = file("akka-contrib"),
|
||||||
dependencies = Seq(remote, remoteTests % "test->test", cluster, clusterTools, persistence % "compile;test->provided")
|
dependencies = Seq(remote, remoteTests % "test->test", cluster, clusterTools, persistence % "compile;test->provided")
|
||||||
).configs(MultiJvm).disablePlugins(ValidatePullRequest)
|
).configs(MultiJvm)
|
||||||
|
|
||||||
lazy val samplesSettings = parentSettings ++ ActivatorDist.settings
|
lazy val samplesSettings = parentSettings ++ ActivatorDist.settings
|
||||||
|
|
||||||
// FIXME temporary in artery-dev branch
|
lazy val samples = Project(
|
||||||
// lazy val samples = Project(
|
id = "akka-samples",
|
||||||
// id = "akka-samples",
|
base = file("akka-samples"),
|
||||||
// base = file("akka-samples"),
|
// FIXME osgiDiningHakkersSampleMavenTest temporarily removed from aggregate due to #16703
|
||||||
// // FIXME osgiDiningHakkersSampleMavenTest temporarily removed from aggregate due to #16703
|
aggregate = if (!Sample.CliOptions.aggregateSamples) Nil else
|
||||||
// aggregate = if (!Sample.CliOptions.aggregateSamples) Nil else
|
Seq(sampleCamelJava, sampleCamelScala, sampleClusterJava, sampleClusterScala, sampleFsmScala, sampleFsmJavaLambda,
|
||||||
// Seq(sampleCamelJava, sampleCamelScala, sampleClusterJava, sampleClusterScala, sampleFsmScala, sampleFsmJavaLambda,
|
sampleMainJava, sampleMainScala, sampleMainJavaLambda, sampleMultiNodeScala,
|
||||||
// sampleMainJava, sampleMainScala, sampleMainJavaLambda, sampleMultiNodeScala,
|
samplePersistenceJava, samplePersistenceScala, samplePersistenceJavaLambda,
|
||||||
// samplePersistenceJava, samplePersistenceScala, samplePersistenceJavaLambda,
|
sampleRemoteJava, sampleRemoteScala, sampleSupervisionJavaLambda,
|
||||||
// sampleRemoteJava, sampleRemoteScala, sampleSupervisionJavaLambda,
|
sampleDistributedDataScala, sampleDistributedDataJava)
|
||||||
// sampleDistributedDataScala, sampleDistributedDataJava)
|
)
|
||||||
// )
|
.settings(samplesSettings: _*)
|
||||||
// .settings(samplesSettings: _*)
|
.disablePlugins(MimaPlugin)
|
||||||
// .disablePlugins(MimaPlugin)
|
|
||||||
//
|
lazy val sampleCamelJava = Sample.project("akka-sample-camel-java")
|
||||||
// lazy val sampleCamelJava = Sample.project("akka-sample-camel-java")
|
lazy val sampleCamelScala = Sample.project("akka-sample-camel-scala")
|
||||||
// lazy val sampleCamelScala = Sample.project("akka-sample-camel-scala")
|
|
||||||
//
|
lazy val sampleClusterJava = Sample.project("akka-sample-cluster-java")
|
||||||
// lazy val sampleClusterJava = Sample.project("akka-sample-cluster-java")
|
lazy val sampleClusterScala = Sample.project("akka-sample-cluster-scala")
|
||||||
// lazy val sampleClusterScala = Sample.project("akka-sample-cluster-scala")
|
|
||||||
//
|
lazy val sampleFsmScala = Sample.project("akka-sample-fsm-scala")
|
||||||
// lazy val sampleFsmScala = Sample.project("akka-sample-fsm-scala")
|
lazy val sampleFsmJavaLambda = Sample.project("akka-sample-fsm-java-lambda")
|
||||||
// lazy val sampleFsmJavaLambda = Sample.project("akka-sample-fsm-java-lambda")
|
|
||||||
//
|
lazy val sampleMainJava = Sample.project("akka-sample-main-java")
|
||||||
// lazy val sampleMainJava = Sample.project("akka-sample-main-java")
|
lazy val sampleMainScala = Sample.project("akka-sample-main-scala")
|
||||||
// lazy val sampleMainScala = Sample.project("akka-sample-main-scala")
|
lazy val sampleMainJavaLambda = Sample.project("akka-sample-main-java-lambda")
|
||||||
// lazy val sampleMainJavaLambda = Sample.project("akka-sample-main-java-lambda")
|
|
||||||
//
|
lazy val sampleMultiNodeScala = Sample.project("akka-sample-multi-node-scala")
|
||||||
// lazy val sampleMultiNodeScala = Sample.project("akka-sample-multi-node-scala")
|
|
||||||
//
|
lazy val samplePersistenceJava = Sample.project("akka-sample-persistence-java")
|
||||||
// lazy val samplePersistenceJava = Sample.project("akka-sample-persistence-java")
|
lazy val samplePersistenceScala = Sample.project("akka-sample-persistence-scala")
|
||||||
// lazy val samplePersistenceScala = Sample.project("akka-sample-persistence-scala")
|
lazy val samplePersistenceJavaLambda = Sample.project("akka-sample-persistence-java-lambda")
|
||||||
// lazy val samplePersistenceJavaLambda = Sample.project("akka-sample-persistence-java-lambda")
|
|
||||||
//
|
lazy val sampleRemoteJava = Sample.project("akka-sample-remote-java")
|
||||||
// lazy val sampleRemoteJava = Sample.project("akka-sample-remote-java")
|
lazy val sampleRemoteScala = Sample.project("akka-sample-remote-scala")
|
||||||
// lazy val sampleRemoteScala = Sample.project("akka-sample-remote-scala")
|
|
||||||
//
|
lazy val sampleSupervisionJavaLambda = Sample.project("akka-sample-supervision-java-lambda")
|
||||||
// lazy val sampleSupervisionJavaLambda = Sample.project("akka-sample-supervision-java-lambda")
|
|
||||||
//
|
lazy val sampleDistributedDataScala = Sample.project("akka-sample-distributed-data-scala")
|
||||||
// lazy val sampleDistributedDataScala = Sample.project("akka-sample-distributed-data-scala")
|
lazy val sampleDistributedDataJava = Sample.project("akka-sample-distributed-data-java")
|
||||||
// lazy val sampleDistributedDataJava = Sample.project("akka-sample-distributed-data-java")
|
|
||||||
//
|
lazy val osgiDiningHakkersSampleMavenTest = Project(
|
||||||
// lazy val osgiDiningHakkersSampleMavenTest = Project(
|
id = "akka-sample-osgi-dining-hakkers-maven-test",
|
||||||
// id = "akka-sample-osgi-dining-hakkers-maven-test",
|
base = file("akka-samples/akka-sample-osgi-dining-hakkers-maven-test")
|
||||||
// base = file("akka-samples/akka-sample-osgi-dining-hakkers-maven-test")
|
)
|
||||||
// )
|
.settings(
|
||||||
// .settings(
|
publishArtifact := false,
|
||||||
// publishArtifact := false,
|
// force publication of artifacts to local maven repo, so latest versions can be used when running maven tests
|
||||||
// // force publication of artifacts to local maven repo, so latest versions can be used when running maven tests
|
compile in Compile <<=
|
||||||
// compile in Compile <<=
|
(publishM2 in actor, publishM2 in testkit, publishM2 in remote, publishM2 in cluster, publishM2 in osgi,
|
||||||
// (publishM2 in actor, publishM2 in testkit, publishM2 in remote, publishM2 in cluster, publishM2 in osgi,
|
publishM2 in slf4j, publishM2 in persistence, compile in Compile) map
|
||||||
// publishM2 in slf4j, publishM2 in persistence, compile in Compile) map
|
((_, _, _, _, _, _, _, c) => c),
|
||||||
// ((_, _, _, _, _, _, _, c) => c),
|
test in Test ~= { x => {
|
||||||
// test in Test ~= { x => {
|
def executeMvnCommands(failureMessage: String, commands: String*) = {
|
||||||
// def executeMvnCommands(failureMessage: String, commands: String*) = {
|
if ({List("sh", "-c", commands.mkString("cd akka-samples/akka-sample-osgi-dining-hakkers; mvn ", " ", "")) !} != 0)
|
||||||
// if ({List("sh", "-c", commands.mkString("cd akka-samples/akka-sample-osgi-dining-hakkers; mvn ", " ", "")) !} != 0)
|
throw new Exception(failureMessage)
|
||||||
// throw new Exception(failureMessage)
|
}
|
||||||
// }
|
executeMvnCommands("Osgi sample Dining hakkers test failed", "clean", "install")
|
||||||
// executeMvnCommands("Osgi sample Dining hakkers test failed", "clean", "install")
|
}}
|
||||||
// }}
|
)
|
||||||
// )
|
.settings(dontPublishSettings: _*)
|
||||||
// .disablePlugins(ValidatePullRequest, MimaPlugin)
|
|
||||||
// .settings(dontPublishSettings: _*)
|
|
||||||
|
|
||||||
val dontPublishSettings = Seq(
|
val dontPublishSettings = Seq(
|
||||||
publishSigned := (),
|
publishSigned := (),
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ object Dependencies {
|
||||||
val junitVersion = "4.12"
|
val junitVersion = "4.12"
|
||||||
|
|
||||||
val Versions = Seq(
|
val Versions = Seq(
|
||||||
crossScalaVersions := Seq("2.11.8"), // "2.12.0-M4"
|
crossScalaVersions := Seq("2.11.8"), // "2.12.0-RC1"
|
||||||
scalaVersion := crossScalaVersions.value.head,
|
scalaVersion := crossScalaVersions.value.head,
|
||||||
scalaStmVersion := sys.props.get("akka.build.scalaStmVersion").getOrElse("0.7"),
|
scalaStmVersion := sys.props.get("akka.build.scalaStmVersion").getOrElse("0.7"),
|
||||||
scalaCheckVersion := sys.props.get("akka.build.scalaCheckVersion").getOrElse("1.13.2"),
|
scalaCheckVersion := sys.props.get("akka.build.scalaCheckVersion").getOrElse("1.13.2"),
|
||||||
|
|
@ -28,8 +28,7 @@ object Dependencies {
|
||||||
},
|
},
|
||||||
java8CompatVersion := {
|
java8CompatVersion := {
|
||||||
scalaVersion.value match {
|
scalaVersion.value match {
|
||||||
case "2.12.0-M4" => "0.8.0-RC1"
|
case x if x.startsWith("2.12.0-RC1") => "0.8.0-RC7"
|
||||||
case "2.12.0-M5" => "0.8.0-RC3"
|
|
||||||
case _ => "0.7.0"
|
case _ => "0.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -118,10 +118,9 @@ object UnidocRoot extends AutoPlugin {
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME temporary removal of samples in artery-dev branch
|
|
||||||
override lazy val projectSettings =
|
override lazy val projectSettings =
|
||||||
CliOptions.genjavadocEnabled.ifTrue(scalaJavaUnidocSettings).getOrElse(scalaUnidocSettings) ++
|
CliOptions.genjavadocEnabled.ifTrue(scalaJavaUnidocSettings).getOrElse(scalaUnidocSettings) ++
|
||||||
settings(Seq(), Seq(AkkaBuild.remoteTests, AkkaBuild.benchJmh, AkkaBuild.parsing, AkkaBuild.protobuf))
|
settings(Seq(AkkaBuild.samples), Seq(AkkaBuild.remoteTests, AkkaBuild.benchJmh, AkkaBuild.parsing, AkkaBuild.protobuf, AkkaBuild.osgiDiningHakkersSampleMavenTest, AkkaBuild.akkaScalaNightly))
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -748,7 +748,6 @@ object MiMa extends AutoPlugin {
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.DefaultSSLContextCreation.validateAndWarnAboutLooseSettings")
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.DefaultSSLContextCreation.validateAndWarnAboutLooseSettings")
|
||||||
),
|
),
|
||||||
"2.4.4" -> Seq(
|
"2.4.4" -> Seq(
|
||||||
|
|
||||||
// #20080, #20081 remove race condition on HTTP client
|
// #20080, #20081 remove race condition on HTTP client
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.Http#HostConnectionPool.gatewayFuture"),
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.http.scaladsl.Http#HostConnectionPool.gatewayFuture"),
|
||||||
ProblemFilters.exclude[IncompatibleMethTypeProblem]("akka.http.scaladsl.Http#HostConnectionPool.copy"),
|
ProblemFilters.exclude[IncompatibleMethTypeProblem]("akka.http.scaladsl.Http#HostConnectionPool.copy"),
|
||||||
|
|
@ -849,19 +848,6 @@ object MiMa extends AutoPlugin {
|
||||||
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.cluster.client.ClusterClient.initialContactsSel")
|
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.cluster.client.ClusterClient.initialContactsSel")
|
||||||
),
|
),
|
||||||
"2.4.6" -> Seq(
|
"2.4.6" -> Seq(
|
||||||
|
|
||||||
// Remove useUntrustedMode which is an internal API and not used anywhere anymore
|
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.Remoting.useUntrustedMode"),
|
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteTransport.useUntrustedMode"),
|
|
||||||
|
|
||||||
// Use OptionVal in remote Send envelope
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.EndpointManager"),
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.Remoting"),
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.RemoteTransport"),
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.InboundMessageDispatcher"),
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.DefaultMessageDispatcher"),
|
|
||||||
FilterAnyProblemStartingWith("akka.remote.transport"),
|
|
||||||
|
|
||||||
// internal api
|
// internal api
|
||||||
FilterAnyProblemStartingWith("akka.stream.impl"),
|
FilterAnyProblemStartingWith("akka.stream.impl"),
|
||||||
|
|
||||||
|
|
@ -965,11 +951,6 @@ object MiMa extends AutoPlugin {
|
||||||
// #21025 new orElse flow op
|
// #21025 new orElse flow op
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.orElseGraph"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.orElseGraph"),
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.orElse"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.orElse"),
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOpsMat.orElseMat")
|
|
||||||
),
|
|
||||||
"2.4.10" -> Seq(
|
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteActorRefProvider.quarantine"),
|
|
||||||
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteWatcher.quarantine"),
|
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOpsMat.orElseMat"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOpsMat.orElseMat"),
|
||||||
|
|
||||||
// #21201 adding childActorOf to TestActor / TestKit / TestProbe
|
// #21201 adding childActorOf to TestActor / TestKit / TestProbe
|
||||||
|
|
@ -983,11 +964,36 @@ object MiMa extends AutoPlugin {
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.model.ws.BinaryMessage.asScala"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.model.ws.BinaryMessage.asScala"),
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.model.ws.BinaryMessage.getStreamedData"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.http.scaladsl.model.ws.BinaryMessage.getStreamedData"),
|
||||||
|
|
||||||
|
// #21131 new implementation for Akka Typed
|
||||||
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.actor.dungeon.DeathWatch.isWatching")
|
||||||
|
),
|
||||||
|
"2.4.10" -> Seq(
|
||||||
|
// #21290 new zipWithIndex flow op
|
||||||
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.stream.scaladsl.FlowOps.zipWithIndex"),
|
||||||
|
|
||||||
|
// Remove useUntrustedMode which is an internal API and not used anywhere anymore
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.Remoting.useUntrustedMode"),
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteTransport.useUntrustedMode"),
|
||||||
|
|
||||||
|
// Use OptionVal in remote Send envelope
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.EndpointManager"),
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.Remoting"),
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.RemoteTransport"),
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.InboundMessageDispatcher"),
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.DefaultMessageDispatcher"),
|
||||||
|
FilterAnyProblemStartingWith("akka.remote.transport"),
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteActorRefProvider.quarantine"),
|
||||||
|
ProblemFilters.exclude[DirectMissingMethodProblem]("akka.remote.RemoteWatcher.quarantine"),
|
||||||
|
|
||||||
// #20644 long uids
|
// #20644 long uids
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.hasUid2"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.hasUid2"),
|
||||||
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.getUid2"),
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.protobuf.msg.ClusterMessages#UniqueAddressOrBuilder.getUid2"),
|
||||||
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.ddata.protobuf.msg.ReplicatorMessages#UniqueAddressOrBuilder.hasUid2"),
|
||||||
|
ProblemFilters.exclude[ReversedMissingMethodProblem]("akka.cluster.ddata.protobuf.msg.ReplicatorMessages#UniqueAddressOrBuilder.getUid2"),
|
||||||
ProblemFilters.exclude[IncompatibleMethTypeProblem]("akka.remote.RemoteWatcher.receiveHeartbeatRsp"),
|
ProblemFilters.exclude[IncompatibleMethTypeProblem]("akka.remote.RemoteWatcher.receiveHeartbeatRsp"),
|
||||||
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.remote.RemoteWatcher.selfHeartbeatRspMsg")
|
ProblemFilters.exclude[IncompatibleResultTypeProblem]("akka.remote.RemoteWatcher.selfHeartbeatRspMsg")
|
||||||
|
|
||||||
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,7 @@ object Release {
|
||||||
val (state2, Seq(api, japi)) = extracted.runTask(unidoc in Compile, state1)
|
val (state2, Seq(api, japi)) = extracted.runTask(unidoc in Compile, state1)
|
||||||
val (state3, docs) = extracted.runTask(generate in Sphinx, state2)
|
val (state3, docs) = extracted.runTask(generate in Sphinx, state2)
|
||||||
val (state4, _) = extracted.runTask(Dist.dist, state3)
|
val (state4, _) = extracted.runTask(Dist.dist, state3)
|
||||||
// FIXME temporary in artery-dev branch
|
val (state5, activatorDist) = extracted.runTask(ActivatorDist.activatorDist in LocalProject(AkkaBuild.samples.id), state4)
|
||||||
// val (state5, activatorDist) = extracted.runTask(ActivatorDist.activatorDist in LocalProject(AkkaBuild.samples.id), state4)
|
|
||||||
|
|
||||||
IO.delete(release)
|
IO.delete(release)
|
||||||
IO.createDirectory(release)
|
IO.createDirectory(release)
|
||||||
|
|
@ -48,11 +47,10 @@ object Release {
|
||||||
for (f <- (dist * "akka_*.zip").get)
|
for (f <- (dist * "akka_*.zip").get)
|
||||||
IO.copyFile(f, release / "downloads" / f.name)
|
IO.copyFile(f, release / "downloads" / f.name)
|
||||||
|
|
||||||
// FIXME temporary in artery-dev branch
|
for (f <- (activatorDist * "*.zip").get)
|
||||||
// for (f <- (activatorDist * "*.zip").get)
|
IO.copyFile(f, release / "downloads" / f.name)
|
||||||
// IO.copyFile(f, release / "downloads" / f.name)
|
|
||||||
// state5
|
state5
|
||||||
state4
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def uploadReleaseCommand = Command.command("uploadRelease") { state =>
|
def uploadReleaseCommand = Command.command("uploadRelease") { state =>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue