Closed KroArtem closed 6 years ago
Please try to include:
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics-runtime</artifactId>
<version>...</version>
</dependency>
as dependency instead.
Actually the wording is correct in a sense that your project does not need to depend on org.jvnet.jaxb2_commons:jaxb2-basics
.
However, some plugins generate code which has a runtime dependency on org.jvnet.jaxb2_commons:jaxb2-basics-runtime
. I'll include that in the documentation.
1.11.1
was release by mistake, there's also 1.11.1-PUBLISHED-BY-MISTAKE
release to point to this fact.
I've updated the docs:
https://github.com/highsource/jaxb2-basics/wiki/Using-JAXB2-Basics-Plugins
Thanks for clarification!
In Using-JAXB2-Basics-Plugins wiki page it's said:
However if I do not define dependency, generating fails.
maven-jaxb2-plugin
0.14.0,jaxb2-basics
0.12.0This will not compile:
The same code with defined dependency will compile:
Either this is a bug or wiki page should be edited.