From 9db27da95b4dba4afc14af55e5ba6bba7d0b6d83 Mon Sep 17 00:00:00 2001 From: Igor Foltin Date: Mon, 12 Oct 2015 10:46:44 +0200 Subject: [PATCH] Bug 4375: Bump ANTLR to 4.5 or higher - switched antlr4-runtime in project dependencies to version 4.5.1 - removed antlr4-runtime-osgi-nohead from project dependencies Change-Id: Id4054b0c842372d03368e95d8b19273ee3c091cc Signed-off-by: Igor Foltin Signed-off-by: Robert Varga --- common/artifacts/pom.xml | 5 -- common/features/pom.xml | 5 -- .../features/src/main/features/features.xml | 2 +- common/parent/pom.xml | 32 ++++++++++ third-party/antlr4-runtime-osgi/pom.xml | 63 ------------------- third-party/pom.xml | 4 -- yang/yang-data-impl/pom.xml | 37 ----------- yang/yang-parser-impl/pom.xml | 10 +-- 8 files changed, 34 insertions(+), 124 deletions(-) delete mode 100644 third-party/antlr4-runtime-osgi/pom.xml diff --git a/common/artifacts/pom.xml b/common/artifacts/pom.xml index 67f068a839..c1db35b0d9 100644 --- a/common/artifacts/pom.xml +++ b/common/artifacts/pom.xml @@ -34,11 +34,6 @@ yang-data-util ${project.version} - - org.opendaylight.yangtools.thirdparty - antlr4-runtime-osgi-nohead - 4.0 - org.opendaylight.yangtools concepts diff --git a/common/features/pom.xml b/common/features/pom.xml index 7b1d411f28..54f480034d 100644 --- a/common/features/pom.xml +++ b/common/features/pom.xml @@ -34,11 +34,6 @@ - - org.opendaylight.yangtools.thirdparty - antlr4-runtime-osgi-nohead - compile - org.opendaylight.yangtools yang-data-api diff --git a/common/features/src/main/features/features.xml b/common/features/src/main/features/features.xml index b5ec8f94f7..b984c6b1d9 100644 --- a/common/features/src/main/features/features.xml +++ b/common/features/src/main/features/features.xml @@ -35,7 +35,7 @@ odl-yangtools-common - mvn:org.opendaylight.yangtools.thirdparty/antlr4-runtime-osgi-nohead/{{VERSION}} + mvn:org.antlr/antlr4-runtime/{{VERSION}} mvn:org.opendaylight.yangtools/yang-model-api/{{VERSION}} mvn:org.opendaylight.yangtools/yang-model-util/{{VERSION}} mvn:org.opendaylight.yangtools/yang-parser-api/{{VERSION}} diff --git a/common/parent/pom.xml b/common/parent/pom.xml index 48b0727aff..4103414b40 100644 --- a/common/parent/pom.xml +++ b/common/parent/pom.xml @@ -123,6 +123,12 @@ import pom + + + org.antlr + antlr4-runtime + 4.5.1 + @@ -289,6 +295,19 @@ + + + org.antlr + antlr4-maven-plugin + [4.0,) + + antlr4 + + + + + + @@ -392,6 +411,19 @@ + + + org.antlr + antlr4-maven-plugin + 4.5.1 + + + + antlr4 + + + + diff --git a/third-party/antlr4-runtime-osgi/pom.xml b/third-party/antlr4-runtime-osgi/pom.xml deleted file mode 100644 index 95ef64179c..0000000000 --- a/third-party/antlr4-runtime-osgi/pom.xml +++ /dev/null @@ -1,63 +0,0 @@ - - - - - 4.0.0 - - - org.opendaylight.yangtools - third-party-parent - 0.8.0-SNAPSHOT - ../pom.xml - - - antlr4-runtime-osgi-nohead - 4.0 - bundle - - - - - org.apache.felix - maven-bundle-plugin - true - - - Antlr4 Runtime Library - org.antlr.antlr4 - - org.antlr.v4.runtime, - org.antlr.v4.runtime.atn, - org.antlr.v4.runtime.dfa, - org.antlr.v4.runtime.misc, - org.antlr.v4.runtime.tree - - - - - - - - - - - org.antlr - antlr4-runtime - 4.0 - - - - org.abego.treelayout.core - org.abego.treelayout - - - - - diff --git a/third-party/pom.xml b/third-party/pom.xml index 1727bdba7d..8213c77c69 100644 --- a/third-party/pom.xml +++ b/third-party/pom.xml @@ -23,10 +23,6 @@ third-party-parent pom - - antlr4-runtime-osgi - - diff --git a/yang/yang-data-impl/pom.xml b/yang/yang-data-impl/pom.xml index c0a68d75c4..77d7155e37 100644 --- a/yang/yang-data-impl/pom.xml +++ b/yang/yang-data-impl/pom.xml @@ -25,14 +25,6 @@ org.antlr antlr4-maven-plugin - 4.0 - - - - antlr4 - - - src/main/antlr target/generated-sources/parser/org/opendaylight/yangtools/yang/data/impl/leafref @@ -62,34 +54,6 @@ - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.antlr - antlr4-maven-plugin - [4.0,) - - antlr4 - - - - - - - - - - - - @@ -157,7 +121,6 @@ org.antlr antlr4-runtime - 4.0 diff --git a/yang/yang-parser-impl/pom.xml b/yang/yang-parser-impl/pom.xml index 5cb407ed8d..39c50703af 100644 --- a/yang/yang-parser-impl/pom.xml +++ b/yang/yang-parser-impl/pom.xml @@ -41,7 +41,6 @@ org.antlr antlr4-runtime - 4.0 org.mockito @@ -76,14 +75,7 @@ org.antlr antlr4-maven-plugin - 4.0 - - - - antlr4 - - - + 4.5.1 src/main/antlr target/generated-sources/parser/org/opendaylight/yangtools/antlrv4/code/gen -- 2.36.6