diff --git a/embedded/embedded-test/src/test/java/org/mule/runtime/module/embedded/DomainTestCase.java b/embedded/embedded-test/src/test/java/org/mule/runtime/module/embedded/DomainTestCase.java
index 6ed10c9526c..d00b8daa890 100644
--- a/embedded/embedded-test/src/test/java/org/mule/runtime/module/embedded/DomainTestCase.java
+++ b/embedded/embedded-test/src/test/java/org/mule/runtime/module/embedded/DomainTestCase.java
@@ -24,12 +24,15 @@
import java.io.File;
import java.nio.file.Paths;
+import java.util.Properties;
import io.qameta.allure.Description;
import io.qameta.allure.Feature;
import io.qameta.allure.Features;
import io.qameta.allure.Stories;
import io.qameta.allure.Story;
+
+import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
@@ -40,11 +43,18 @@ public class DomainTestCase extends AbstractEmbeddedTestCase {
@Rule
public DynamicPort dynamicPort = new DynamicPort("httpPort");
+ @Before
+ public void installSmartConnectorUsingCore() {
+ BundleDescriptor connectorBundleDescriptor = getExtensionBundleDescriptor("smart-connector-using-core");
+ final Properties props = new Properties();
+ // Skip the enforcer to allow using SNAPSHOT versions of the extensions-maven-plugin
+ props.put("enforcer.skip", "true");
+ installMavenArtifact(getExtensionFolder("smart-connector-using-core"), connectorBundleDescriptor, props);
+ }
+
@Description("Embedded deploys a domain and an application associated to that domain")
@Test
public void domainWithHttpConnector() throws Exception {
- BundleDescriptor connectorBundleDescriptor = getExtensionBundleDescriptor("smart-connector-using-core");
- installMavenArtifact(getExtensionFolder("smart-connector-using-core"), connectorBundleDescriptor);
BundleDescriptor domainBundleDescriptor = getDomainBundleDescriptor("simple-domain");
doWithinDomain(domainBundleDescriptor, getDomainFolder("simple-domain"), port -> {
BundleDescriptor appBundleDescriptor = getApplicationBundleDescriptor("http-echo-domain-app", empty());
@@ -58,8 +68,6 @@ public void domainWithHttpConnector() throws Exception {
@Description("Embedded deploys a domain and an associated application that contains an xml sdk operation")
@Test
public void domainWithXmlSdkConfig() throws Exception {
- BundleDescriptor connectorBundleDescriptor = getExtensionBundleDescriptor("smart-connector-using-core");
- installMavenArtifact(getExtensionFolder("smart-connector-using-core"), connectorBundleDescriptor);
BundleDescriptor domainBundleDescriptor = getDomainBundleDescriptor("simple-domain");
doWithinDomain(domainBundleDescriptor, getDomainFolder("simple-domain"), port -> {
BundleDescriptor appBundleDescriptor = getApplicationBundleDescriptor("xml-sdk-domain-app", empty());
@@ -76,8 +84,6 @@ public void deployUndeployDomain() throws Exception {
runWithContainer(container -> {
try {
testWithSystemProperty("httpPort", dynamicPort.getValue(), () -> {
- BundleDescriptor connectorBundleDescriptor = getExtensionBundleDescriptor("smart-connector-using-core");
- installMavenArtifact(getExtensionFolder("smart-connector-using-core"), connectorBundleDescriptor);
BundleDescriptor domainBundleDescriptor = getDomainBundleDescriptor("simple-domain");
File domainFile = installMavenArtifact(getDomainFolder("simple-domain"), domainBundleDescriptor);
container.getDeploymentService().deployDomain(ArtifactConfiguration.builder().artifactLocation(domainFile).build());
diff --git a/embedded/embedded-test/src/test/resources/artifacts/extensions/smart-connector-using-core/pom.xml b/embedded/embedded-test/src/test/resources/artifacts/extensions/smart-connector-using-core/pom.xml
index a144af443c2..2422cbf9ad1 100644
--- a/embedded/embedded-test/src/test/resources/artifacts/extensions/smart-connector-using-core/pom.xml
+++ b/embedded/embedded-test/src/test/resources/artifacts/extensions/smart-connector-using-core/pom.xml
@@ -6,7 +6,7 @@
org.mule.extensions
mule-modules-parent
- 1.3.1
+ 1.6.0-SNAPSHOT
1.0.0
@@ -19,17 +19,4 @@
../../formatter.xml
-
-
-
-
- org.mule.runtime.plugins
- mule-extensions-maven-plugin
-
- 1.4.0
- true
-
-
-
-