| Summary: | Platform filter did not match: (&(osgi.os=linux) (osgi.arch=x86)) | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | stevetsh <steve.tshibangu-mutshi.1> |
| Component: | Tycho | Assignee: | Project Inbox <tycho-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | igor |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
If I understood your scenario correctly, integration test [1] covers this exact case so please check if your project has correct target environment configuration in pom.xml file. If you still believe this is a bug or a missing feature, please reopen but make sure to attach complete standalone sample project and steps to reproduce the problem. [1] https://github.com/sonatype/sonatype-tycho/tree/master/tycho-its/projects/TYCHO242multiplatformReactor |
Build Identifier: Hello, I am using Bundles base on fragment from org.vtk. The plugins created are {org.vtk.win32, org.vtk.linux_x86, org.vtk.linux_x86_64} when I specify it on the MANIFEST file (& (osgi.ws=win32) (osgi.os=win32) (osgi.arch=x86)), then run them with Maven3/Tycho; I get an error "Platform filter did not match"; Here is the full error message: [ERROR] Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle org.vtk.linux.x86 cannot be resolved [ERROR] Resolution errors: [ERROR] Bundle org.vtk.linux.x86 - Platform filter did not match: (&(osgi.os=linux) (osgi.arch=x86)) [ERROR] -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle org.vtk.linux.x86 cannot be resolved Resolution errors: Bundle org.vtk.linux.x86 - Platform filter did not match: (&(osgi.os=linux) (osgi.arch=x86)) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:168) at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) Caused by: java.lang.RuntimeException: org.osgi.framework.BundleException: Bundle org.vtk.linux.x86 cannot be resolved Reproducible: Always Steps to Reproduce: 1. create Bundles based on fragment (e.g.: org.vtk.linux_x86) 2. run mvn org.sonatype.tycho:maven-tycho-plugin:generate-poms -DgroupId=$prjName 3. run mvn clean install -Dtycho.targetPlatform=$ECLIPSE