Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-alpha-1
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
(Actually, affects version 2.0-alpha-3, but that one is not in the list)
Here's my plugin configuration:
<plugin>
<groupId>org.codehaus.mojo.jspc</groupId>
<artifactId>jspc-maven-plugin</artifactId>
<version>2.0-alpha-3</version>
<configuration>
<includeInProject>false</includeInProject>
<source>1.5</source>
<target>1.5</target>
</configuration>
<dependencies>
<dependency>
<!-- Use the Tomcat 6 JSP compiler -->
<groupId>org.codehaus.mojo.jspc</groupId>
<artifactId>jspc-compiler-tomcat6</artifactId>
<version>2.0-alpha-3</version>
</dependency>
</dependencies>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
with this configuration, I get the following message in the maven log:
[WARNING] Compiled JSPs will not be added to the project and web.xml will not be modified, either because includeInProject is set to false or because
the project's packaging is not 'war'.
but in the packaged war, the WEB-INF\classes\jsp\ directory contains the compiled jsp classes!