[ https://issues.apache.org/jira/browse/MTOMCAT-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14190186#comment-14190186 ]
Dennis Lundberg edited comment on MTOMCAT-260 at 3/2/15 8:20 AM: ----------------------------------------------------------------- The class {{AbstractExecWarMojo}} overrides the parameter path from its parent {{AbstractTomcat7Mojo}}, but gives it a different defaultValue. The Javadocs are also a bit different. If the behavior of the parameter is supposed to be the same, then just remove the parameter from {{AbstractExecWarMojo}} an let it use the inherited one. was (Author: denn...@apache.org): The class {{AbstractExecWarMojo}} overrides the parameter path from its parent {{AbstractTomcat7Mojo}}, but gives it a different defaultValue. The Javadocs are also a bit different. If the behavior of the parameter is supposed to be the same, then just remove the parameter from {{AbstractExecWarMojo}} an let it use the inherited on. > Bad default value for maven.tomcat.path > --------------------------------------- > > Key: MTOMCAT-260 > URL: https://issues.apache.org/jira/browse/MTOMCAT-260 > Project: Apache Tomcat Maven Plugin > Issue Type: Bug > Affects Versions: 2.2 > Reporter: Stephen Buergler > Priority: Minor > > I'm getting: > {noformat} > WARNING: A context path must either be an empty string or start with a '/'. > The path [test] does not meet these criteria and has been changed to [/test] > {noformat} > http://tomcat.apache.org/maven-plugin-2.2/tomcat7-maven-plugin/exec-war-only-mojo.html > Maybe the default for {{maven.tomcat.path}} should be > '/$\{project.artifactId}' instead of '$\{project.artifactId}' > Also, why not use '/' ? Maybe the description could elaborate on that more? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org