[
https://issues.apache.org/jira/browse/JCRVLT-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra resolved JCRVLT-136.
-------------------------------------
Resolution: Fixed
Fix Version/s: 3.1.32
fixed in r1767220.
new ImportOptions: {{DependencyHandling}} :
{code}
/**
* Defines how package dependencies influence package installation and
un-installation.
*/
public enum DependencyHandling {
/**
* No dependency checks are enforced
*/
IGNORE,
/**
* Dependency checks are performed but not enforced. If a dependency is
present but not installed, it will be
* installed prior to installing the referencing issue. However the
installation will proceed, even if the dependency is missing.
*
* Un-installation will automatically uninstall referencing packages.
*/
BEST_EFFORT,
/**
* Dependency checks are performed but not enforced. If a dependency is
present but not installed, it will be
* installed prior to installing the referencing issue. If a dependency is
not present, installation fails.
*
* Un-installation will automatically uninstall referencing packages.
*/
REQUIRED,
/**
* Full dependency checks are enforced. Packages with missing or
uninstalled dependencies are not installed and
* packages that are dependencies of other packages cannot be un-installed.
*/
STRICT
}
{code}
> Add import option flags to enforce dependency checks
> -----------------------------------------------------
>
> Key: JCRVLT-136
> URL: https://issues.apache.org/jira/browse/JCRVLT-136
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: Packaging
> Affects Versions: 3.1.30
> Reporter: Tobias Bocanegra
> Fix For: 3.1.32
>
>
> Package dependencies are not honoured by package installation.
> add import option to:
> - prevent installation of package (and/or subpackage) if a required
> dependency is not installed
> - prevent uninstallation of package (and/or subpackage) if a required
> dependency is still installed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)