Fix deploy task to work with signature files.
Don't depend on unsigned jakarta-regexp lib.

Refs #1608.
Merge remote-tracking branch 'upstream/master'