From 86f705b5c575950fef62710adb2357a44cfca2ff Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Mon, 8 Jun 2015 13:55:00 -0400 Subject: [PATCH] Updates needed to get artemis to be loaded into m2e. --- artemis-dto/pom.xml | 29 +++++++++++++++++++++ artemis-maven-plugin/pom.xml | 42 +++++++++++++++++++++---------- artemis-selector/pom.xml | 49 +++++++++++++++++++++++++++++++++++- pom.xml | 29 +++++++++++++-------- 4 files changed, 124 insertions(+), 25 deletions(-) diff --git a/artemis-dto/pom.xml b/artemis-dto/pom.xml index 139d00e9da..f62bcf9c42 100644 --- a/artemis-dto/pom.xml +++ b/artemis-dto/pom.xml @@ -105,6 +105,35 @@ + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-antrun-plugin + [1.7,) + + run + + + + + + + + + + + + diff --git a/artemis-maven-plugin/pom.xml b/artemis-maven-plugin/pom.xml index c6994f1c13..40deaa578c 100644 --- a/artemis-maven-plugin/pom.xml +++ b/artemis-maven-plugin/pom.xml @@ -59,18 +59,34 @@ - - - org.apache.maven.plugins - maven-compiler-plugin - 3.0 - - true - 1.6 - 1.6 - - - + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.maven.plugins + maven-plugin-plugin + [3.3,) + + descriptor + + + + + + + + + + + + - diff --git a/artemis-selector/pom.xml b/artemis-selector/pom.xml index bea1cc13bd..d9270f74b8 100644 --- a/artemis-selector/pom.xml +++ b/artemis-selector/pom.xml @@ -36,7 +36,7 @@ xalan xalan - 2.6.0 + 2.7.2 true @@ -68,7 +68,54 @@ + + org.codehaus.mojo + build-helper-maven-plugin + + + add-source + generate-sources + + add-source + + + + ${basedir}/target/generated-sources/javacc + + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.codehaus.mojo + javacc-maven-plugin + [2.6,) + + javacc + + + + + + + + + + + + diff --git a/pom.xml b/pom.xml index d5d1824370..4207ef22cb 100644 --- a/pom.xml +++ b/pom.xml @@ -97,6 +97,8 @@ true true 1.0-alpha-1 + + javac-with-errorprone @@ -443,6 +445,17 @@ + + M2E + + + m2e.version + + + + javac + + dev @@ -661,11 +674,14 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.2 - javac-with-errorprone + true + 1.7 + 1.7 true + ${javac-compiler-id} -Xep:NonAtomicVolatileUpdate:ERROR -Xep:SynchronizeOnNonFinalField:ERROR @@ -836,15 +852,6 @@ - - org.apache.maven.plugins - maven-compiler-plugin - - true - 1.7 - 1.7 - - org.apache.maven.plugins maven-javadoc-plugin