mardi 10 mai 2016

How can I test if the contents of a maven assembly dir are correct?

I am building a complex server (tomcat) structure via assembly, containing libs, deployments, datasource settings ...

I would like to test the contents of the dir/zip before deployment making sure that everything is there, in the right location and with the correct filtered properties.

How can I apply (unit) tests that analyse the dir and assert that certain files exists and have the correct content?

Aucun commentaire:

Enregistrer un commentaire