This is how we work through this in hadoop-lzo using profiles:
https://github.com/twitter/hadoop-lzo/blob/master/pom.xml#L105

Of course, if we have more than one use for profiles things would get hairy
quickly. FWIW.

Sangjin


On Sat, Aug 3, 2013 at 1:34 AM, Steve Loughran <ste...@hortonworks.com>wrote:

> would be nice for JDK7 builds to work on OSX -gave up the last time I
> tried, though we should see if the mvn plugins have been updated for this
> https://issues.apache.org/jira/browse/HADOOP-9350
>
> http://steveloughran.blogspot.co.uk/2013/03/hadoop-java7-and-osx-or-what-is-it.html
>
> It looks like there is a fork that does work
> https://jira.codehaus.org/browse/MJSPC-53
>

Reply via email to