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

Andreas Schaefer updated SLING-8799:
------------------------------------
    Attachment: secondary-test.zip

> Deleting converted CPs in local maven repo makes rebuild fail
> -------------------------------------------------------------
>
>                 Key: SLING-8799
>                 URL: https://issues.apache.org/jira/browse/SLING-8799
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: slingfeature-maven-plugin 1.1.6
>         Environment: Latest Sling, Java 8, Maven 3.6.1
>            Reporter: Andreas Schaefer
>            Assignee: Andreas Schaefer
>            Priority: Major
>         Attachments: secondary-test.zip
>
>
> To recreate this issue:
>  * POM with a CP Conversion (Sling Feature Converter Maven Plugin) and FM 
> Aggregation (Sling Feature Maven Plugin)
>  * CP Conversion is in a phase before FM Aggregation
>  * Build with mvn clean install
>  * Go to the local maven repo (.m2) and find the converted ZIP files
>  * Delete the ZIP files or delete the entire group
>  * Rebuild with mvn clean install
>  * This build fails because Maven cannot find the converted ZIP files
> If the rebuild is split and the clean is executed ahead (mvn clean;mvn 
> install) it works.
>  
> This seems to be either an issue with the Sling Feature Maven Plugin's test 
> ahead of the execution or with the CP Converter Plugin to not install the 
> converted cps correctly when target contains the generated ZIP files but the 
> local repo does not have them.



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

Reply via email to