fixed org.junit dep

Change-Id: I2b84be506f29ea01c15d1e1f420e22dcf5871440
updated headless build script

Change-Id: I72ec953176e279ca8be6fa953e5b1b98ef2cf100
settings for warnings

Change-Id: I0a3009245b5630d964b9494644cd4a77f1136457