Hi I am currently developing an eclipse RCP application and one of my features includes a few platform specific plugins. In other words some of those plugins have o/s flag equal to "win32" and some others "linux".
Having this flag breaks my maven build because when building the feature on windows it cannot see the linux plugins and vice-versa. Is there something I can specify in my pom.xml so that the RCP o/s flag is picked by maven ? Here is how my pom.xml looks like : <?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>group_id </groupId> <artifactId>artifact_id</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <repositories> <repository> <id>mars</id> <layout>p2</layout> <url>http://download.eclipse.org/releases/mars</url> </repository> <repository> <id>eclipse-cdt</id> <url>http://download.eclipse.org/tools/cdt/builds/luna/milestones/</url> <layout>p2</layout> </repository> <repository> <id>eclipse-pydev</id> <url>https://dl.bintray.com/fabioz/pydev/4.5.0</url> <layout>p2</layout> </repository> </repositories> <modules> <module> feature1 </module> <module> plugin1 of feature1 with windows o/s flag </module> <module> plugin2 of feature1 with linux o/s flag </module> </modules> <build> <plugins> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>tycho-maven-plugin</artifactId> <version>0.24.0</version> <extensions>true</extensions> </plugin> <plugin> <groupId>org.eclipse.tycho</groupId> <artifactId>target-platform-configuration</artifactId> <version>0.24.0</version> <configuration> <resolver>p2</resolver> <environments> <environment> <os>linux</os> <ws>gtk</ws> <arch>x86_64</arch> </environment> <environment> <os>linux</os> <ws>gtk</ws> <arch>x86</arch> </environment> <environment> <os>win32</os> <ws>win32</ws> <arch>x86_64</arch> </environment> <environment> <os>win32</os> <ws>win32</ws> <arch>x86</arch> </environment> </environments> </configuration> </plugin> </plugins> </build> </project> Thanks in advance, Rene