[#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
1861461db2
commit
89268659f3
7
pom.xml
7
pom.xml
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user