From: Benjamin, Max Date: Mon, 16 Mar 2020 14:09:29 +0000 (-0400) Subject: update poms to be compatible with eclipse IDE X-Git-Tag: 1.6.1~60^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2627532a195121c98c0aadbd3d3658e630c14234;p=so.git 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 --- diff --git a/.gitignore b/.gitignore index 8eeea7a8cc..79d2c94622 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ target **/.buildpath **/.factorypath **/.springBeans +**/.project +**/.classpath .idea .checkstyle .DS_Store diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-adapter-api/pom.xml b/adapters/mso-vnfm-adapter/mso-vnfm-adapter-api/pom.xml index bb322eb1d8..977541cc16 100644 --- a/adapters/mso-vnfm-adapter/mso-vnfm-adapter-api/pom.xml +++ b/adapters/mso-vnfm-adapter/mso-vnfm-adapter-api/pom.xml @@ -91,6 +91,24 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.basedir}/target/generated-sources/vnfmadapter/src/gen/java/main + + + + + diff --git a/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/pom.xml b/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/pom.xml index a643aaa5b8..dacd5d96b6 100644 --- a/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/pom.xml +++ b/adapters/mso-vnfm-adapter/mso-vnfm-adapter-ext-clients/pom.xml @@ -132,6 +132,29 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${project.basedir}/target/generated-sources/etsicatalog/src/gen/java/main + ${project.basedir}/target/generated-sources/sol003-vnf-packagemanagement/src/gen/java/main + ${project.basedir}/target/generated-sources/sol003-vnf-grant/src/gen/java/main + ${project.basedir}/target/generated-sources/sol003-vnf-lcn/src/gen/java/main + ${project.basedir}/target/generated-sources/sol003-vnf-lcm/src/gen/java/main + + + + + + 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 + + + + +