diff --git a/core/pom.xml b/core/pom.xml index d6a109c67817babad1088fab6a1a12927020e0ad..4f661f295da58a0709f4038421db04885b9a18c6 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -41,7 +41,7 @@ THE SOFTWARE. true 1.240 2.5.6.SEC03 - 1.8.9 + 2.4.6 @@ -411,13 +411,13 @@ THE SOFTWARE. jline jline - 1.0 + 2.12 compile org.fusesource.jansi jansi - 1.9 + 1.11 + 2.0 + org.apache.maven.plugins @@ -724,18 +734,6 @@ THE SOFTWARE. - - - 1.7 - - - - org.codehaus.gmaven.runtime - gmaven-runtime-1.7 - 1.3 - - diff --git a/test/pom.xml b/test/pom.xml index 13ba24701302c64c59c60954f072e0f01df2dc20..889218b4a89cf783f951b409558255abb4aa4cc7 100644 --- a/test/pom.xml +++ b/test/pom.xml @@ -240,15 +240,7 @@ THE SOFTWARE. ant-launcher 1.8.0 - - org.codehaus.gmaven.runtime - gmaven-runtime-2.0 - 1.5-jenkins-1 - - - 2.0 - diff --git a/test/src/test/java/hudson/cli/GroovyshCommandTest.java b/test/src/test/java/hudson/cli/GroovyshCommandTest.java index 8c7d1a4066b1f56b61520e7bf0abb37b9f0a9151..eb61043593a36819d2eb80699b97258ba64e798e 100644 --- a/test/src/test/java/hudson/cli/GroovyshCommandTest.java +++ b/test/src/test/java/hudson/cli/GroovyshCommandTest.java @@ -42,7 +42,7 @@ public class GroovyshCommandTest { @Test public void authentication() throws Exception { CLICommandInvoker.Result result = new CLICommandInvoker(r, new GroovyshCommand()) .authorizedTo(Jenkins.READ, Jenkins.RUN_SCRIPTS) - .withStdin(new StringInputStream("println(jenkins.model.Jenkins.instance.getClass().name)\nquit\n")) + .withStdin(new StringInputStream("println(jenkins.model.Jenkins.instance.getClass().name)\n:quit\n")) .invoke(); assertThat(result, succeeded()); assertThat(result, hasNoErrorOutput());