You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Pulkit Gupta (Jira)" <ji...@apache.org> on 2020/08/09 16:13:00 UTC

[jira] [Resolved] (SLING-9646) not able to exclude jsp in jspc-maven-plugin configuration

     [ https://issues.apache.org/jira/browse/SLING-9646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pulkit Gupta resolved SLING-9646.
---------------------------------
    Resolution: Fixed

> not able to exclude jsp in jspc-maven-plugin configuration
> ----------------------------------------------------------
>
>                 Key: SLING-9646
>                 URL: https://issues.apache.org/jira/browse/SLING-9646
>             Project: Sling
>          Issue Type: Bug
>    Affects Versions: JSPC Maven Plugin 2.2.2
>            Reporter: Pulkit Gupta
>            Priority: Major
>
> Hi,
>  
> I am using JspC plugin to pre-compile my JSP. However I have some JSP fragments which I do not want to compile. I have added these JSPs in the exclude tag but still JspC is picking these JSPs and compiling them resulting in failure.
>  
> <configuration>
>  <jasperClassDebugInfo>true</jasperClassDebugInfo>
>  <sourceDirectory>${project.build.directory}/jsps-to-compile</sourceDirectory>
>  <outputDirectory>${project.build.directory}/ignoredjspc</outputDirectory>
>  <excludes>
> /panel/outputs.jsp,
>  /panel/editscreen.jsp
>  </excludes>
> </configuration>
>  
> I have also tried this
> <configuration>
>  <jasperClassDebugInfo>true</jasperClassDebugInfo>
>  <sourceDirectory>${project.build.directory}/jsps-to-compile</sourceDirectory>
>  <outputDirectory>${project.build.directory}/ignoredjspc</outputDirectory>
>  <excludes>
> <exclude>/panel/outputs.jsp<exclude>
>  <exclude>/panel/editscreen.jsp<exclude>
>  </excludes>
> </configuration>



--
This message was sent by Atlassian Jira
(v8.3.4#803005)