I'm preparing a patch submission for the maven-eclipse plugin to both fix a bug
and enhance the functionality for setting the context-root of a WTP1.0 project.
My question is, where in the pom.xml should I have the user specify the
contextPath? Right now, the WtpComponentWriter grabs the WebAppSrc value from
the Maven War Plugin. That seems like a logical place to put a
contextPath/contextRoot parameter, but at the same time it's probably not
appropriate to put a property there that won't be used by that plugin.
Otherwise, the property could go under the Eclipse Plugin configuration, but
that feels a bit odd for some reason.
Thoughts?
K.C.