[ https://issues.apache.org/jira/browse/JCRVLT-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15226439#comment-15226439 ]
Tobias Bocanegra commented on JCRVLT-113: ----------------------------------------- thanks for the PR. I think the solution has 2 flaws: 1. it uses a query instead of the package manager to find installed packages, 2. it should neverther less install the sub packages, but just not extract them. > Skip installation of sub packages if newer version is already present and > installed > ----------------------------------------------------------------------------------- > > Key: JCRVLT-113 > URL: https://issues.apache.org/jira/browse/JCRVLT-113 > Project: Jackrabbit FileVault > Issue Type: Improvement > Components: Packaging > Affects Versions: 3.1.26 > Reporter: Thierry Ygé > Fix For: 3.1.28 > > > In our testing environment we release package that may contains dependency > library (for ui testing), when different ui testing modules are installed > separately it may happen then that the embedded sub package contains an > older version than the one currently installed, and that produce issues. > To avoid that, it would help if during the package installation, the extract > process would check for sub packages if another package of same group/name is > already installed and is more recent, and so skip it. > I have prepared a sample solution, including the junit test to validate it. > It would be great to add this in the next release. -- This message was sent by Atlassian JIRA (v6.3.4#6332)