Pulkit Gupta created SLING-9646:
-----------------------------------

             Summary: 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


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)

Reply via email to