Varnishtest Maven Plugin

Goals available for this plugin:

GoalDescription
varnishtest:runRuns tests with varnishtest.

Or call mvn help:describe -Dplugin=com.zenika:varnishtest-maven-plugin to display parameter details in your command line interface.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Varnish3.0.x
Maven3.0
JDK1.6
MemoryNo minimum requirement.
Disk SpaceNo minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>com.zenika</groupId>
        <artifactId>varnishtest-maven-plugin</artifactId>
        <version>0.2</version>
        <executions>
          <execution>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

In a multi-module project you can configure the plugin in your parent POM:

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>com.zenika</groupId>
          <artifactId>varnishtest-maven-plugin</artifactId>
          <version>0.2</version>
          <executions>
            <execution>
              <goals>
                <goal>run</goal>
              </goals>
            </execution>
          </executions>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>com.zenika</groupId>
        <artifactId>varnishtest-maven-plugin</artifactId>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

For more information, see "Guide to Configuring Plug-ins"