From 34200d832721192929132b5c9d6829eb7d6c844d Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sun, 10 Jul 2022 15:15:26 +0200 Subject: [PATCH] Move Eclipse m2e configuration to a profile (#13098) This prevents the following warnings when executing: `mvn i18n:generate-default-translations` [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is missing, no dependency information available [WARNING] Failed to retrieve plugin descriptor for org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of its dependencies could not be resolved: org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 was not found in https://openhab.jfrog.io/openhab/libs-snapshot during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of openhab-snapshot has elapsed or updates are forced Signed-off-by: Wouter Born --- pom.xml | 177 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 95 insertions(+), 82 deletions(-) diff --git a/pom.xml b/pom.xml index 3e7cb0f6e..7fdaaa9e8 100644 --- a/pom.xml +++ b/pom.xml @@ -443,88 +443,6 @@ Import-Package: \\ - - - - org.eclipse.m2e - lifecycle-mapping - 1.0.0 - - - - - - org.apache.karaf.tooling - karaf-maven-plugin - [4.2.1,) - - features-generate-descriptor - verify - - - - - - - - - org.codehaus.mojo - exec-maven-plugin - [1.4.0,) - - java - - - - - - - - - biz.aQute.bnd - bnd-indexer-maven-plugin - [3.1.0,) - - index - local-index - - - - - - - - - org.commonjava.maven.plugins - directory-maven-plugin - [1.0,) - - directory-of - - - - - - - - - org.apache.maven.plugins - maven-dependency-plugin - [3.0.0,) - - unpack - unpack-dependencies - - - - - - - - - - - org.openhab.core.tools i18n-maven-plugin @@ -703,6 +621,101 @@ Import-Package: \\ + + eclipse-m2e + + + m2e.version + + + + + + + + + org.eclipse.m2e + lifecycle-mapping + 1.0.0 + + + + + + org.apache.karaf.tooling + karaf-maven-plugin + [4.2.1,) + + features-generate-descriptor + verify + + + + + + + + + org.codehaus.mojo + exec-maven-plugin + [1.4.0,) + + java + + + + + + + + + biz.aQute.bnd + bnd-indexer-maven-plugin + [3.1.0,) + + index + local-index + + + + + + + + + org.commonjava.maven.plugins + directory-maven-plugin + [1.0,) + + directory-of + + + + + + + + + org.apache.maven.plugins + maven-dependency-plugin + [3.0.0,) + + unpack + unpack-dependencies + + + + + + + + + + + + + + skip-check