hello
i have one java maven proyecto.
into this proyect i have one dir myconf with the conf files
whe i make the jar install (mvn clean install) it creates the jar files
with the code but no the con files.
the structure is:
myproyecto
|-src/java/main/.
|-myconf
|-miconf.properties
You shouldn't really configure a new resources folder (with an hard-coded
path) for this. Just use the standard src/main/resources and put your
config folder there with it's files. If you want filtering you need to
configure that though, but start without that and make sure you get what
you want
Hi Aitor,
You should place all your configuration files under src/main/resources. For
example: src/main/resources/myconf/myconf.properties. All files under
src/main/resources will get packaged into your artifact's jar file.
Furthermore, all your test resources should be placed (likewise) under