Project

General

Profile

Actions

Bug #28279

closed

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 5 months ago. Updated 3 months ago.

Status:
Released
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 (0 open1 closed)

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

Updated by François ARMAND 5 months 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~beta1 to 9.1

Updated by François ARMAND 5 months 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 5 months ago Actions #3

  • Status changed from New to In progress

Updated by François ARMAND 5 months 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 5 months ago Actions #5

  • Subtask #28281 added

Updated by Anonymous 5 months ago Actions #6

  • Status changed from Pending technical review to Pending release

Updated by Vincent MEMBRÉ 4 months ago Actions #7

This bug has been fixed in Rudder plugin api-authorizations v9.1.0.beta1-2.2

Updated by Vincent MEMBRÉ 4 months ago Actions #8

This bug has been fixed in Rudder plugin auth-backends v9.1.0.beta1-2.7

Updated by Vincent MEMBRÉ 4 months ago Actions #9

This bug has been fixed in Rudder plugin branding v9.1.0.beta1-2.2

Updated by Vincent MEMBRÉ 4 months ago Actions #10

This bug has been fixed in Rudder plugin change-validation v9.1.0.beta1-2.4

Updated by Vincent MEMBRÉ 4 months ago Actions #11

This bug has been fixed in Rudder plugin datasources v9.1.0.beta1-2.4

Updated by Vincent MEMBRÉ 4 months ago Actions #12

This bug has been fixed in Rudder plugin node-external-reports v9.1.0.beta1-2.1

Updated by Vincent MEMBRÉ 4 months ago Actions #13

This bug has been fixed in Rudder plugin openscap v9.1.0.beta1-2.2

Updated by Vincent MEMBRÉ 4 months ago Actions #14

This bug has been fixed in Rudder plugin scale-out-relay v9.1.0.beta1-2.1

Updated by Vincent MEMBRÉ 3 months ago Actions #15

  • Status changed from Pending release to Released
Actions

Also available in: PDF Atom