There's poor documentation for plugins on maven site.
You should spend much time in maillist or looking plugin source codes to understand how you can customize plugin behavior.
Some time ago i wanted to make running my JARs more easy. I wanted to put all depending jars to manifest file. So i put in pom.xml such customization:
|
Now when maven packages my project it creates in manifest file classpath references:
Class-Path: antlr-2.7.6.jar commons-logging-1.0.4.jar ....
And I can easy start my jar without long classpath string just type: java -jar myproject.jar