May I suggest to create module for A.jar then create a module for
A-obfuscated.jar or do this in one A module.
Then create a W.war as different module that depends on
A-obfuscated.jar this should make your task much easier....
But If you want to create a A+B-obfuscated.jar then as well create a
separate module for this and use it in W.war module.
Once you have all this figured out then you may think about combining
all the build in one pom if it is possible.
Keep in mind that maven-war-plugin replaces maven-jar-plugin for 'war'
packaging.
But clearly separating artifacts into different modules is the maven approach.
Clearly I never tried to insert produarg to war packaging pom because
for me the readability of stack traces in production web application
is the mojor point. This may be different for web applications for
GAE when Google impose the limit on the size of application. But I
still have not hit the limit.
Vlad