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

Clement Escoffier updated FELIX-413:
------------------------------------

    Attachment: obr-clean-patch.txt

The attached patch provides a clean goal to the maven-obr-plugin. This goal 
analyze the OBR repository file and delete all inexistent resources (resources 
where the URI does not point on an existing file). The patch updates the 
"lastmodified" attribute only if needed.

To use it, launch the following command :
mvn org.apache.felix:maven-obr-plugin:clean




> OBR Repository cleaning goal
> ----------------------------
>
>                 Key: FELIX-413
>                 URL: https://issues.apache.org/jira/browse/FELIX-413
>             Project: Felix
>          Issue Type: Improvement
>          Components: Maven Bundle Plugin
>            Reporter: Clement Escoffier
>            Priority: Minor
>         Attachments: obr-clean-patch.txt
>
>
> The maven-obr-plugin( and the maven-bundle-plugin) does not support when the 
> local maven repository is managed "manually", specially when we delete a part 
> of the maven repository (to check a compilation process from scratch).In 
> these cases, if the generated repository  file contain bundles from the 
> deleted part, the repository descriptor is no more consistent, and content 
> references on missing resources.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to