diff options
author | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-01-17 16:47:46 -0500 |
---|---|---|
committer | Alexis de Talhouët <adetalhouet89@gmail.com> | 2019-01-18 08:08:02 -0500 |
commit | 4a65d4776c5f8f8a63abd1290d75343f5ca50c01 (patch) | |
tree | b0e6ff44567126d023152e010f09a14bad157ff9 /ms | |
parent | aba2ac4e6c11d3436e84288a5d57f4d59dfda38a (diff) |
Fix classpath issue w/ guava
Kotlin compiler embeded guava dependency, hence it's ending w/ a classpath
issue.
kotlin-compiler-embaddeable fixes this issue, and is getting pulled already.
So we exclude koltin-compiler to avoid issue.
Change-Id: Ib703e4b4ac7a478f1918282b35bcd646f5c83038
Issue-ID: CCSDK-961
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Diffstat (limited to 'ms')
-rw-r--r-- | ms/blueprintsprocessor/parent/pom.xml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/ms/blueprintsprocessor/parent/pom.xml b/ms/blueprintsprocessor/parent/pom.xml index 401fef0ac..f694ac120 100644 --- a/ms/blueprintsprocessor/parent/pom.xml +++ b/ms/blueprintsprocessor/parent/pom.xml @@ -16,7 +16,8 @@ ~ See the License for the specific language governing permissions and ~ limitations under the License. --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.ccsdk.apps</groupId> @@ -400,7 +401,19 @@ </dependency> <dependency> <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-compiler-embeddable</artifactId> + </dependency> + <dependency> + <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-scripting-jvm-host</artifactId> + <!--Use kotlin-compiler-embeddable as koltin-compiler wrap--> + <!--guava dependency creating classpath issues at runtime--> + <exclusions> + <exclusion> + <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-compiler</artifactId> + </exclusion> + </exclusions> </dependency> <!-- GRPC Dependencies --> <dependency> |