[ 
https://jira.codehaus.org/browse/MJSPC-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=281209#comment-281209
 ] 

yk commented on MJSPC-45:
-------------------------

I am wondering how setting 'compile' to false can trigger the compilation, as 
this setting explicitly asks JSP compiler NOT TO COMPILE. At least in my 
configuration it works as excepted and documented - only Java sources are 
generated, they are not compiled. 

Could you please clarify how did you manage not to include compiled classes? I 
doubt the configuration you provided works as you describe.

> The includeInProject property does not work
> -------------------------------------------
>
>                 Key: MJSPC-45
>                 URL: https://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.
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


Reply via email to