Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for newer versions of GoCD #86

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ val commonsIo = "commons-io" % "commons-io" % "1.3.2"
val awsS3 = "com.amazonaws" % "aws-java-sdk-s3" % "1.11.127"
val nscalaTime = "com.github.nscala-time" %% "nscala-time" % "2.4.0"
val gson = "com.google.code.gson" % "gson" % "2.2.3"
val goPluginLibrary = "cd.go.plugin" % "go-plugin-api" % "17.2.0" % Provided
val goPluginLibrary = "cd.go.plugin" % "go-plugin-api" % "23.4.0"
val jaxbApi = "javax.xml.bind" % "jaxb-api" % "2.3.0"
val servlet = "javax.servlet" % "javax.servlet-api" % "3.1.0"

val hamcrest = "org.hamcrest" % "hamcrest-all" % "1.3" % Test
val junit = "junit" % "junit" % "4.12" % Test
Expand All @@ -15,6 +16,7 @@ val scalaTest = "org.scalatest" %% "scalatest" % "2.2.0" % Test

val appVersion = sys.env.get("TRAVIS_TAG") orElse sys.env.get("BUILD_LABEL") getOrElse s"1.0.0-${System.currentTimeMillis / 1000}-SNAPSHOT"


lazy val root = Project(
id = "gocd-s3-artifacts",
base = file(".")
Expand All @@ -26,7 +28,7 @@ lazy val commonSettings = Seq(
scalaVersion := "2.11.12",
unmanagedBase := file(".") / "lib",
libraryDependencies ++= Seq(
apacheCommons, commonsIo, awsS3, goPluginLibrary, gson, jaxbApi
apacheCommons, commonsIo, awsS3, goPluginLibrary, gson, servlet, jaxbApi
),
resourceGenerators in Compile += Def.task {
val inputFile = baseDirectory.value / "template" / "plugin.xml"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package com.indix.gocd.utils.mocks;

import com.indix.gocd.utils.Context;
import com.thoughtworks.go.plugin.api.task.Console;
import com.thoughtworks.go.plugin.api.task.EnvironmentVariables;
import com.thoughtworks.go.plugin.api.task.TaskExecutionContext;
import org.apache.commons.lang3.StringUtils;

import java.io.InputStream;
Expand Down