Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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)