You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by le...@apache.org on 2019/07/04 02:00:14 UTC
[incubator-datasketches-memory] branch master updated: try to fix
maven warning: can't find lifecycle-mapping jar.
This is an automated email from the ASF dual-hosted git repository.
leerho pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-datasketches-memory.git
The following commit(s) were added to refs/heads/master by this push:
new e4bc4ae try to fix maven warning: can't find lifecycle-mapping jar.
e4bc4ae is described below
commit e4bc4ae108641495854661c70d6e620115f9693b
Author: Lee Rhodes <le...@users.noreply.github.com>
AuthorDate: Wed Jul 3 19:00:01 2019 -0700
try to fix maven warning: can't find lifecycle-mapping jar.
---
pom.xml | 80 +++++++++++++++++++++++++++++++++++++----------------------------
1 file changed, 46 insertions(+), 34 deletions(-)
diff --git a/pom.xml b/pom.xml
index b234e26..3331c21 100644
--- a/pom.xml
+++ b/pom.xml
@@ -397,47 +397,60 @@ under the License.
</plugin>
</plugins>
- <pluginManagement>
- <plugins>
- <!-- Ignore nuisance warning from Apache parent plugin:
- "maven-remote-resources-plugin (goal "process") is ignored by m2e" -->
- <plugin>
- <groupId>org.eclipse.m2e</groupId>
- <artifactId>lifecycle-mapping</artifactId>
- <version>${lifecycle-mapping.version}</version>
- <configuration>
- <lifecycleMappingMetadata>
- <pluginExecutions>
- <pluginExecution>
- <pluginExecutionFilter>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-remote-resources-plugin</artifactId>
- <versionRange>[1.0,)</versionRange>
- <goals>
- <goal>process</goal>
- </goals>
- </pluginExecutionFilter>
- <action>
- <ignore>
- </ignore>
- </action>
- </pluginExecution>
- </pluginExecutions>
- </lifecycleMappingMetadata>
- </configuration>
- </plugin>
- </plugins>
- </pluginManagement>
-
</build>
<profiles>
+ <!-- Ignore nuisance warning from Apache parent plugin:
+ "maven-remote-resources-plugin (goal "process") is ignored by m2e".
+ This also should fix the Maven warning that it can't find the lifecycle-mapping jar
+ -->
+ <profile>
+ <id>m2e</id>
+ <!-- This profile is only active when the property "m2e.version"
+ is set, which is the case when building in Eclipse with m2e. -->
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ </activation>
+ <build>
+ <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-remote-resources-plugin</artifactId>
+ <versionRange>[1.0,)</versionRange>
+ <goals>
+ <goal>process</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <!-- ignore: tells m2eclipse to skip the execution. -->
+ <ignore />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+
<profile>
<id>strict</id>
<build>
<pluginManagement>
<plugins>
-
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -456,7 +469,6 @@ under the License.
</dependency>
</dependencies>
</plugin>
-
</plugins>
</pluginManagement>
</build>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org