[#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 1861461db2
commit 89268659f3

View File

@ -618,6 +618,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>