Skip to content

Commit 2676174

Browse files
authored
Merge pull request #469 from brenuart/gh468
Configure M2E to ignore executions of the maven-license-plugin
2 parents 8b62c21 + cbc9114 commit 2676174

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

pom.xml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,34 @@
384384
</links>
385385
</configuration>
386386
</plugin>
387+
388+
<!-- This plugin's configuration is used to store Eclipse m2e settings only.
389+
It has no influence on the Maven build itself.
390+
-->
391+
<plugin>
392+
<groupId>org.eclipse.m2e</groupId>
393+
<artifactId>lifecycle-mapping</artifactId>
394+
<version>1.0.0</version>
395+
<configuration>
396+
<lifecycleMappingMetadata>
397+
<pluginExecutions>
398+
<pluginExecution>
399+
<pluginExecutionFilter>
400+
<groupId>com.mycila.maven-license-plugin</groupId>
401+
<artifactId>maven-license-plugin</artifactId>
402+
<versionRange>[1.9.0,)</versionRange>
403+
<goals>
404+
<goal>format</goal>
405+
</goals>
406+
</pluginExecutionFilter>
407+
<action>
408+
<ignore></ignore>
409+
</action>
410+
</pluginExecution>
411+
</pluginExecutions>
412+
</lifecycleMappingMetadata>
413+
</configuration>
414+
</plugin>
387415
</plugins>
388416
</pluginManagement>
389417
</build>

0 commit comments

Comments
 (0)