Merge pull request #19831 from 2m/wip-license-samples-2m

Add license information for samples
This commit is contained in:
Johan Andrén 2016-02-19 18:47:51 +01:00
commit b37c2c0b29
18 changed files with 43 additions and 16 deletions

View file

@ -11,3 +11,5 @@ libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.2",
"ch.qos.logback" % "logback-classic" % "1.0.7"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -12,3 +12,5 @@ libraryDependencies ++= Seq(
"org.slf4j" % "slf4j-api" % "1.7.2",
"ch.qos.logback" % "logback-classic" % "1.0.7"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -24,13 +24,13 @@ val project = Project(
"io.kamon" % "sigar-loader" % "1.6.6-rev002"),
javaOptions in run ++= Seq(
"-Xms128m", "-Xmx1024m", "-Djava.library.path=./target/native"),
Keys.fork in run := true,
Keys.fork in run := true,
mainClass in (Compile, run) := Some("sample.cluster.simple.SimpleClusterApp"),
// make sure that MultiJvm test are compiled by the default test compilation
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// disable parallel tests
parallelExecution in Test := false,
// make sure that MultiJvm tests are executed by the default test target,
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
@ -42,6 +42,7 @@ val project = Project(
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
},
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
)
) configs (MultiJvm)

View file

@ -23,13 +23,13 @@ val project = Project(
"io.kamon" % "sigar-loader" % "1.6.6-rev002"),
javaOptions in run ++= Seq(
"-Xms128m", "-Xmx1024m", "-Djava.library.path=./target/native"),
Keys.fork in run := true,
Keys.fork in run := true,
mainClass in (Compile, run) := Some("sample.cluster.simple.SimpleClusterApp"),
// make sure that MultiJvm test are compiled by the default test compilation
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// disable parallel tests
parallelExecution in Test := false,
// make sure that MultiJvm tests are executed by the default test target,
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
@ -41,6 +41,7 @@ val project = Project(
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
},
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
)
) configs (MultiJvm)

View file

@ -22,12 +22,12 @@ val project = Project(
"org.scalatest" %% "scalatest" % "2.2.1" % "test"),
javaOptions in run ++= Seq(
"-Xms128m", "-Xmx1024m"),
Keys.fork in run := true,
Keys.fork in run := true,
// make sure that MultiJvm test are compiled by the default test compilation
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// disable parallel tests
parallelExecution in Test := false,
// make sure that MultiJvm tests are executed by the default test target,
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
@ -39,9 +39,10 @@ val project = Project(
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
},
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
)
) configs (MultiJvm)
fork in run := true
fork in run := true

View file

@ -21,12 +21,12 @@ val project = Project(
"org.scalatest" %% "scalatest" % "2.2.1" % "test"),
javaOptions in run ++= Seq(
"-Xms128m", "-Xmx1024m"),
Keys.fork in run := true,
Keys.fork in run := true,
// make sure that MultiJvm test are compiled by the default test compilation
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// disable parallel tests
parallelExecution in Test := false,
// make sure that MultiJvm tests are executed by the default test target,
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
@ -38,9 +38,10 @@ val project = Project(
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
},
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
)
) configs (MultiJvm)
fork in run := true
fork in run := true

View file

@ -15,3 +15,5 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-testkit" % "2.4-SNAPSHOT" % "test",
"junit" % "junit" % "4.11" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test")
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -8,3 +8,4 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -7,3 +7,5 @@ scalaVersion := "2.11.7"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -8,3 +8,4 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -26,3 +26,4 @@ mappings in Universal ++= {
// when starting the application
scriptClasspath := Seq("../config/") ++ scriptClasspath.value
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -19,7 +19,7 @@ val project = Project(
compile in MultiJvm <<= (compile in MultiJvm) triggeredBy (compile in Test),
// disable parallel tests
parallelExecution in Test := false,
// make sure that MultiJvm tests are executed by the default test target,
// make sure that MultiJvm tests are executed by the default test target,
// and combine the results from ordinary test and multi-jvm tests
executeTests in Test <<= (executeTests in Test, executeTests in MultiJvm) map {
case (testResults, multiNodeResults) =>
@ -31,6 +31,7 @@ val project = Project(
Tests.Output(overall,
testResults.events ++ multiNodeResults.events,
testResults.summaries ++ multiNodeResults.summaries)
}
},
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))
)
) configs (MultiJvm)

View file

@ -13,3 +13,5 @@ libraryDependencies ++= Seq(
"org.iq80.leveldb" % "leveldb" % "0.7",
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -10,3 +10,4 @@ libraryDependencies ++= Seq(
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -10,3 +10,5 @@ libraryDependencies ++= Seq(
"org.iq80.leveldb" % "leveldb" % "0.7",
"org.fusesource.leveldbjni" % "leveldbjni-all" % "1.8"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -8,3 +8,5 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT",
"com.typesafe.akka" %% "akka-remote" % "2.4-SNAPSHOT"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -8,3 +8,5 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-SNAPSHOT",
"com.typesafe.akka" %% "akka-remote" % "2.4-SNAPSHOT"
)
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))

View file

@ -15,3 +15,5 @@ libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-testkit" % "2.4-SNAPSHOT" % "test",
"junit" % "junit" % "4.12" % "test",
"com.novocode" % "junit-interface" % "0.11" % "test")
licenses := Seq(("CC0", url("http://creativecommons.org/publicdomain/zero/1.0")))