I want to use the upload task (with sshresolver) to upload the generated jar files directly to JBoss. The name of each jar file comes from a property file in the project that produces it and is different from the project name.
I tried using the pattern
which gives an error, and
which works (i.e. uploads), but still seems to base the name on the module rather than on the jar file name.