Actions
Bug #26199
closedBug #26195: Maven shade plugin update and ignore signatures
Janino dependency was not provided to plugins causing plugin load issue
Bug #26199:
Janino dependency was not provided to plugins causing plugin load issue
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
Plugins could no longer load with the webapp with the following error :
2025-01-16 04:11:59-0500 WARN org.springframework.web.context.support.AnnotationConfigWebApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/opt/rudder/share/plugins/cve/cve.jar!/bootstrap/rudder/plugin/CveDefaults.class] 2025-01-16 04:11:59-0500 ERROR org.springframework.web.context.ContextLoader - Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/opt/rudder/share/plugins/cve/cve.jar!/bootstrap/rudder/plugin/CveDefaults.class]
and later :
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
This is because the org.codehaus.janino dependency was not provided with plugins, as it is declared in Rudder, so we should ignore the filtering of signatures from parent ticket, and provide this in plugins-common
Updated by Clark ANDRIANASOLO about 1 year ago
- Status changed from New to In progress
Updated by Clark ANDRIANASOLO about 1 year ago
- Status changed from In progress to Pending technical review
- Assignee changed from Clark ANDRIANASOLO to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/787
Updated by Clark ANDRIANASOLO about 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|06cbd84c400e9a9689684262c527aaa3cd5544a5.
Updated by Vincent MEMBRÉ 10 months ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ about 6 hours ago
- Status changed from Pending release to Released
Actions