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

Carsten Ziegeler commented on SLING-9324:
-----------------------------------------

Reimplemented the api jar generation in 
https://github.com/apache/sling-slingfeature-maven-plugin/commit/c30072f224f5f9b4a28b0a6c45ac8421988eea97

Most of the information is now only calculated once. Copying of files is 
reduced to a minimum, only when SCM checkout is needed, the files are copied.
Also changed the way encoding of source files is handled - all source files are 
assumed to be UTF-8; if they differ this needs to be specified via 
"scm-encoding" metadata. Previously all non ascii characters where replaced by 
a space.
Changed used from JarFile to JarInputStream for faster processing of jar files


> Improve api jar generation
> --------------------------
>
>                 Key: SLING-9324
>                 URL: https://issues.apache.org/jira/browse/SLING-9324
>             Project: Sling
>          Issue Type: Improvement
>          Components: Maven Plugins and Archetypes
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>            Priority: Major
>             Fix For: slingfeature-maven-plugin 1.1.26
>
>
> The current generation of the api jars has grown over time and it is time now 
> to clean up this generation process and avoid duplicate and unnecessary work



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

Reply via email to