[
http://jira.codehaus.org/browse/MJSPC-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=255071#action_255071
]
Milan Gerza commented on MJSPC-45:
----------------------------------
Setting
<compile>false</compile>
<includeInProject>false</includeInProject>
worked for me - the jsp files were compiled anyway.
> The includeInProject property does not work
> -------------------------------------------
>
> Key: MJSPC-45
> URL: http://jira.codehaus.org/browse/MJSPC-45
> Project: Maven 2.x JSPC Plugin
> Issue Type: Bug
> Affects Versions: 2.0-alpha-1
> Reporter: Morten Lauritsen Khodabocus
>
> (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!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email