diff --git a/tycho-its/projects/eeProfile.custom/build/pom.xml b/tycho-its/projects/eeProfile.custom/build/pom.xml
index 14d46ce6d5..8b831db758 100644
--- a/tycho-its/projects/eeProfile.custom/build/pom.xml
+++ b/tycho-its/projects/eeProfile.custom/build/pom.xml
@@ -46,7 +46,7 @@
repo-with-test-runtime
- ${test-runtime-repo}
+ ${target-platform}
p2
diff --git a/tycho-its/projects/eeProfile.custom/repository/content.xml b/tycho-its/projects/eeProfile.custom/repository/content.xml
index f9389ae5c3..2fae91d1fd 100644
--- a/tycho-its/projects/eeProfile.custom/repository/content.xml
+++ b/tycho-its/projects/eeProfile.custom/repository/content.xml
@@ -212,6 +212,7 @@
+
diff --git a/tycho-its/src/test/java/org/eclipse/tycho/test/eeProfile/CustomProfileIntegrationTest.java b/tycho-its/src/test/java/org/eclipse/tycho/test/eeProfile/CustomProfileIntegrationTest.java
index e6184248cd..915211f536 100644
--- a/tycho-its/src/test/java/org/eclipse/tycho/test/eeProfile/CustomProfileIntegrationTest.java
+++ b/tycho-its/src/test/java/org/eclipse/tycho/test/eeProfile/CustomProfileIntegrationTest.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2012 SAP AG and others.
+ * Copyright (c) 2012, 2023 SAP AG and others.
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
@@ -27,14 +27,13 @@ public class CustomProfileIntegrationTest extends AbstractTychoIntegrationTest {
@Test
public void testBuildWithCustomProfile() throws Exception {
// reactor with a test bundle importing javax.activation;version="1.1.0"
- Verifier verifier = getVerifier("eeProfile.custom/build", false);
+ Verifier verifier = getVerifier("eeProfile.custom/build", true);
// repository where the custom EE is the only provider of
// javax.activation;version="1.1.0"
verifier.setSystemProperty("custom-profile-repo",
ResourceUtil.resolveTestResource("projects/eeProfile.custom/repository").toURI().toString());
- verifier.setSystemProperty("test-runtime-repo", ResourceUtil.P2Repositories.ECLIPSE_LATEST.toString());
verifier.executeGoal("verify");
verifier.verifyErrorFreeLog();