Put your config in a pluginManagement and that way the war projects
need only specify
plugin
groupIdorg.codehaus.mojo.jspc/groupId
artifactIdjspc-maven-plugin/artifactId
/plugin
and they'll pick up the config from the plugin management section.
Alternatively, use two parent poms,
Many plugins offer a skip configuration option. Check the plugin
docs to see if jspc-m-p does, and if it does not, file a JIRA to
request that someone else add it or do it yourself. Then you could
simply add the plugin in the parent, and declare it with
skiptrue/skip in the non-WAR children