Project

General

Profile

Actions

Bug #28279

open

Update 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)

Added by François ARMAND 6 days ago. Updated about 23 hours ago.

Status:
Pending release
Priority:
N/A
Category:
Plugins management
Target version:
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.


Subtasks 1 (1 open0 closed)

Bug #28281: Update templating-maven-plugin since 1.0 API doesn't work with recent maven anymore (private)Pending releaseVincent MEMBRÉActions

Updated by François ARMAND 6 days ago Actions #1

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

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

  • Status changed from New to In progress

Updated by François ARMAND 6 days ago Actions #4

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

  • Subtask #28281 added

Updated by Anonymous about 23 hours ago Actions #6

  • Status changed from Pending technical review to Pending release
Actions

Also available in: PDF Atom