Skip to content

Commit

Permalink
Merge pull request #27218 from Sgitario/fix_jaxb_package_info
Browse files Browse the repository at this point in the history
JAXB: Not bound classes annotated with XmlSchema to the JaxbContext
  • Loading branch information
gsmet committed Aug 11, 2022
2 parents ad576b7 + 89499a7 commit 6194c06
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Expand Up @@ -211,8 +211,6 @@ void processAnnotationsAndIndexFiles(
String className = xmlSchemaInstance.target().asClass().name().toString();

reflectiveClass.produce(new ReflectiveClassBuildItem(false, false, className));

classesToBeBound.add(className);
}
}

Expand Down
@@ -0,0 +1,10 @@
/**
* The inclusion of this file is to verify that the produced JAXBContext works fine with it, otherwise the build fails.
*/
@XmlSchema(namespace = "http://abc.com", xmlns = {
@XmlNs(prefix = "abc", namespaceURI = "http://abc.com")
})
package io.quarkus.jaxb.deployment.info;

import javax.xml.bind.annotation.XmlNs;
import javax.xml.bind.annotation.XmlSchema;

0 comments on commit 6194c06

Please sign in to comment.