You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2022/06/21 18:50:00 UTC

[jira] [Commented] (SLING-11402) Update to Sling Bundle Parent 48

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

Eric Norman commented on SLING-11402:
-------------------------------------

Created PR #23 for review and feedback

> Update to Sling Bundle Parent 48
> --------------------------------
>
>                 Key: SLING-11402
>                 URL: https://issues.apache.org/jira/browse/SLING-11402
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Eric Norman
>            Assignee: Eric Norman
>            Priority: Major
>             Fix For: Repoinit Parser 1.6.16
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Update to the latest parent pom
> NOTE: The latest bnd revealed the following problem during the build due to (not exported) private classes being referenced from the exported public APIs:
> {code:java}
> [ERROR] Failed to execute goal biz.aQute.bnd:bnd-maven-plugin:6.3.0:bnd-process (bnd-process) on project org.apache.sling.repoinit.parser: Export org.apache.sling.repoinit.parser.operations,  has 1,  private references [org.apache.sling.repoinit.parser.impl] -> [Help 1]{code}
> To resolve those "private references" troubles, these changes seem to be required:
>  * Move the {{impl/WithPathOptions}} class to the exported {{operations}} package
>  * Change the PropertyLine constructor to throw Exception instead of the not exported org.apache.sling.repoinit.parser.impl.ParseException 
>  * Bump the exported operations package version to 6.0.0 to account for the major changes due to the above refactoring
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)