Use maven-enforcer-plugin to enforce minimum versions
authorAlexandre Montplaisir <alexmonthy@efficios.com>
Tue, 8 Dec 2015 19:35:03 +0000 (14:35 -0500)
committerAlexandre Montplaisir <alexmonthy@efficios.com>
Thu, 10 Dec 2015 18:45:11 +0000 (13:45 -0500)
commit032bdcc4af3aa0dcda4d784ec4ba20eff924cdd1
treedbed760f555fd01bd25bdfb2e511af7527aaeb63
parent367e2932ca88708df2a460eabb905d5113b1636c
Use maven-enforcer-plugin to enforce minimum versions

<prerequisites> tags are not inherited by children. We can use
maven-enforcer-plugin to really check the Maven version.

See http://stackoverflow.com/q/18055009/4227853 .

It's not really clear if <prerequisites> is really deprecated
or not, but "mvn versions" complains if it is not present, so
we can at least leave it in the top-level pom.

While at it we can also configure it to check for the minimum
Java version the project needs (1.8).

Change-Id: I607c33e3fecf39d932ae7a44d58b85ce20336dc7
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/62280
Reviewed-by: Hudson CI
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
13 files changed:
analysis/pom.xml
btf/pom.xml
common/pom.xml
ctf/pom.xml
doc/pom.xml
gdbtrace/pom.xml
lttng/pom.xml
pcap/pom.xml
pom.xml
rcp/pom.xml
releng/pom.xml
statesystem/pom.xml
tmf/pom.xml
This page took 0.029797 seconds and 5 git commands to generate.