-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Not sure what you are generating the sources from, but for generated
SOAP client code, we usually build this as a separate module (jar) and
have our code depend on it - saves us generating code all the time.

For other generated code (from the source tree for example) we have
taken the approach that a clean command should remove them *all* to
ensure consistency in the final artifact.  If some code lived through a
clean cycle, we argued that it could potentially cause unwanted
side-effects.

Just my two cents,

Cheers,

Johan

Bogdan Minciu wrote:
> 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,
> 

- --
you too?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ2bPMpHYnED7evioRAqH7AJ92CT5bNRLLtSsV9UBTA+v3QadJxgCeOeNE
BS1twPO7tXYZIVQlQkU8xr4=
=B+KC
-----END PGP SIGNATURE-----

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

Reply via email to