Actions
Bug #28279
openUpdate templating-maven-plugin since 1.0 API doesn't work with recent maven anymore (public)
Bug #28279:
Update templating-maven-plugin since 1.0 API doesn't work with recent maven anymore (public)
Status:
Pending release
Priority:
N/A
Assignee:
Category:
Plugins management
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
With maven 3.9.9, with limited profils, I get:
[WARNING] Error injecting: org.codehaus.mojo.templating.FilterSourcesMojo
java.lang.NoClassDefFoundError: org/apache/maven/shared/filtering/MavenFilteringException
at java.lang.Class.getDeclaredConstructors0 (Native Method)
at java.lang.Class.privateGetDeclaredConstructors (Class.java:3549)
at java.lang.Class.getDeclaredConstructors (Class.java:2727)
....
[ERROR] Failed to execute goal org.codehaus.mojo:templating-maven-plugin:1.0.0:filter-sources (filter-src) on project auth-backends: Execution filter-src of goal org.codehaus.mojo:templating-maven-plugin:1.0.0:filter-sources failed: A required class was missing while executing org.codehaus.mojo:templating-maven-plugin:1.0.0:filter-sources: org/apache/maven/shared/filtering/MavenFilteringException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.codehaus.mojo:templating-maven-plugin:1.0.0
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/fanf/.m2/repository/org/codehaus/mojo/templating-maven-plugin/1.0.0/templating-maven-plugin-1.0.0.jar
This looks like it is due to the old maven-template-plugin that is not compatible with more recent version of maven.
Updated by François ARMAND 6 days ago
- Project changed from Rudder to Rudder plugins
- Category changed from Architecture - Dependencies to Plugins management
- Target version changed from 9.1.0~alpha2 to 9.1
Updated by François ARMAND 6 days ago
- Subject changed from Update templating-maven-plugin since 1.0 API doesn't work with recent maven anymore to Update templating-maven-plugin since 1.0 API doesn't work with recent maven anymore (public)
Updated by François ARMAND 6 days ago
- Status changed from New to In progress
Updated by François ARMAND 6 days ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder-plugins/pull/910
Updated by François ARMAND 6 days ago
- Subtask #28281 added
Updated by Anonymous about 23 hours ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder-plugins|9e903310379de46097f61990da57079648b93837.
Actions