From ed1ca8da309b5e92d2565614977f7dac2800b20f Mon Sep 17 00:00:00 2001 From: Robert Gemmell Date: Sun, 6 Oct 2013 22:03:30 +0000 Subject: QPID-5048: use enforcer plugin to require Maven 3 and ensure the profile property contains a vallid supported test profile value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1529703 13f79535-47bb-0310-9956-ffa450edef68 --- java/pom.xml | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) (limited to 'java') diff --git a/java/pom.xml b/java/pom.xml index 027f8b5b62..99aac4703f 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -35,8 +35,6 @@ - Decide on name for this parent module. - Fix the version numbers in all the modules. - Remove groupid from all the modules, if possible? - - Add enforcer check for maven versions. - - Add enforcer check for test profile property values, if possible? - Align the XML in the pom files consistently, fix whitepsace errors. - Complete setting properties for the dependency version numbers. - Use dependancy management sections to control the version numbers. @@ -100,6 +98,10 @@ 1.6 1.6 + + [3.0.0,) + (java-mms.0-9-1|java-mms.0-10) + ${basedir} ${qpid.home}/target/qbtc-output @@ -450,6 +452,34 @@ + + + org.apache.maven.plugins + maven-enforcer-plugin + + + + enforce-versions-standard-properties + + enforce + + + + + ${supported-maven-version-range} + + + profile + You must set a test profile! + ${supported-test-profiles-regex} + You have set an unsupported test profile! Allowed values match: ${supported-test-profiles-regex} + + + true + + + + -- cgit v1.2.1