[ http://jira.codehaus.org/browse/MNG-348?page=all ]
Vincent Massol updated MNG-348: ------------------------------- Attachment: maven-verifier-plugin-workingversion1.zip First working version ready to be committed to SVN trunk. Works with m2 alpha 2 from SVN trunk. > Create Verifier plugin > ---------------------- > > Key: MNG-348 > URL: http://jira.codehaus.org/browse/MNG-348 > Project: m2 > Type: Task > Components: maven-plugins > Versions: 2.0-alpha-1 > Reporter: Vincent Massol > Assignee: Vincent Massol > Fix For: 2.0-alpha-2 > Attachments: maven-verifier-plugin-workingversion1.zip, > maven-verifier-plugin_try1.zip > > > Create a plugin that will allow verifying existence and contents of files and > directories. It could be used when performing integration tests, for example > when writing m2 plugins. It could be later on expanded for other types of > tests too. > The way it'll work is that it'll have a configuration similar to: > <verifications> > <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> > </verifications> > This file will be called verifications.xml (for example) in user's projects > and the plugin will look for it by default in > src/test/verifier/verifications.xml > This plugin will be bound to an integration testing phase that Brett will add > to maven-core/src/main/resources/META-INF/plexus/components.xml. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]