<commit_before>import sbt._
import sbt.Keys._

import scalariform.formatter.preferences._

lazy val commonSettings = Seq(
  version := "2.0",
  scalaVersion := "2.11.8"
) ++ SbtScalariform.scalariformSettings ++ Seq(
  scalariformPreferences := scalariformPreferences.value
    .setPreference(DoubleIndentClassDeclaration, true)
    .setPreference(PreserveSpaceBeforeArguments, true)
    .setPreference(CompactControlReadability, true)
    .setPreference(SpacesAroundMultiImports, false))

lazy val root = (project in file(".")).
  settings(commonSettings: _*).
  settings(
    // This way we kill 'zombie' senders and receivers after unsuccessful test(s)
    fork in Test := true
  )

lazy val oracleaq = project.in(file("oracleaq")).
  dependsOn(root).
  settings(commonSettings: _*).
  settings(name := "mqperfext").
  settings(libraryDependencies ++= Seq(
    //    "com.oracle" % "aqapi_2.11" % "1.0.0",
    //    "com.oracle" % "ojdbc6_2.11" % "1.0.0",
    "javax.transaction" % "jta" % "1.1"
  )
  )

name := "mqperf"

libraryDependencies ++= Seq(
  "org.scala-lang.modules"      %%  "scala-java8-compat"    % "0.8.0"     % "test",
  "com.amazonaws"               %   "aws-java-sdk"          % "1.11.68"   exclude("commons-logging", "commons-logging"),
  "org.json4s"                  %%  "json4s-native"         % "3.5.0",
  "org.mongodb"                 %   "mongodb-driver"        % "3.4.0",
  "com.rabbitmq"                %   "amqp-client"           % "3.5.0",
  "org.hornetq"                 %   "hornetq-native"        % "2.4.7.Final" from "http://repo1.maven.org/maven2/org/hornetq/hornetq-native/2.4.7.Final/hornetq-native-2.4.7.Final.jar",
  "org.hornetq"                 %   "hornetq-core-client"   % "2.4.7.Final" exclude("org.hornetq", "hornetq-native")
                                                                            exclude("org.apache.geronimo.specs", "geronimo-jms_1.1_spec"),
  "com.typesafe.scala-logging"  %%  "scala-logging"         % "3.5.0",
  "ch.qos.logback"              %   "logback-classic"       % "1.1.7",
  "org.slf4j"                   %   "jcl-over-slf4j"        % "1.7.22",
  "org.slf4j"                   %   "log4j-over-slf4j"      % "1.7.22",
  "org.apache.kafka"            %   "kafka-clients"         % "0.10.1.0"  exclude("javax.jms", "jms")
                                                                          exclude("com.sun.jdmk", "jmxtools")
                                                                          exclude("com.sun.jmx", "jmxri")
                                                                          exclude("log4j", "log4j")
                                                                          exclude("org.slf4j", "slf4j-log4j12"),
  "org.scalatest"               %%  "scalatest"             % "3.0.0"     % "test",
  "com.geteventstore"           %%  "eventstore-client"     % "3.0.4",
  "org.apache.activemq"         %   "activemq-client"       % "5.14.2"    exclude("org.apache.geronimo.specs", "geronimo-jms_1.1_spec"),
  "com.typesafe"                %   "config"                % "1.3.1",
  "io.dropwizard.metrics"       %   "metrics-core"          % "3.1.0",
  "org.apache.activemq"         %   "artemis-jms-client"    % "1.5.1"     exclude("commons-logging", "commons-logging")
)

assemblyMergeStrategy in assembly := {
  case PathList(ps@_*) if ps.last == "HornetQUtilBundle_$bundle.class" => MergeStrategy.first
  case x => (assemblyMergeStrategy in assembly).value(x)
}<commit_msg>Revert "Include all dependencies in assembly"<commit_after>import sbt._
import sbt.Keys._

import scalariform.formatter.preferences._

lazy val commonSettings = Seq(
  version := "2.0",
  scalaVersion := "2.11.8"
) ++ SbtScalariform.scalariformSettings ++ Seq(
  scalariformPreferences := scalariformPreferences.value
    .setPreference(DoubleIndentClassDeclaration, true)
    .setPreference(PreserveSpaceBeforeArguments, true)
    .setPreference(CompactControlReadability, true)
    .setPreference(SpacesAroundMultiImports, false))

lazy val root = (project in file(".")).
  settings(commonSettings: _*).
  settings(
    // This way we kill 'zombie' senders and receivers after unsuccessful test(s)
    fork in Test := true
  )

lazy val oracleaq = project.in(file("oracleaq")).
  dependsOn(root).
  settings(commonSettings: _*).
  settings(name := "mqperfext").
  settings(libraryDependencies ++= Seq(
    //    "com.oracle" % "aqapi_2.11" % "1.0.0",
    //    "com.oracle" % "ojdbc6_2.11" % "1.0.0",
    "javax.transaction" % "jta" % "1.1"
  )
  )

name := "mqperf"

libraryDependencies ++= Seq(
  "org.scala-lang.modules"      %%  "scala-java8-compat"    % "0.8.0"     % "test",
  "com.amazonaws"               %   "aws-java-sdk"          % "1.11.68"   exclude("commons-logging", "commons-logging"),
  "org.json4s"                  %%  "json4s-native"         % "3.5.0",
  "org.mongodb"                 %   "mongodb-driver"        % "3.4.0",
  "com.rabbitmq"                %   "amqp-client"           % "3.5.0",
  "org.hornetq"                 %   "hornetq-native"        % "2.4.7.Final" from "http://repo1.maven.org/maven2/org/hornetq/hornetq-native/2.4.7.Final/hornetq-native-2.4.7.Final.jar",
  "org.hornetq"                 %   "hornetq-core-client"   % "2.4.7.Final" exclude("org.hornetq", "hornetq-native")
                                                                            exclude("org.apache.geronimo.specs", "geronimo-jms_1.1_spec"),
  "com.typesafe.scala-logging"  %%  "scala-logging"         % "3.5.0",
  "ch.qos.logback"              %   "logback-classic"       % "1.1.7",
  "org.slf4j"                   %   "jcl-over-slf4j"        % "1.7.22",
  "org.slf4j"                   %   "log4j-over-slf4j"      % "1.7.22",
  "org.apache.kafka"            %   "kafka-clients"         % "0.10.1.0"  exclude("javax.jms", "jms")
                                                                          exclude("com.sun.jdmk", "jmxtools")
                                                                          exclude("com.sun.jmx", "jmxri")
                                                                          exclude("log4j", "log4j")
                                                                          exclude("org.slf4j", "slf4j-log4j12"),
  "org.scalatest"               %%  "scalatest"             % "3.0.0"     % "test",
  "com.geteventstore"           %%  "eventstore-client"     % "3.0.4",
  "org.apache.activemq"         %   "activemq-client"       % "5.14.2"    exclude("org.apache.geronimo.specs", "geronimo-jms_1.1_spec"),
  "com.typesafe"                %   "config"                % "1.3.1",
  "io.dropwizard.metrics"       %   "metrics-core"          % "3.1.0",
  "org.apache.activemq"         %   "artemis-jms-client"    % "1.5.1"     exclude("commons-logging", "commons-logging")
)

assemblyOption in assembly ~= {
  _.copy(includeBin = true, includeScala = false, includeDependency = false)
}

assemblyMergeStrategy in assembly := {
  case PathList(ps@_*) if ps.last == "HornetQUtilBundle_$bundle.class" => MergeStrategy.first
  case x => (assemblyMergeStrategy in assembly).value(x)
}
{'fraction_non_alphanumeric': 0.15777653003930375, 'fraction_numerical': 0.03060078607523863, 'mean_word_length': 1.7267508610792193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 30, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3561588', 'n_tokens_mistral': 2479, 'n_tokens_neox': 2392, 'n_words': 342}