Problem building for a specific environment #2601
Unanswered
phermsdorf
asked this question in
Q&A
Replies: 1 comment 3 replies
-
You might want to let maven show you the effective pom, I think in this case you need to override the configuration from the parent: https://blog.sonatype.com/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/ |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
in my parent pom's pluginManagement section i have a target-platform-configuration like this:
in a profile i want to be able to just build for one environment (win32 in this case) and try to override that "global" configuration with:
when building with this profile enabled i get the following error message:
Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:3.0.4:package-feature(default-package-feature) on project com.godyo.p4.runtime.feature: Execution default-package-feature of goal org.eclipse.tycho:tycho-packaging-plugin:3.0.4:package-feature failed: eclipse-plugin artifact with ID "com.godyo.p5.ui.gtk.linux.x86_64" and version matching "0.0.0" was not found in the target platform
in the feature the plugin is defined with platform filters:
The plugin itself also has a platform filter in the MANIFEST.MF like this:
(& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_64))
Shouldn't this configuration work and just skip this plugin since it does not match the selected environment?
Thanks for any hints on this.
Bye Peter
Beta Was this translation helpful? Give feedback.
All reactions