I've sent you an invite to join jira so you can contribute on the jira. Even more so than the patch, would welcome a discussion on approach first. Not sure if there are Maven APIs you can use for this or if it would require xml parsing etc.
And there are definitely many possible ways to convey the master Maven password for decryption so would like to see a discussion of tradeoffs for that.