jaxb2-maven-plugin
jaxb2-maven-plugin copied to clipboard
xjc targets not regenerated when target/generated-sources deleted
If target/generated-sources is deleted but .xsd files aren't touched, the targets are not regenerated. Instead, you get the message:
[INFO] No changes detected in schema or binding files - skipping JAXB generation.
Issue could be that the xjcstaleflag file is somehow present in the target folder..manually removing that and setting could solve the issue for the 1 next compile/code generation
@GaryAitken you might be running into #35 which was fixed by 2.3. I was having the same problem with an older version (2.2).