Project

General

Profile

Actions

Bug #26199

closed

Bug #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

Added by Clark ANDRIANASOLO about 1 year ago. Updated about 6 hours ago.

Status:
Released
Priority:
N/A
Category:
Plugins management
Target version:
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 Actions #1

  • Status changed from New to In progress

Updated by Clark ANDRIANASOLO about 1 year ago Actions #2

  • 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 Actions #3

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ 10 months ago Actions #4

  • Fix check changed from To do to Checked

Updated by Vincent MEMBRÉ about 6 hours ago Actions #5

  • Status changed from Pending release to Released
Actions

Also available in: PDF Atom