Skip to content

Commit b363299

Browse files
committed
ignore some plugin executions in eclipse
1 parent 528ae01 commit b363299

1 file changed

Lines changed: 53 additions & 0 deletions

File tree

pom.xml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,59 @@ under the License.
621621
</plugins>
622622
</build>
623623
</profile>
624+
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
625+
<profile>
626+
<id>only-eclipse</id>
627+
<activation>
628+
<property>
629+
<name>m2e.version</name>
630+
</property>
631+
</activation>
632+
<build>
633+
<pluginManagement>
634+
<plugins>
635+
<plugin>
636+
<groupId>org.eclipse.m2e</groupId>
637+
<artifactId>lifecycle-mapping</artifactId>
638+
<version>1.0.0</version>
639+
<configuration>
640+
<lifecycleMappingMetadata>
641+
<pluginExecutions>
642+
<pluginExecution>
643+
<pluginExecutionFilter>
644+
<groupId>org.apache.maven.plugins</groupId>
645+
<artifactId>maven-plugin-plugin</artifactId>
646+
<versionRange>[3.4,)</versionRange>
647+
<goals>
648+
<goal>descriptor</goal>
649+
<goal>helpmojo</goal>
650+
</goals>
651+
</pluginExecutionFilter>
652+
<action>
653+
<ignore></ignore>
654+
</action>
655+
</pluginExecution>
656+
<pluginExecution>
657+
<pluginExecutionFilter>
658+
<groupId>org.apache.rat</groupId>
659+
<artifactId>apache-rat-plugin</artifactId>
660+
<versionRange>[0.11,)</versionRange>
661+
<goals>
662+
<goal>check</goal>
663+
</goals>
664+
</pluginExecutionFilter>
665+
<action>
666+
<ignore></ignore>
667+
</action>
668+
</pluginExecution>
669+
</pluginExecutions>
670+
</lifecycleMappingMetadata>
671+
</configuration>
672+
</plugin>
673+
</plugins>
674+
</pluginManagement>
675+
</build>
676+
</profile>
624677
</profiles>
625678

626679
<reporting>

0 commit comments

Comments
 (0)