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
I got it working with maven-hyperjaxb3-plugin, generating UTF-8 files like i wanted, but it didnt with maven-jaxb2-plugin and hyperjaxb3-ejb-plugin . I got encoding issues with those plugins. I tried to set tag into pom.xml but didnt work.
Basic project template for Hibernate MAVEN (only that generated utf-8 java files)
Purchase order initial sample for Hibernate MAVEN (got encoding issue)
Purchase order build with maven-jaxb2-plugin MAVEN (got encoding issue)
Any tips about it?
Also, i realize that the source code generated with those projects are differents.
For example:
I would appreciate if questions were asked separately.
First of all, I'm not actively developing this project anymore, be aware of that.
Next, I'd definitely drop the maven-hypejaxb3-plugin. It just configures around maven-jaxb2-plugin, that's not enough added value from my POV. So better stick with maven-jaxb2-plugin/hyperjaxb3-ejb-plugin combo, you have better chances for updates then.
Next, when analyzing Maven problems it's always good to have mvn -X clean install log, both std as well as err.
You report differences between maven-hypejaxb3-plugin and maven-jaxb2-plugin/hyperjaxb3-ejb-plugin combo. I'd prefer not to analyze these for the following reasons:
There's actually no point doing this. Assume we'll find out why exactly these differences appear. What next? That won't help to fix the actual problem.
As I said maven-hypejaxb3-plugin is actually the same as maven-jaxb2-plugin/hyperjaxb3-ejb-plugin combo, just pre-configured. Differences are possible due to possibly different versions of the used dependencies and/or differences in configs.
Encoding: set project.build.sourceEncoding, see this. Alternatively just set encoding configuration property in maven-jaxb2-plugin (it uses project.build.sourceEncoding by default). I don't know why is this different, I don't see any relevant settings in templates vs. other projects.
Different code generated - I'd first think about different versions but that's hard to tell. Do you actually have a problem with this?
Hi, iam testing those projects from http://confluence.highsource.org/display/HJ3/Downloads to generate some java files from xsd.
I got it working with maven-hyperjaxb3-plugin, generating UTF-8 files like i wanted, but it didnt with maven-jaxb2-plugin and hyperjaxb3-ejb-plugin . I got encoding issues with those plugins. I tried to set tag into pom.xml but didnt work.
Any tips about it?
Also, i realize that the source code generated with those projects are differents.
For example:
with maven-hyperjaxb3-plugin generates this:
with maven-jaxb2-plugin and hyperjaxb3-ejb-plugin generates this:
so, whats happening?
Thanks
The text was updated successfully, but these errors were encountered: