diff --git a/plugin/pom.xml b/plugin/pom.xml index d8784b0f..949f8b02 100644 --- a/plugin/pom.xml +++ b/plugin/pom.xml @@ -140,7 +140,7 @@ wildfly-plugin-tools - * + org.wildfly.core * diff --git a/plugin/src/main/java/org/wildfly/plugin/provision/ProvisionServerMojo.java b/plugin/src/main/java/org/wildfly/plugin/provision/ProvisionServerMojo.java index 36aff535..3fa319b3 100644 --- a/plugin/src/main/java/org/wildfly/plugin/provision/ProvisionServerMojo.java +++ b/plugin/src/main/java/org/wildfly/plugin/provision/ProvisionServerMojo.java @@ -8,6 +8,9 @@ import org.apache.maven.plugin.MojoExecutionException; import org.apache.maven.plugin.MojoFailureException; +import org.apache.maven.plugins.annotations.LifecyclePhase; +import org.apache.maven.plugins.annotations.Mojo; +import org.apache.maven.plugins.annotations.ResolutionScope; /** * Provision a server. @@ -15,8 +18,7 @@ * @author jfdenise * @since 3.0 */ -// @Mojo(name = "provision", requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, defaultPhase = -// LifecyclePhase.PACKAGE) +@Mojo(name = "provision", requiresDependencyResolution = ResolutionScope.COMPILE_PLUS_RUNTIME, defaultPhase = LifecyclePhase.PACKAGE) public class ProvisionServerMojo extends AbstractProvisionServerMojo { @Override diff --git a/tests/domain-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java b/tests/domain-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java index 5552d3f3..f07c26ac 100644 --- a/tests/domain-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java +++ b/tests/domain-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java @@ -7,12 +7,10 @@ import java.nio.file.Path; import org.apache.maven.plugin.Mojo; -import org.junit.Ignore; import org.junit.Test; import org.wildfly.plugin.tests.AbstractProvisionConfiguredMojoTestCase; import org.wildfly.plugin.tests.AbstractWildFlyMojoTest; -@Ignore public class ProvisionTest extends AbstractProvisionConfiguredMojoTestCase { public ProvisionTest() { diff --git a/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java b/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java index 96435c47..1ea72aa0 100644 --- a/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java +++ b/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ProvisionTest.java @@ -7,12 +7,10 @@ import java.nio.file.Path; import org.apache.maven.plugin.Mojo; -import org.junit.Ignore; import org.junit.Test; import org.wildfly.plugin.tests.AbstractProvisionConfiguredMojoTestCase; import org.wildfly.plugin.tests.AbstractWildFlyMojoTest; -@Ignore public class ProvisionTest extends AbstractProvisionConfiguredMojoTestCase { public ProvisionTest() {