[ https://issues.apache.org/jira/browse/MTOMCAT-260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MTOMCAT-260: ------------------------------------ Attachment: MTOMCAT-260.patch Here is a patch that removes the redundant and inconsistent {{maven.tomcat.path}} parameter from {{AbstractExecWarMojo,java}}. Instead it falls back to the one inherited from {{AbstractTomcat7Mojo.java}}. This solves both the functionality and the documentation. > 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 > Attachments: MTOMCAT-260.patch > > > 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