Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-348

Create Verifier plugin

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha-1
    • 2.0-alpha-2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            brett Brett Porter
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment