Skip to content

ClassCastException when using this extension this in a multi module project #301

@DAGRSAG

Description

@DAGRSAG

Hi,

I'm using your extension in a huge multi module project. My Maven version is 3.8.6 (unchanged). I'm updated your extension from 7.1.2 to the newest one (9.7.0). Since that the following error occurs:

[exec] Caused by: java.lang.ClassCastException: class org.codehaus.plexus.util.xml.Xpp3Dom cannot be cast to class org.codehaus.plexus.util.xml.Xpp3Dom (org.codehaus.plexus.util.xml.Xpp3Dom is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @13221655; org.codehaus.plexus.util.xml.Xpp3Dom is in unnamed module of loader org.codehaus.plexus.classworlds.realm.ClassRealm @6d9fb2d1)
     [exec]     at me.qoomon.maven.gitversioning.GitVersioningModelProcessor.lambda$addBuildPlugin$11 (GitVersioningModelProcessor.java:613)

Before the version update everything worked fine

The code changes were added from 9.3.1 to 9.3.2 83a015e and related to #171

Best regards
Daniel

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions