Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-1255

allow TomEE Maven Plugin to specify additional docBase

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None
    • None

    Description

      Intended for development and to avoid to rely on synchronization (which implies a little delay) for css/js/html

      just add something like it in your pom:

      <plugin>
              <groupId>org.apache.openejb.maven</groupId>
              <artifactId>tomee-maven-plugin</artifactId>
              <version>1.7.0-SNAPSHOT</version>
              <configuration>
                <docBases>
                  <docBase>${project.basedir}/src/main/webapp</docBase>
                </docBases>
              </configuration>
            </plugin>
      

      Side note: of course it only work when the project is a war and for current war. For other cases you can still rely on context.xml (for prod)

      Attachments

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            romain.manni-bucau Romain Manni-Bucau
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: