[java-idp-integration-tests] 01/04: Cleanup Maven POM warnings for Eclipse

Tom Zeller tzeller at dragonacea.biz
Tue Jul 9 23:54:43 UTC 2024


This is an automated email from the git hooks/post-receive script.

tzeller pushed a commit to branch main
in repository java-idp-integration-tests.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=5af1d5a0df07aecc992c8c531dc8008bc3313437

commit 5af1d5a0df07aecc992c8c531dc8008bc3313437
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Tue Jul 9 18:21:05 2024 -0500

    Cleanup Maven POM warnings for Eclipse
    
    Use new syntax to simplify lifecycle mappings for plugin execution :
    
    https://eclipse.dev/m2e/documentation/release-notes-17.html#new-syntax-for-specifying-lifecycle-mapping-metadata
---
 pom.xml | 45 +++++++++------------------------------------
 1 file changed, 9 insertions(+), 36 deletions(-)

diff --git a/pom.xml b/pom.xml
index ea81dd6..3b82b41 100644
--- a/pom.xml
+++ b/pom.xml
@@ -630,45 +630,18 @@
                 </property>
             </activation>
             <build>
+                <!-- Ignore Eclipse lifecycle mapping warnings -->
                 <pluginManagement>
                     <plugins>
                         <plugin>
-                            <groupId>org.eclipse.m2e</groupId>
-                            <artifactId>lifecycle-mapping</artifactId>
-                            <version>1.0.0</version>
-                            <configuration>
-                                <lifecycleMappingMetadata>
-                                    <pluginExecutions>
-                                        <pluginExecution>
-                                            <pluginExecutionFilter>
-                                                <groupId>org.apache.maven.plugins</groupId>
-                                                <artifactId>maven-dependency-plugin</artifactId>
-                                                <versionRange>[2.8,)</versionRange>
-                                                <goals>
-                                                    <goal>unpack</goal>
-                                                    <goal>copy</goal>
-                                                </goals>
-                                            </pluginExecutionFilter>
-                                            <action>
-                                                <ignore />
-                                            </action>
-                                        </pluginExecution>
-                                        <pluginExecution>
-                                            <pluginExecutionFilter>
-                                                <groupId>org.apache.maven.plugins</groupId>
-                                                <artifactId>maven-clean-plugin</artifactId>
-                                                <versionRange>[2.5,)</versionRange>
-                                                <goals>
-                                                    <goal>clean</goal>
-                                                </goals>
-                                            </pluginExecutionFilter>
-                                            <action>
-                                                <ignore />
-                                            </action>
-                                        </pluginExecution>
-                                    </pluginExecutions>
-                                </lifecycleMappingMetadata>
-                            </configuration>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-dependency-plugin</artifactId>
+                            <?m2e ignore?>
+                        </plugin>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-antrun-plugin</artifactId>
+                            <?m2e ignore?>
                         </plugin>
                     </plugins>
                 </pluginManagement>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list