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

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

commit d053ee6da39944c82767feda33299d6d6f79d037
Author: Richard Zowalla <[email protected]>
AuthorDate: Wed May 11 20:47:51 2022 +0200

    TOMEE-3957 - Modernizes TomEE :: Examples :: DeltaSpike @ConfigProperty - 
Requires DeltaSpike Update
---
 examples/deltaspike-configproperty/pom.xml | 49 +++++++++++++++++++++++++++---
 1 file changed, 44 insertions(+), 5 deletions(-)

diff --git a/examples/deltaspike-configproperty/pom.xml 
b/examples/deltaspike-configproperty/pom.xml
index 29985267c5..4a077424ad 100644
--- a/examples/deltaspike-configproperty/pom.xml
+++ b/examples/deltaspike-configproperty/pom.xml
@@ -25,7 +25,7 @@
   <name>TomEE :: Examples :: DeltaSpike @ConfigProperty</name>
   <properties>
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    <version.deltaspike>1.9.3</version.deltaspike>
+    <version.deltaspike>1.9.6</version.deltaspike>
   </properties>
   <build>
     <defaultGoal>install</defaultGoal>
@@ -33,13 +33,12 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
-        <version>3.5.1</version>
+        <version>3.10.1</version>
         <configuration>
-          <source>1.8</source>
-          <target>1.8</target>
+          <source>11</source>
+          <target>11</target>
         </configuration>
       </plugin>
-      
     </plugins>
   </build>
   <repositories>
@@ -49,6 +48,27 @@
       <url>https://repository.apache.org/content/groups/snapshots</url>
     </repository>
   </repositories>
+  <dependencyManagement>
+    <dependencies>
+      <!-- Override dependency resolver with test version. This must go 
*BEFORE*
+        the Arquillian BOM. -->
+      <dependency>
+        <groupId>org.jboss.shrinkwrap.resolver</groupId>
+        <artifactId>shrinkwrap-resolver-bom</artifactId>
+        <version>3.1.4</version>
+        <scope>import</scope>
+        <type>pom</type>
+      </dependency>
+      <!-- Now pull in our server-based unit testing framework -->
+      <dependency>
+        <groupId>org.jboss.arquillian</groupId>
+        <artifactId>arquillian-bom</artifactId>
+        <version>1.7.0.Alpha10</version>
+        <scope>import</scope>
+        <type>pom</type>
+      </dependency>
+    </dependencies>
+  </dependencyManagement>
   <dependencies>
     <dependency>
       <groupId>org.apache.tomee</groupId>
@@ -60,11 +80,19 @@
       <groupId>org.apache.deltaspike.core</groupId>
       <artifactId>deltaspike-core-impl</artifactId>
       <version>${version.deltaspike}</version>
+      <classifier>jakarta</classifier>
+      <exclusions>
+        <exclusion>
+          <groupId>org.apache.deltaspike.core</groupId>
+          <artifactId>deltaspike-core-api</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>org.apache.deltaspike.core</groupId>
       <artifactId>deltaspike-core-api</artifactId>
       <version>${version.deltaspike}</version>
+      <classifier>jakarta</classifier>
     </dependency>
     <dependency>
       <groupId>junit</groupId>
@@ -72,6 +100,17 @@
       <version>4.13.2</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>org.jboss.arquillian.junit</groupId>
+      <artifactId>arquillian-junit-container</artifactId>
+      <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.jboss.shrinkwrap.resolver</groupId>
+      <artifactId>shrinkwrap-resolver-depchain</artifactId>
+      <type>pom</type>
+      <scope>test</scope>
+    </dependency>
     <!-- The <scope>test</scope> guarantees that none of your runtime code
       is dependent on any OpenEJB classes. -->
     <dependency>

Reply via email to