From 2627532a195121c98c0aadbd3d3658e630c14234 Mon Sep 17 00:00:00 2001 From: "Benjamin, Max" Date: Mon, 16 Mar 2020 10:09:29 -0400 Subject: update poms to be compatible with eclipse IDE add groovy sources to eclipse projects automatically replace groovy maven plugins with more modern one remove unused dependency causing compilation issues Issue-ID: SO-2735 Signed-off-by: Benjamin, Max (mb388a) Change-Id: Ibeddddcc289c25e6208b69ac4f0cc220386e9344 --- bpmn/MSOCommonBPMN/pom.xml | 106 ++++++--------------- bpmn/so-bpmn-infrastructure-common/pom.xml | 98 ++++--------------- .../scripts/DoCreateSliceServiceInstance.groovy | 1 - bpmn/so-bpmn-tasks/pom.xml | 18 ++++ 4 files changed, 66 insertions(+), 157 deletions(-) (limited to 'bpmn') diff --git a/bpmn/MSOCommonBPMN/pom.xml b/bpmn/MSOCommonBPMN/pom.xml index c817874fb6..5d9c1a3acd 100644 --- a/bpmn/MSOCommonBPMN/pom.xml +++ b/bpmn/MSOCommonBPMN/pom.xml @@ -1,5 +1,6 @@ - 4.0.0 @@ -21,18 +22,23 @@ org.apache.maven.plugins maven-compiler-plugin - - - test-compile - compile - - testCompile - - - false - - - + 3.8.0 + + groovy-eclipse-compiler + + + + + org.codehaus.groovy + groovy-eclipse-compiler + 3.6.0-03 + + + org.codehaus.groovy + groovy-eclipse-batch + 2.4.19-01 + + @@ -58,64 +64,6 @@ cxf-codegen-plugin 2.5.2 - - org.apache.maven.plugins - maven-eclipse-plugin - 2.8 - - - org.eclipse.jdt.groovy.core.groovyNature - - - **/*.groovy - - - - - maven-antrun-plugin - - - compile - compile - - - - - - - - - - - - - - run - - - - test-compile - test-compile - - - - - - - - - - - - - - run - - - - org.apache.maven.plugins maven-surefire-plugin @@ -161,8 +109,8 @@ - + org.eclipse.m2e lifecycle-mapping @@ -173,14 +121,14 @@ - org.apache.maven.plugins - + org.apache.maven.plugins + - maven-antrun-plugin - + maven-antrun-plugin + - [1.3,) - + [1.3,) + run diff --git a/bpmn/so-bpmn-infrastructure-common/pom.xml b/bpmn/so-bpmn-infrastructure-common/pom.xml index 0df3fbe704..1a4e9c6ee8 100644 --- a/bpmn/so-bpmn-infrastructure-common/pom.xml +++ b/bpmn/so-bpmn-infrastructure-common/pom.xml @@ -16,51 +16,6 @@ cxf-codegen-plugin 2.5.2 - - org.apache.maven.plugins - maven-eclipse-plugin - 2.8 - - - org.eclipse.jdt.groovy.core.groovyNature - - - **/*.groovy - - - - - org.codehaus.gmaven - gmaven-plugin - 1.5 - - - org.codehaus.gmaven.runtime - gmaven-runtime-2.0 - 1.5 - - - org.codehaus.groovy - groovy - ${groovy.version} - - - - false - true - true - .groovy - 2.0 - - - - - testCompile - compile - - - - org.apache.maven.plugins maven-dependency-plugin @@ -77,41 +32,30 @@ + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + groovy-eclipse-compiler + + + + + org.codehaus.groovy + groovy-eclipse-compiler + 3.6.0-03 + + + org.codehaus.groovy + groovy-eclipse-batch + 2.4.19-01 + + + - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - - org.apache.maven.plugins - - - maven-antrun-plugin - - - [1.3,) - - - run - - - - - - - - - - org.apache.maven.plugins maven-surefire-plugin diff --git a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateSliceServiceInstance.groovy b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateSliceServiceInstance.groovy index ae239d9e68..bdeaec266f 100644 --- a/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateSliceServiceInstance.groovy +++ b/bpmn/so-bpmn-infrastructure-common/src/main/groovy/org/onap/so/bpmn/infrastructure/scripts/DoCreateSliceServiceInstance.groovy @@ -1,7 +1,6 @@ package org.onap.so.bpmn.infrastructure.scripts -import org.onap.so.bpmn.core.domain.AllottedResource import org.onap.aai.domain.yang.AllottedResource import static org.apache.commons.lang3.StringUtils.*; diff --git a/bpmn/so-bpmn-tasks/pom.xml b/bpmn/so-bpmn-tasks/pom.xml index 14081960e6..cffb67a968 100644 --- a/bpmn/so-bpmn-tasks/pom.xml +++ b/bpmn/so-bpmn-tasks/pom.xml @@ -78,6 +78,24 @@ false + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.basedir}/target/generated-sources/src/gen/java/main + + + + + -- cgit 1.2.3-korg