Commits

Martin Lau committed 232159a

Added a tomcat specific profile so that JSTL is bundled in the WAR instead of being expected to already exist.

Comments (0)

Files changed (1)

         <servlet-api.version>2.5</servlet-api.version>
     </properties>
 
+    <profiles>
+        <profile>
+            <!-- If deploying to tomcat, JSTL isn't available by default, and must be packaged -->
+            <id>tomcat</id>
+            <activation>
+                <activeByDefault>false</activeByDefault>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>javax.servlet</groupId>
+                    <artifactId>jstl</artifactId>
+                    <scope>runtime</scope>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
+
 </project>