ARROW-7180: [CI] Java builds are not triggered on the master branch
ARROW-7180: [CI] Java builds are not triggered on the master branch

Closes #5843 from kszucs/ARROW-7180 and squashes the following commits:

f10b3893d <Krisztián Szűcs> Fix path selectors for the java builds

Authored-by: Krisztián Szűcs <6bab32dc957a05a87930e779f272342e159326fa@gmail.com>
Signed-off-by: Krisztián Szűcs <6bab32dc957a05a87930e779f272342e159326fa@gmail.com>

icexelloss/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,icexelloss/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,icexelloss/arrow,xhochy/arrow,wesm/arrow,apache/arrow,xhochy/arrow,icexelloss/arrow,kou/arrow,kou/arrow,xhochy/arrow,cpcloud/arrow,xhochy/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,xhochy/arrow,xhochy/arrow,wesm/arrow,xhochy/arrow,xhochy/arrow,cpcloud/arrow,cpcloud/arrow,kou/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,apache/arrow,cpcloud/arrow,wesm/arrow,cpcloud/arrow,cpcloud/arrow,apache/arrow,cpcloud/arrow,apache/arrow,apache/arrow,xhochy/arrow,apache/arrow,wesm/arrow,laurentgo/arrow,cpcloud/arrow,wesm/arrow,laurentgo/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,wesm/arrow,laurentgo/arrow,laurentgo/arrow,laurentgo/arrow,xhochy/arrow,apache/arrow,xhochy/arrow,wesm/arrow,wesm/arrow,wesm/arrow,kou/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,apache/arrow,cpcloud/arrow,apache/arrow,apache/arrow,kou/arrow,kou/arrow,xhochy/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,laurentgo/arrow,xhochy/arrow,xhochy/arrow,wesm/arrow,laurentgo/arrow,wesm/arrow,laurentgo/arrow,kou/arrow,apache/arrow,apache/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,xhochy/arrow