[#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:
parent
8d3ef3a80e
commit
71d0c26536
7
pom.xml
7
pom.xml
@ -558,6 +558,13 @@
|
|||||||
<requireMavenVersion>
|
<requireMavenVersion>
|
||||||
<version>[3.1.1,)</version>
|
<version>[3.1.1,)</version>
|
||||||
</requireMavenVersion>
|
</requireMavenVersion>
|
||||||
|
<requireProperty>
|
||||||
|
<regexMessage>
|
||||||
|
x86_64 JDK must be used.
|
||||||
|
</regexMessage>
|
||||||
|
<property>os.detected.arch</property>
|
||||||
|
<regex>^x86_64$</regex>
|
||||||
|
</requireProperty>
|
||||||
</rules>
|
</rules>
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
|
Loading…
Reference in New Issue
Block a user