[
https://issues.apache.org/jira/browse/HBASE-12381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sean Busbey updated HBASE-12381:
--------------------------------
Attachment: HBASE-12381.1.patch.txt
patch for master. requires maven >= 3.0.3 (based on the oldest version we have
building on jenkins) and java >= the source compilation target variable, which
is 1.7 on master (based on java compat doc).
patch picks back to branch-1 cleanly. patch picks back to 0.98 and 0.94 with
straight-forward conflicts but works correctly (e.g. enforcing java 1.6+) after
fixing.
Manually tested by building on a system that meets the above requirements and
by building on the same system but with the minimums updated to be newer than I
have. Also tested that enforcement happens both at the top level and if only a
single module is built.
> Add maven enforcer rules for build assumptions
> ----------------------------------------------
>
> Key: HBASE-12381
> URL: https://issues.apache.org/jira/browse/HBASE-12381
> Project: HBase
> Issue Type: Task
> Components: build
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Minor
> Attachments: HBASE-12381.1.patch.txt
>
>
> our ref guide says that you need maven 3 to build. add an enforcer rule so
> that people find out early that they have the wrong maven version, rather
> then however things fall over if someone tries to build with maven 2.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)