You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2015/03/02 11:20:04 UTC

[jira] [Updated] (MTOMCAT-260) Bad default value for maven.tomcat.path

     [ 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org