Closed gonzalocalvo91 closed 6 years ago
I don't quite understand the case here.
What property are you referring to? A property within the maven project or a property within the jaxb2 maven plugin (i.e. source property)?
The property "generateDirectory" from the jaxb2 plugin.
There is no supported property named generateDirectory
. Please refer to the documentation page below for supported properties within the plugin.
http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.4/plugin-info.html
It exists, and it works (but not properly) and you can see it referenced here:
https://github.com/highsource/maven-jaxb2-plugin/wiki/Configuration-Cheat-Sheet
That link is to the Highsource JAXB2 Maven plugin. This codebase is the JAXB2-Maven-Plugin from Mojohaus - which is another JAXB2 plugin.
I would recommend taking the Mojohaus plugin for a spin. Please refer to the documentation link I provided above.
Hello, I executed the plugin with pointing to one of my folders. Then I removed the property and it kept creating the sources in the directory I was pointing at before. The problem was solved including the property again with the value "${project.basedir}/src/main/java". My guess is the value is being kept after removing the property instead of reverting to the default one.
Cheers.