Closed delanym closed 9 months ago
Try <artifactId>hisrc-higherjaxb-maven-plugin</artifactId>
, it is the current JAXB spec (which at this time is higherjaxb40
) but includes the missing jcl-over-slf4j
dependency.
I've determined that the jcl-over-slf4j
dependency is missing from hisrc-higherjaxb40-maven-plugin
(and higherjaxb23
, higherjaxb30
). The issue occurs when a parameterized option like setters-mode=direct
is used. The issue is triggered by a call to org.apache.commons.beanutils.ConvertUtilsBean
. I'll add the missing dependency. Until the next release, you can add the following to the higherjaxb40
plugin dependencies in your POM.
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>2.0.7</version>
</dependency>
The fix for hisrc-higherjaxb40-maven-plugin
(and higherjaxb23
, higherjaxb30
) is available in HiSrc BasicJAXB Release 2.2.0.
With
on Maven 3.9.4 I get
Execution jaxb-xjc of goal org.patrodyne.jvnet:hisrc-higherjaxb40-maven-plugin:2.1.1:generate failed: A required class was missing while executing org.patrodyne.jvnet:hisrc-higherjaxb40-maven-plugin:2.1.1:generate: org/apache/commons/logging/LogFactory