You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by dc...@apache.org on 2021/07/17 14:48:32 UTC
[datasketches-memory] 01/01: Update pom to fix eclipse warnings
This is an automated email from the ASF dual-hosted git repository.
dcromberge pushed a commit to branch fix-eclipse-warnings
in repository https://gitbox.apache.org/repos/asf/datasketches-memory.git
commit 5e906963b1a8def18b1fe8becff0463b1fbe01bc
Author: David Cromberge <dc...@apache.org>
AuthorDate: Sat Jul 17 15:48:16 2021 +0100
Update pom to fix eclipse warnings
---
.github/workflows/maven.yml | 7 +++++++
datasketches-memory-resources/pom.xml | 2 --
datasketches-memory/pom.xml | 27 +++++++++++++++++++++++++++
pom.xml | 32 ++++++++++++++++++++++++++++----
4 files changed, 62 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 38d3b47..87d1538 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -98,6 +98,13 @@ jobs:
run: >
java -version
+ - name: Compile
+ run: >
+ mvn clean compile
+ -Dmaven.javadoc.skip=true
+ -Dgpg.skip=true
+ --toolchains .github/workflows/.toolchains.xml
+
- name: Install Dependencies
run: >
mvn clean install
diff --git a/datasketches-memory-resources/pom.xml b/datasketches-memory-resources/pom.xml
index 44c2c79..bd54358 100644
--- a/datasketches-memory-resources/pom.xml
+++ b/datasketches-memory-resources/pom.xml
@@ -92,7 +92,6 @@
</dependencies>
<build>
- <pluginManagement>
<plugins>
<plugin>
@@ -120,7 +119,6 @@
</plugin>
</plugins>
- </pluginManagement>
</build>
</profile>
diff --git a/datasketches-memory/pom.xml b/datasketches-memory/pom.xml
index 15609cc..69734a0 100644
--- a/datasketches-memory/pom.xml
+++ b/datasketches-memory/pom.xml
@@ -28,6 +28,8 @@
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>23</version>
+ <!-- Bypass resolution within source directory and resolve parent from remote repository instead -->
+ <relativePath />
</parent>
<!-- datasketches-memory assembly module
@@ -373,6 +375,31 @@
</build>
</profile>
+ <profile>
+ <id>only-eclipse</id>
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-resource-bundles</id>
+ <phase>none</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+
</profiles>
</project>
diff --git a/pom.xml b/pom.xml
index fbe0779..97d5ab5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -421,7 +421,7 @@ under the License.
</jdkToolchain>
</configuration>
</plugin>
-
+
</plugins>
</pluginManagement>
<plugins>
@@ -469,9 +469,6 @@ under the License.
</build>
<profiles>
-
-
-
<!-- Disable source release assembly for 'apache-release' profile.
This is performed from a script outside Maven
-->
@@ -492,6 +489,33 @@ under the License.
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>only-eclipse</id>
+ <activation>
+ <property>
+ <name>m2e.version</name>
+ </property>
+ </activation>
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-remote-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>process-resource-bundles</id>
+ <phase>none</phase>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+ </profile>
+
+
</profiles>
<!-- This Maven project is divided into an aggregator project (the root), that manages a group of submodules that
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org