Hello,

As I read from http://maven.apache.org/plugins/maven-clean-plugin/examples/delete_additional_files.html, "The Maven Clean Plugin will delete the target directory by default."

But I was wondering, is there any possibility to exclude some folders under the /target folder from the deleted directories? For example I would like to delete anything under /target besides the /target/src folder. I tried using the <excludes> with no success. I have some useful .java files in there. I know this isn't the best architecture, but I am using some code generators that could not be configured otherwise.


Many thanks in advance,

--
Bogdan MINCIU
Développeur
Tél Fr : +33 (0)177 35 35 23
Tél Ro : +40 (0)268 54 77 75
17, rue M. Kogalniceanu
500090 Brasov, ROMANIA
http://www.pentalog.ro


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to