<commit_before>//
// Copyright (c) 2013 <NAME> <EMAIL>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// PRODUCTION CONFIGURATION

ScriptedPlugin.scriptedSettings

name := "sbt-osgi-manager"

organization := "sbt.osgi.manager"

version := "0.0.1.1"

scalacOptions ++= Seq("-unchecked", "-deprecation", "-Xcheckinit", "-Xfatal-warnings")

javacOptions ++= Seq("-source", "1.6", "-target", "1.6")

sbtPlugin := true

libraryDependencies ++= {
  val mavenVersion = "3.0.5"
  val mavenWagonVersion = "2.4"
  Seq(
    "biz.aQute" % "bndlib" % "2.1.0.20130426-122213" from "https://raw.github.com/bndtools/releases/master/bnd/2.1.0.REL/biz.aQute.bndlib/biz.aQute.bndlib-2.1.0.jar",
    "org.apache.felix" % "org.apache.felix.resolver" % "1.0.0",
    "org.apache.maven" % "maven-aether-provider" % mavenVersion,
    "org.apache.maven" % "maven-artifact" % mavenVersion,
    "org.apache.maven" % "maven-compat" % mavenVersion,
    "org.apache.maven" % "maven-core" % mavenVersion,
    "org.apache.maven" % "maven-plugin-api" % mavenVersion,
    "org.apache.maven" % "maven-embedder" % mavenVersion, // provide org.apache.maven.cli.MavenCli
    "org.apache.maven.wagon" % "wagon-http" % mavenWagonVersion, // HTTP connector for remore repositories
    "org.apache.maven.wagon" % "wagon-file" % mavenWagonVersion, // File connector for local repositories
    "org.eclipse.tycho" % "tycho-core" % "0.17.0",
    "org.eclipse.tycho" % "tycho-p2-facade" % "0.17.0", // Tycho p2 Resolver Component
    "org.osgi" % "org.osgi.core" % "5.0.0",
    "org.osgi" % "org.osgi.enterprise" % "5.0.0",
    "org.sonatype.aether" % "aether-connector-wagon" % "1.13.1"
  )
}

scriptedBufferLog := false

//logLevel := Level.Debug
<commit_msg>Add to 'scripted' memory limits.<commit_after>//
// Copyright (c) 2013 <NAME> <EMAIL>
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// PRODUCTION CONFIGURATION

ScriptedPlugin.scriptedSettings

name := "sbt-osgi-manager"

organization := "sbt.osgi.manager"

version := "0.0.1.1"

scalacOptions ++= Seq("-unchecked", "-deprecation", "-Xcheckinit", "-Xfatal-warnings")

javacOptions ++= Seq("-source", "1.6", "-target", "1.6")

sbtPlugin := true

libraryDependencies ++= {
  val mavenVersion = "3.0.5"
  val mavenWagonVersion = "2.4"
  Seq(
    "biz.aQute" % "bndlib" % "2.1.0.20130426-122213" from "https://raw.github.com/bndtools/releases/master/bnd/2.1.0.REL/biz.aQute.bndlib/biz.aQute.bndlib-2.1.0.jar",
    "org.apache.felix" % "org.apache.felix.resolver" % "1.0.0",
    "org.apache.maven" % "maven-aether-provider" % mavenVersion,
    "org.apache.maven" % "maven-artifact" % mavenVersion,
    "org.apache.maven" % "maven-compat" % mavenVersion,
    "org.apache.maven" % "maven-core" % mavenVersion,
    "org.apache.maven" % "maven-plugin-api" % mavenVersion,
    "org.apache.maven" % "maven-embedder" % mavenVersion, // provide org.apache.maven.cli.MavenCli
    "org.apache.maven.wagon" % "wagon-http" % mavenWagonVersion, // HTTP connector for remore repositories
    "org.apache.maven.wagon" % "wagon-file" % mavenWagonVersion, // File connector for local repositories
    "org.eclipse.tycho" % "tycho-core" % "0.17.0",
    "org.eclipse.tycho" % "tycho-p2-facade" % "0.17.0", // Tycho p2 Resolver Component
    "org.osgi" % "org.osgi.core" % "5.0.0",
    "org.osgi" % "org.osgi.enterprise" % "5.0.0",
    "org.sonatype.aether" % "aether-connector-wagon" % "1.13.1"
  )
}

scriptedBufferLog := false

scriptedLaunchOpts := Seq("-Xms512m", "-Xmx512m", "-XX:MaxPermSize=256m")

//logLevel := Level.Debug

{'fraction_non_alphanumeric': 0.16761988561372634, 'fraction_numerical': 0.03145622525296964, 'mean_word_length': 3.560682046138415, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6732576', 'n_tokens_mistral': 1739, 'n_tokens_neox': 1642, 'n_words': 368}