Skip to content

Commit fe27b8a

Browse files
committed
we aren't making the CLI available via Lightbend.com anymore
1 parent 9cfe6a7 commit fe27b8a

File tree

3 files changed

+1
-37
lines changed

3 files changed

+1
-37
lines changed

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ Using [sbt][sbt]:
5454

5555
This will recompile all MiMa's modules.
5656

57-
If you'd like to create distributable jar files run:
58-
59-
$ sbt assembly
60-
61-
This will create `reporter/target/mima-reporter-assembly-....jar` jar file that can be used to launch the command line version of MiMa.
62-
63-
6457
Launch MiMa Reporter CLI
6558
-------
6659
Type the following command to run the MiMa Reporter command-line

project/Build.scala

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,7 @@ import com.typesafe.config.ConfigFactory
66
import Project.inConfig
77
import Configurations.config
88
import Build.data
9-
import sbtassembly.Plugin.AssemblyKeys
10-
import sbtassembly.Plugin.AssemblyKeys._
11-
import sbtassembly.Plugin.assemblySettings
12-
import sbtassembly.Plugin.MergeStrategy
139
import sbtbuildinfo.Plugin._
14-
import com.typesafe.sbt.S3Plugin._
15-
import S3._
1610
import bintray.BintrayPlugin
1711
import bintray.BintrayPlugin.autoImport._
1812
import com.typesafe.sbt.GitVersioning
@@ -89,15 +83,9 @@ object MimaBuild {
8983
lazy val root = (
9084
project("root", file("."))
9185
aggregate(core, reporter, sbtplugin)
92-
settings(s3Settings:_*)
9386
settings(name := buildName,
9487
publish := (),
9588
publishLocal := (),
96-
mappings in upload := {
97-
def loc(name: String) = "migration-manager/%s/%s-%s.jar" format (version.value, name, version.value)
98-
Seq((assembly in reporter).value -> loc("migration-manager-cli"))
99-
},
100-
host in upload := "downloads.typesafe.com.s3.amazonaws.com",
10189
testScalaVersion in Global := sys.props.getOrElse("mima.testScalaVersion", scalaVersion.value)
10290
)
10391
enablePlugins(GitVersioning)
@@ -117,29 +105,16 @@ object MimaBuild {
117105
settings(sonatypePublishSettings:_*)
118106
)
119107

120-
val myAssemblySettings: Seq[Setting[_]] = (assemblySettings: Seq[Setting[_]]) ++ Seq(
121-
mergeStrategy in assembly ~= (old => {
122-
case "LICENSE" => MergeStrategy.first
123-
case x => old(x)
124-
}),
125-
AssemblyKeys.excludedFiles in assembly ~= (old =>
126-
// Hack to keep LICENSE files.
127-
{ files: Seq[File] => old(files) filterNot (_.getName contains "LICENSE") }
128-
)
129-
)
130-
131108
lazy val reporter = (
132109
project("reporter", file("reporter"), settings = commonSettings)
133110
settings(libraryDependencies += typesafeConfig,
134111
name := buildName + "-reporter")
135112
dependsOn(core)
136113
settings(sonatypePublishSettings:_*)
137-
settings(myAssemblySettings:_*)
138114
settings(
139115
// add task functional-tests that depends on all functional tests
140116
functionalTests := allTests(functionalTests in _).value,
141-
test in IntegrationTest := allTests(test in IntegrationTest in _).value,
142-
mainClass in assembly := Some("com.typesafe.tools.mima.cli.Main")
117+
test in IntegrationTest := allTests(test in IntegrationTest in _).value
143118
)
144119
)
145120

project/plugins.sbt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.9.1")
2-
31
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.2.5")
42

5-
addSbtPlugin("com.typesafe.sbt" % "sbt-s3" % "0.5")
6-
73
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
84

95
addSbtPlugin("com.typesafe.sbt" % "sbt-git" % "0.8.5")

0 commit comments

Comments
 (0)