java - Maven - Is an input file for source generating a source or a resource? -
i have project generates classes. project requires input json defines schema, models, ... these classes.
in maven world, should input file considered source or resource?
i think it's better sonsider complete paths. resource src/main/resources
. source you'll need somethin src/main/<here>
. should src/main/json
? not right me i'd opt src/main/resources
.
update xml schemas in modules use jaxb schema compiler (xjc) put in src/main/resources
, in src/main/schema
.
Comments
Post a Comment