Vincent Massol wrote:
>I think a verifier plugin that simply verifies existence/nonexistence of
>files/dir and their contents would be a good first step.
>
>It could be configured with:
>
><configuration>
> <files>
> <file>
> <location>${basedir}/target/clover/clover.db</location>
> <contains>[enter a regexp here - This is optional]</contains>
> <test>exist (default)|notfound</test>
> </file>
> <file>[...]
> </files>
></configuration>
>
>
Also requires the hooks to remove the files beforehand. But sounds good
- do you think it is too verbose for configuration? Maybe better to
externalise it in files and use the configuration to point to that.
Will you be able to implement this? I hadn't seen it being ready for
alpha-2, though perhaps if it is required for proper mojo testing it
should be.
Ideally, the verifier could be converted to a mojo and used in both the
bootstrap and the m2 integration test phase for plugins.
>Could you please tell me where I can find the list of the existing lifecycle
>phases?
>
maven-core/src/main/resources/META-INF/plexus/components.xml (there
should be an older version of a doc in src/site/apt as well).
>This verifier plugin could be bound to a terminal phase.
>
>
There is meant to be an integration testing phase between package and
install, which is what you are looking for.
- Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]