You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltaspike.apache.org by st...@apache.org on 2022/07/10 13:18:44 UTC

[deltaspike] branch master updated (a84d9273 -> ad9e5337)

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

struberg pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git


    from a84d9273 adding now working Weld3 profile back to the convenience build script
     new 6e9c4722 Use correct geronimo 2.0 spec with hibernate validator 6 series
     new ad9e5337 Add java 17 support with add opens to tests

The 2 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.


Summary of changes:
 deltaspike/parent/code/pom.xml |  2 +-
 deltaspike/parent/pom.xml      | 33 ++++++++++++++++++++++++++++++++-
 2 files changed, 33 insertions(+), 2 deletions(-)


[deltaspike] 01/02: Use correct geronimo 2.0 spec with hibernate validator 6 series

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

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git

commit 6e9c47225bd740af73cd4c42aff25325c9d7bc01
Author: Jeremy Landis <je...@hotmail.com>
AuthorDate: Sun Jul 3 23:07:07 2022 -0400

    Use correct geronimo 2.0 spec with hibernate validator 6 series
---
 deltaspike/parent/code/pom.xml | 2 +-
 deltaspike/parent/pom.xml      | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/deltaspike/parent/code/pom.xml b/deltaspike/parent/code/pom.xml
index b0f8f445..17c97094 100644
--- a/deltaspike/parent/code/pom.xml
+++ b/deltaspike/parent/code/pom.xml
@@ -257,7 +257,7 @@
             <properties>
                 <!-- Need newer implementations to be able to run on Java9+ -->
                 <bval.artifactId>bval-jsr</bval.artifactId>
-                <validation.artifactId>geronimo-validation_1.1_spec</validation.artifactId>
+                <validation.artifactId>geronimo-validation_2.0_spec</validation.artifactId>
                 <hibernate.validator.version>6.0.17.Final</hibernate.validator.version>
             </properties>
         </profile>
diff --git a/deltaspike/parent/pom.xml b/deltaspike/parent/pom.xml
index de87d780..a7f9b3c7 100644
--- a/deltaspike/parent/pom.xml
+++ b/deltaspike/parent/pom.xml
@@ -90,6 +90,7 @@
         <geronimo-el-2.2-spec.version>1.0.3</geronimo-el-2.2-spec.version>
         <geronimo-validation-1.0-spec.version>1.1</geronimo-validation-1.0-spec.version>
         <geronimo-validation-1.1-spec.version>1.0</geronimo-validation-1.1-spec.version>
+        <geronimo-validation-2.0-spec.version>1.1</geronimo-validation-2.0-spec.version>
         <geronimo-jpa-2.0-spec.version>1.1</geronimo-jpa-2.0-spec.version>
         <geronimo-jta-1.1-spec.version>1.1.1</geronimo-jta-1.1-spec.version>
 
@@ -531,6 +532,13 @@
                 <scope>provided</scope>
             </dependency>
 
+            <dependency>
+                <groupId>org.apache.geronimo.specs</groupId>
+                <artifactId>geronimo-validation_2.0_spec</artifactId>
+                <version>${geronimo-validation-2.0-spec.version}</version>
+                <scope>provided</scope>
+            </dependency>
+
             <dependency>
                 <groupId>org.apache.geronimo.specs</groupId>
                 <artifactId>geronimo-jpa_2.0_spec</artifactId>


[deltaspike] 02/02: Add java 17 support with add opens to tests

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

struberg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/deltaspike.git

commit ad9e533791ac9145a682a9120b03591854c2b195
Author: Jeremy Landis <je...@hotmail.com>
AuthorDate: Sun Jul 3 23:08:31 2022 -0400

    Add java 17 support with add opens to tests
    
    - Use surefire 2.22.2
    - Add opens for java.lang, java.util, and sun.rmi.transport
---
 deltaspike/parent/pom.xml | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/deltaspike/parent/pom.xml b/deltaspike/parent/pom.xml
index a7f9b3c7..994d0372 100644
--- a/deltaspike/parent/pom.xml
+++ b/deltaspike/parent/pom.xml
@@ -95,7 +95,7 @@
         <geronimo-jta-1.1-spec.version>1.1.1</geronimo-jta-1.1-spec.version>
 
         <maven.jetty.plugin.version>7.1.5.v20100705</maven.jetty.plugin.version>
-        <maven.surefire.plugin.version>2.19.1</maven.surefire.plugin.version>
+        <maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version>
         <maven.bundle.plugin.version>3.5.0</maven.bundle.plugin.version>
         <maven.jar.plugin.version>3.1.2</maven.jar.plugin.version>
         <maven.dependency.plugin.version>2.4</maven.dependency.plugin.version>
@@ -241,6 +241,29 @@
                 </plugins>
             </build>
         </profile>
+        <profile>
+            <id>jdk17+</id>
+            <activation>
+                <jdk>[17,)</jdk>
+            </activation>
+            <build>
+                <pluginManagement>
+                    <plugins>
+                        <plugin>
+                            <groupId>org.apache.maven.plugins</groupId>
+                            <artifactId>maven-surefire-plugin</artifactId>
+                            <configuration>
+                                <argLine>
+                                    --add-opens java.base/java.lang=ALL-UNNAMED
+                                    --add-opens java.base/java.util=ALL-UNNAMED
+                                    --add-opens java.rmi/sun.rmi.transport=ALL-UNNAMED
+                                </argLine>
+                            </configuration>
+                        </plugin>
+                    </plugins>
+                </pluginManagement>
+            </build>
+        </profile>
     </profiles>