You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by cr...@apache.org on 2006/11/12 05:50:50 UTC
svn commit: r473877 - /shale/framework/trunk/shale-apps/pom.xml
Author: craigmcc
Date: Sat Nov 11 20:50:50 2006
New Revision: 473877
URL: http://svn.apache.org/viewvc?view=rev&rev=473877
Log:
Working further on SHALE-317, modify the Jetty plugin registration the way
that the MyFaces Tomahawk trunk does it, defining a "jetty" profile that
(among other things) *replaces* the Jetty JSP compilation environment with
one from Tomcat 5.5.9 (!). That does ***not*** give me much confidence
about Jetty, but at least the shale-test-tiger application works (including
tests that require the annotations to be recognized).
I'm going to leave the issue open for the moment, because shale-sql-browser
fails on an EL evaluation error. Will probably require more hackery to
work around the combination of JSF and Jetty.
Modified:
shale/framework/trunk/shale-apps/pom.xml
Modified: shale/framework/trunk/shale-apps/pom.xml
URL: http://svn.apache.org/viewvc/shale/framework/trunk/shale-apps/pom.xml?view=diff&rev=473877&r1=473876&r2=473877
==============================================================================
--- shale/framework/trunk/shale-apps/pom.xml (original)
+++ shale/framework/trunk/shale-apps/pom.xml Sat Nov 11 20:50:50 2006
@@ -327,6 +327,50 @@
</repositories>
</profile>
+ <!-- Profile to enable the Jetty plugin for testing -->
+ <profile>
+ <id>jetty</id>
+ <build>
+ <!-- Explicitly select Version 6.0.1, so we do not
+ get 6.0.1pre0 by default -->
+ <plugins>
+ <plugin>
+ <groupId>org.mortbay.jetty</groupId>
+ <artifactId>maven-jetty-plugin</artifactId>
+ <version>6.0.1</version>
+ </plugin>
+ </plugins>
+ </build>
+ <!-- Explicitly replace compile dependencies to pick up the
+ Tomcat version of the Jasper compiler -->
+ <dependencies>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jsp-api</artifactId>
+ <version>2.0</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>jasper-compiler</artifactId>
+ <version>5.5.9</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>jasper-runtime</artifactId>
+ <version>5.5.9</version>
+ <scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>tomcat</groupId>
+ <artifactId>jasper-compiler-jdt</artifactId>
+ <version>5.5.9</version>
+ <scope>compile</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+
</profiles>
<modules>
@@ -360,10 +404,6 @@
</properties>
</configuration>
</configuration>
- </plugin>
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
</plugin>
</plugins>
</build>