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/08/31 20:45:09 UTC

[datasketches-java] branch Memory2-Fix-Tests created (now 196ab62)

This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a change to branch Memory2-Fix-Tests
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git.


      at 196ab62  Add JPMS arguments to surefire plugin in Java9+

This branch includes the following new commits:

     new 196ab62  Add JPMS arguments to surefire plugin in Java9+

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


[datasketches-java] 01/01: Add JPMS arguments to surefire plugin in Java9+

Posted by dc...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

dcromberge pushed a commit to branch Memory2-Fix-Tests
in repository https://gitbox.apache.org/repos/asf/datasketches-java.git

commit 196ab62c3e782d55b9fd29f0d27f61def75f5aed
Author: David Cromberge <da...@gmail.com>
AuthorDate: Tue Aug 31 21:44:58 2021 +0100

    Add JPMS arguments to surefire plugin in Java9+
---
 pom.xml | 33 ++++++++++++++++++++++++++++++++-
 1 file changed, 32 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 99a4cc8..4a31639 100644
--- a/pom.xml
+++ b/pom.xml
@@ -339,7 +339,7 @@ under the License.
             <trimStackTrace>false</trimStackTrace>
             <useManifestOnlyJar>false</useManifestOnlyJar>
             <redirectTestOutputToFile>true</redirectTestOutputToFile>
-            <reportsDirectory>./target/test-output/${maven.build.timestamp}</reportsDirectory>
+            <reportsDirectory>${project.build.directory}/test-output/${maven.build.timestamp}</reportsDirectory>
           </configuration>
         </plugin>
 
@@ -659,5 +659,36 @@ under the License.
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>java9plus</id>
+      <activation>
+        <jdk>[9,)</jdk>
+      </activation>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <!-- Apache Parent pom, pluginManagement-->
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-surefire-plugin</artifactId>
+              <version>${maven-surefire-plugin.version}</version>
+              <configuration>
+                <trimStackTrace>false</trimStackTrace>
+                <useManifestOnlyJar>false</useManifestOnlyJar>
+                <redirectTestOutputToFile>true</redirectTestOutputToFile>
+                <reportsDirectory>${project.build.directory}/test-output/${maven.build.timestamp}</reportsDirectory>
+                <argLine>
+                  --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
+                  --add-exports java.base/jdk.internal.ref=ALL-UNNAMED
+                  --add-opens java.base/java.nio=ALL-UNNAMED
+                  --add-opens java.base/sun.nio.ch=ALL-UNNAMED
+                </argLine>
+              </configuration>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>
   </profiles>
 </project>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org