You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 5, 2024. It is now read-only.
Having two executions, it seems plugin performs an incorrect resolution of directories an sources, because in the second execution (calypso) resolves the schemaDirectory of the first one (sercom).
Attached an extract of the pom.xml file (pom.extract.txt) and a build log file (build.log)
Please notice that the schemaDirectory resolved in the second executions is wrong.
[INFO] Invoking jaxb30:0.16.0:generate (calypso) @ hermes.client [INFO] Started execution. [INFO] Using new MavenCatalogResolver [INFO] EntityResolver using catalogResolver null [INFO] EntityResolver set to [org.jvnet.jaxb2.maven2.resolver.tools.ReResolvingEntityResolverWrapper - entityResolver=[org.jvnet.jaxb2.maven2.resolver.tools.MavenCatalogResolver - dependencyResourceResolver=org.jvnet.mjiip.v_3_0.XJC30Mojo@39c5a105; catalogManager=org.apache.xml.resolver.CatalogManager@492fa72a; log=org.apache.maven.monitor.logging.DefaultLog@513fab1e]] [INFO] schemaDirectory = /home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom [INFO] schemaIncludes = [*.xsd] [INFO] schemaExcludes = null [INFO] disableDefaultExcludes = false [INFO] BuildContext= org.sonatype.plexus.build.incremental.DefaultBuildContext@307af381 [INFO] Created scanner from buildContext: org.codehaus.plexus.util.DirectoryScanner@53d87b2d [INFO] Scanner included files: [configapp.restapi.xsd] [INFO] The resulting List is therefore: [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] schemaFiles (calced) = [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] getInputSources total [1: [[file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd]] [INFO] getInputSources of: file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd
Also, the build log offers the error: [ERROR] Could not find JAXB 2.x API classes. Make sure JAXB 2.x API is on the classpath.
even when using jaxb30-maven-plugin artifact.
Environment:
Problem Description:
Having two executions, it seems plugin performs an incorrect resolution of directories an sources, because in the second execution (calypso) resolves the schemaDirectory of the first one (sercom).
Attached an extract of the pom.xml file (pom.extract.txt) and a build log file (build.log)
Please notice that the schemaDirectory resolved in the second executions is wrong.
[INFO] Invoking jaxb30:0.16.0:generate (calypso) @ hermes.client [INFO] Started execution. [INFO] Using new MavenCatalogResolver [INFO] EntityResolver using catalogResolver null [INFO] EntityResolver set to [org.jvnet.jaxb2.maven2.resolver.tools.ReResolvingEntityResolverWrapper - entityResolver=[org.jvnet.jaxb2.maven2.resolver.tools.MavenCatalogResolver - dependencyResourceResolver=org.jvnet.mjiip.v_3_0.XJC30Mojo@39c5a105; catalogManager=org.apache.xml.resolver.CatalogManager@492fa72a; log=org.apache.maven.monitor.logging.DefaultLog@513fab1e]]
[INFO] schemaDirectory = /home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom
[INFO] schemaIncludes = [*.xsd] [INFO] schemaExcludes = null [INFO] disableDefaultExcludes = false [INFO] BuildContext= org.sonatype.plexus.build.incremental.DefaultBuildContext@307af381 [INFO] Created scanner from buildContext: org.codehaus.plexus.util.DirectoryScanner@53d87b2d [INFO] Scanner included files: [configapp.restapi.xsd] [INFO] The resulting List is therefore: [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] schemaFiles (calced) = [/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd] [INFO] getInputSources total [1: [[file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd]] [INFO] getInputSources of: file:/home/szarza/proyectos/cestel/hermes/client/src/main/bindings/sercom/configapp.restapi.xsd
Also, the build log offers the error:
[ERROR] Could not find JAXB 2.x API classes. Make sure JAXB 2.x API is on the classpath.
even when using jaxb30-maven-plugin artifact.
build.log
pom.extract.txt
The text was updated successfully, but these errors were encountered: