maven plugin fails with "required class missing" errors

Description

The maven plugin fails with "required class missing" errors. I'm not sure but it looks like a JAXB class isn't included or something. v3.8.0 works, but v3.8.1 fails. Maven error is as follows:

{{[ERROR] Failed to execute goal org.liquibase:liquibase-maven-plugin:3.8.1:update (default-cli) on project platform: Execution default-cli of goal org.liquibase:liquibase-maven-plugin:3.8.1:update failed: A required class was missing while executing org.liquibase:liquibase-maven-plugin:3.8.1:update: javax/xml/bind/annotation/XmlElement
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.liquibase:liquibase-maven-plugin:3.8.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/.m2/repository/org/liquibase/liquibase-maven-plugin/3.8.1/liquibase-maven-plugin-3.8.1.jar
[ERROR] urls[1] = file:/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
[ERROR] urls[2] = file:/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[3] = file:/.m2/repository/org/liquibase/liquibase-core/3.8.1/liquibase-core-3.8.1.jar
[ERROR] urls[4] = file:/.m2/repository/org/yaml/snakeyaml/1.24/snakeyaml-1.24.jar
[ERROR] urls[5] = file:/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar
[ERROR] urls[6] = file:/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : javax.xml.bind.annotation.XmlElement
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.}}

Environment

Java11

Status

Reporter

Phillip Ross

Components

Fix versions

Affects versions

Priority

Major
Configure