jaxb2-maven-plugin icon indicating copy to clipboard operation
jaxb2-maven-plugin copied to clipboard

xjc targets not regenerated when target/generated-sources deleted

Open GaryAitken opened this issue 8 years ago • 2 comments

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.

GaryAitken avatar Jan 18 '17 03:01 GaryAitken

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

ghost avatar Jan 04 '18 08:01 ghost

@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).

ghost avatar Jun 07 '19 20:06 ghost