diff --git a/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/OsgiBundleProject.java b/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/OsgiBundleProject.java index 25658ea171..5e62b263bc 100644 --- a/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/OsgiBundleProject.java +++ b/tycho-core/src/main/java/org/eclipse/tycho/core/osgitools/OsgiBundleProject.java @@ -563,6 +563,7 @@ private void applyBestOfCurrentOrConfiguredProfile(String configuredProfileName, if (configuredProfile != null) { // non standard profile, stick to it sink.setProfileConfiguration(configuredProfileName, reason); + return; } StandardExecutionEnvironment currentProfile = ExecutionEnvironmentUtils.getExecutionEnvironment( "JavaSE-" + Runtime.version().feature(), toolchainManager, mavenSession, logger);