In order to use Moxy as JAXB Implementation, one has to add a file called jaxb.properties in the folder with the domain classes of the application and include the following line
javax.xml.bind.context.factory=org.eclipse.persistence.jaxb.JAXBContextFactory
Is it possible to make moxy the default for the project ? In case I have many different folders with annotated domain classes in which folder should I put this file?
See Question&Answers more detail:os