Don't try to use system jna for naming conventions

When we test we add `-Djna.nosys=true` to the system properties but
we don't add it to system properties when running the naming conventions
test. This was causing the build to fail on a newly minted Ubuntu 15.10
machine, presumably because I made the mistake of installing maven using
the system package manager.
This commit is contained in:
Nik Everett 2016-03-29 15:37:36 -04:00
parent 19eeb68bc4
commit 101a32573c
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class NamingConventionsTask extends LoggedExec {
*/
project.afterEvaluate {
doFirst {
args('-Djna.nosys=true')
args('-cp', classpath.asPath, 'org.elasticsearch.test.NamingConventionsCheck')
if (skipIntegTestInDisguise) {
args('--skip-integ-tests-in-disguise')