Found a new oddity that perhaps someone can explain.
I am trying to build a WAR file using maven-war-plugin
If I put the proper configuration in the module's POM I get the Manifest
that I want.
If I just put it in the parent in the plug-in section without any
mention of the plug-in at all in the module I do get a WAR file but I do
not get the Manifest that I want.
If I put the plugin configuration in the parent's dependencyManagement
section and put a reference just to the plug-in in the module, I get the
WAR file without the Manifest that I want.
This is the whole configuration section that gives me the Manifest.
<configuration>
<warSourceDirectory>WebContent</warSourceDirectory>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
</archive>
</configuration>
It appears that Maven is bypassing the plug-in unless it is explicit in
the module POM.
Is this right or am I missing something to get maven-war-plugin to be
configured in the parent POM?
Ron
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]