Skip to content

Commit

Permalink
build: ignore most tycho plugin goals in m2e as Eclipse should build the
Browse files Browse the repository at this point in the history
tycho plugins on its own and not with m2e.
  • Loading branch information
NiklasRentzCAU committed Sep 4, 2023
1 parent dc6a768 commit 4445b8d
Showing 1 changed file with 71 additions and 0 deletions.
71 changes: 71 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,77 @@
</dependency>
</dependencies>
</plugin -->

<!-- Configure Eclipse m2e to ignore certain plugin goals when integrating Maven build
settings into Eclipse. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<versionRange>${tycho-version}</versionRange>
<goals>
<goal>compile</goal>
<goal>testCompile</goal>
<goal>validate-classpath</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<versionRange>${tycho-version}</versionRange>
<goals>
<goal>build-qualifier</goal>
<goal>build-qualifier-aggregator</goal>
<goal>validate-id</goal>
<goal>validate-version</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<versionRange>[3.0.0,)</versionRange>
<goals>
<goal>clean</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore/>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<versionRange>[2.7.3,)</versionRange>
<goals>
<goal>target-platform</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit 4445b8d

Please sign in to comment.