[#4836] Enforce 64bit JDK when build netty.

Motivation:

As we only provide tcnative jars for 64bit we should enforce 64bit when try to build netty, to make it easier for the user to understand why the build fails.

Modifications:

Add enforce rule.

Result:

Ensure 64bit is used when build netty.
This commit is contained in:
Norman Maurer 2016-04-12 21:25:17 +02:00
parent 8d3ef3a80e
commit 71d0c26536

View File

@ -558,6 +558,13 @@
<requireMavenVersion>
<version>[3.1.1,)</version>
</requireMavenVersion>
<requireProperty>
<regexMessage>
x86_64 JDK must be used.
</regexMessage>
<property>os.detected.arch</property>
<regex>^x86_64$</regex>
</requireProperty>
</rules>
</configuration>
</execution>