Note, the scripts don't use maven.
It goes directly and runs bash commands. The reason is maven is kinda slow and waiting for a minute for a rebuild for me is not something I want to do many times a day. On my machine the rebuild*.sh script runs in about 2 seconds.
Note, the rebuild script is not intended for use by a server, it's really designed for the SWT developer who rebuilds SWT bindings many times a day. E.x
- changes in OS.java,
- run older version of SWT for bisecting
- test patches that involve native changes
I don't know enough about maven/custom swt to answer your question, but in general the script doesn't look at any of the java/pom baseline stuff. It just looks at the '.c & .h' files and produces libraries. After if you do a git status in the binary repo, you will see new '.so' libs.
With that said, if there are requests, I could build something maven related.
cd ~/git/eclipse.platform.swt.binaries/bundles/org.eclipse.swt.gtk.linux.x86_64
mvn clean verify -Pbuild-individual-bundles -Dnative=gtk.linux.x86_64