Uploaded image for project: 'Apache Tomcat Maven Plugin'
  1. Apache Tomcat Maven Plugin
  2. MTOMCAT-260

Bad default value for maven.tomcat.path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2
    • 2.3
    • None

    Description

      I'm getting:

      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]
      

      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?

      Attachments

        1. MTOMCAT-260.patch
          0.9 kB
          Dennis Lundberg

        Activity

          People

            Unassigned Unassigned
            sixcorners Stephen Buergler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: