Menu
  • HOME
  • TAGS

Maven Xmlbeans Plugin - Generate & Retain files for specified schemas

maven,maven-3,xmlbeans,xmlbeans-maven-plugin

Maven xmlbeans plugin binds by default to the lifecycle phase: generate-sources. You will need to bind clean goal of the clean plugin to the above lifecycle phase. Refer to the link - Remove or delete resource files from target directory using pom file Configuration will be like this: <execution> <id>clean-autogenerated-code</id>...