You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by "Romain Manni-Bucau (JIRA)" <ji...@apache.org> on 2014/06/24 18:48:25 UTC

[jira] [Created] (TOMEE-1255) allow TomEE Maven Plugin to specify additional docBase

Romain Manni-Bucau created TOMEE-1255:
-----------------------------------------

             Summary: allow TomEE Maven Plugin to specify additional docBase
                 Key: TOMEE-1255
                 URL: https://issues.apache.org/jira/browse/TOMEE-1255
             Project: TomEE
          Issue Type: Bug
            Reporter: Romain Manni-Bucau
            Assignee: Romain Manni-Bucau
             Fix For: 1.7.0


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:

{code}
<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>
{code}

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)



--
This message was sent by Atlassian JIRA
(v6.2#6252)