title: How to generate enum from properties file in Maven?
body: <p>The original title was
  "How to generate enum from properties file using ant?"</p>
  
  <p>I want to iterate over all properties and generate enum class that have every property.</p>
  
  <p>Im thinking about writing custom task, but I think i would need to put it in extra jar :|</p>
  
  <p>im using maven and i want to do it in generate-sources phase.</p>