0

While using the tycho-source-feature-plugin in pom.xml, the name of the feature with .source is given under excludes. Is it possible to use the regular expression which excludes all the features with .source instead of giving the feature.

<plugin>
                <groupId>org.eclipse.tycho.extras</groupId>
                <artifactId>tycho-source-feature-plugin</artifactId>
                <version>${tycho-source-feature-plugin-Version}</version>
                <executions>
                    <execution>
                        <id>source-feature</id>
                        <phase>package</phase>
                        <goals>
                            <goal>source-feature</goal>
                        </goals>
                        <configuration>
                            <excludes>
                                <feature id="myfeature.source" />
                            </excludes>
                            <labelSuffix></labelSuffix>
                        </configuration>
                    </execution>
                </executions>
                <configuration>
                    <labelSuffix></labelSuffix>
                </configuration>
            </plugin>
Anonymous
  • 16
  • 3
  • What are you trying to achieve? It would help if you could provide some background on this. – oberlies Dec 09 '14 at 09:35
  • You are aware of the [documentation for the tycho-source-feature-plugin](http://www.eclipse.org/tycho/sitedocs-extras/tycho-source-feature-plugin/source-feature-mojo.html), right? – oberlies Dec 09 '14 at 09:35
  • I am maintaining the above configuration in parent pom.xml, I want to exclude the features which ends with .source, Instead of giving all the feature id which needs to be excluded, I just want to have regular expression which excludes all the feature.source.I Want to avoid using ,instead I need a common regular expression which should exclude both. – Anonymous Dec 09 '14 at 10:38
  • Yes, but what are these features that end in '.source'? Are they source features? If yes, then why do you then include them in the binary feature? – oberlies Dec 10 '14 at 07:46
  • Yes they are the source features. We need these source features to run the tests ( junit/window tester) – Anonymous Dec 10 '14 at 09:07

0 Answers0