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

contextFile and tomcatUsers defined in pom.xml are not used with target tomcat7:run

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • tomcat7
    • None
    • linux

    Description

      In the configuration of the plugin into my pom.xml, I've defined the path to the contextFile and the tomcatUsers like this :

      <contextFile>${appdir}/context.xml</contextFile>
      <tomcatUsers>${appdir}/tomcat-users.xml</tomcatUsers>

      It works using version 2.0-beta-1 and worked with 2.0-SNAPSHOT until a few days ago. Tomcat7 start correctly, but my tomcat-users.xml is not used and I cannot authentied services deployed on my tomcat. I use this configuration with jenkins for testing.

      Is there a regression in 2.0-SNAPSHOT or a new configuration issue ?

      Attachments

        Activity

          People

            olamy Olivier Lamy
            raph818 Raphaël Zürcher
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: