[ERROR] Failed to execute goal net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1:halt (destroy-vagrant-vm) on project docker-basebox: Execution destroy-vagrant-vm of goal net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1:halt failed: Plugin net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Could not find artifact rubygems:vagrant:gem:1.0.7 in central (http://artifactory:8081/artifactory/plugins-release) -> [Help 1]
My pom.xml - hacked together from your example and some slices from the net.
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>gd.wa</groupId>
<artifactId>docker-basebox</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>docker-basebox</name>
<!-- See integration test example here http://nicoulaj.github.io/vagrant-maven-plugin/examples/running-a-vm-during-integration-tests.html -->
<build>
<plugins>
<plugin>
<groupId>net.ju-n.maven.plugins</groupId>
<artifactId>vagrant-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<!-- Before tests: import box, start VM -->
<execution>
<id>setup-and-start-vagrant-vm</id>
<phase>install</phase>
<goals>
<goal>box-add</goal>
</goals>
<configuration>
<box>docker-basebox</box>
<url>${project.basedir}/docker-basebox.box</url>
</configuration>
</execution>
<!-- After tests: shut down, destroy VM -->
<execution>
<id>destroy-vagrant-vm</id>
<phase>clean</phase>
<goals>
<goal>destroy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- put your configurations here -->
</configuration>
</plugin>
</plugins>
</build>
</project>
[ERROR] Failed to execute goal net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1:halt (destroy-vagrant-vm) on project docker-basebox: Execution destroy-vagrant-vm of goal net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1:halt failed: Plugin net.ju-n.maven.plugins:vagrant-maven-plugin:1.0.1 or one of its dependencies could not be resolved: Could not find artifact rubygems:vagrant:gem:1.0.7 in central (http://artifactory:8081/artifactory/plugins-release) -> [Help 1]
My pom.xml - hacked together from your example and some slices from the net.