Fork me on GitHub

Usage

To use vagrant-maven-plugin as a part of your project build, declare it as any other plugin:

<project>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>net.ju-n.maven.plugins</groupId>
        <artifactId>vagrant-maven-plugin</artifactId>
        <version>1.0.2</version>
        <executions>
          <execution>
            <goals>
              <goal><!-- put the goal name here --></goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <!-- put your configurations here -->
        </configuration>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

See the examples sections for concrete examples of use.