[ 
https://issues.apache.org/jira/browse/SLING-6925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16032342#comment-16032342
 ] 

Tobias Bocanegra commented on SLING-6925:
-----------------------------------------

silly me, of course we can avoid attachment of the classes by changing the 
output directory:

{noformat}
                <configuration>
                    ...
                    
<outputDirectory>${project.build.directory}/jspc-validation-output</outputDirectory>
                    ...
                </configuration>
{noformat}

> Make JSPC plugin useful to validation and analysys
> --------------------------------------------------
>
>                 Key: SLING-6925
>                 URL: https://issues.apache.org/jira/browse/SLING-6925
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>    Affects Versions: Maven JSPC Plugin 2.0.8
>            Reporter: Tobias Bocanegra
>            Priority: Minor
>
> the JSPs plugin is very useful to validate the JSPs before they get packaged 
> into the artifact. but the deployment unit might not need to class files but 
> there is currently no way to disable their attachment. further it might be 
> valuable to know which dependencies in the project are really used by the 
> JSPs. this helps developers to optimize the runtime dependencies of their 
> code.
> suggest:
> - add new flag: {{attachClasses}} (default true)
> - analyze the java packages of the class path used to compile the JSPs and 
> report which dependencies are not used.
> - add new flag: {{reportUnusedDependencies}} (default true)
> - add new flag: {{dumpClassPathUsage}} (default false)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to