From 48d0fd0124ec4b160bf2efd81bed6b67dccc9cd5 Mon Sep 17 00:00:00 2001 From: shing19m Date: Tue, 23 Jul 2013 20:35:38 +0200 Subject: [PATCH] Updated junit to the newest version (4.11). Updated jline to the newest version (2.11). Updated code to match the new structure of jline. Updated version of maven-shade-plugin to the newest version (2.1). Updated version of antlr3-maven-plugin to the newest version (3.5). Updated version of maven-compiler-plugin to the newest version (2.5.1). Updated version of antlr-runtime to the newest version (3.5). --- dependency-reduced-pom.xml | 74 ++++++++++++++++++++++++++++++++++++++ pom.xml | 12 +++---- src/main/java/b1/Main.java | 2 +- 3 files changed, 81 insertions(+), 7 deletions(-) create mode 100644 dependency-reduced-pom.xml diff --git a/dependency-reduced-pom.xml b/dependency-reduced-pom.xml new file mode 100644 index 0000000..da82c4f --- /dev/null +++ b/dependency-reduced-pom.xml @@ -0,0 +1,74 @@ + + + 4.0.0 + de.lusiardi.maven + mavenAntlrIntegration + Apache Maven – ANTLR Integration + 0.1 + + + + org.antlr + antlr3-maven-plugin + 3.5 + + + + antlr + + + + + + maven-compiler-plugin + 2.5.1 + + 1.5 + 1.5 + UTF-8 + + + + maven-shade-plugin + 2.1 + + + package + + shade + + + + + b1.Main + + + + + + + + + + + jline + JLine Project Repository + http://jline.sourceforge.net/m2repo + + + + + junit + junit + 4.11 + test + + + hamcrest-core + org.hamcrest + + + + + + diff --git a/pom.xml b/pom.xml index bd824d6..52e93d5 100644 --- a/pom.xml +++ b/pom.xml @@ -13,7 +13,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.antlr antlr3-maven-plugin - 3.1.3-1 + 3.5 @@ -25,7 +25,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.apache.maven.plugins maven-compiler-plugin - 2.1 + 2.5.1 1.5 1.5 @@ -35,7 +35,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> org.apache.maven.plugins maven-shade-plugin - 1.4 + 2.1 package @@ -58,18 +58,18 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd"> junit junit - 4.8.2 + 4.11 test jline jline - 0.9.9 + 2.11 org.antlr antlr-runtime - 3.2 + 3.5 jar diff --git a/src/main/java/b1/Main.java b/src/main/java/b1/Main.java index acb4bcd..9668c14 100644 --- a/src/main/java/b1/Main.java +++ b/src/main/java/b1/Main.java @@ -2,7 +2,7 @@ package b1; import java.io.IOException; import java.io.PrintWriter; -import jline.ConsoleReader; +import jline.console.ConsoleReader; public class Main {