Upgrade versions to what we have CQs on (#3945)

* Upgrade versions to what we have CQs on

Signed-off-by: Jan Supol <jan.supol@oracle.com>
diff --git a/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml b/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml
index bacd3bc..053b38c 100644
--- a/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml
+++ b/archetypes/jersey-quickstart-grizzly2/src/main/resources/archetype-resources/pom.xml
@@ -40,7 +40,7 @@
         <dependency>
             <groupId>junit</groupId>
             <artifactId>junit</artifactId>
-            <version>4.9</version>
+            <version>4.12</version>
             <scope>test</scope>
         </dependency>
     </dependencies>
diff --git a/examples/bookmark-em/pom.xml b/examples/bookmark-em/pom.xml
index 12927d3..e800535 100644
--- a/examples/bookmark-em/pom.xml
+++ b/examples/bookmark-em/pom.xml
@@ -55,8 +55,8 @@
         </dependency>
         <dependency>
             <groupId>javax.transaction</groupId>
-            <artifactId>jta</artifactId>
-            <version>1.1</version>
+            <artifactId>javax.transaction-api</artifactId>
+            <version>${jta.api.version}</version>
             <scope>provided</scope>
         </dependency>
     </dependencies>
diff --git a/examples/bookmark/pom.xml b/examples/bookmark/pom.xml
index 4db7fc9..4ebd371 100644
--- a/examples/bookmark/pom.xml
+++ b/examples/bookmark/pom.xml
@@ -43,8 +43,8 @@
         </dependency>
         <dependency>
             <groupId>javax.transaction</groupId>
-            <artifactId>jta</artifactId>
-            <version>1.1</version>
+            <artifactId>javax.transaction-api</artifactId>
+            <version>${jta.api.version}</version>
             <scope>provided</scope>
         </dependency>
     </dependencies>
diff --git a/ext/spring4/pom.xml b/ext/spring4/pom.xml
index 450eba3..7808a58 100644
--- a/ext/spring4/pom.xml
+++ b/ext/spring4/pom.xml
@@ -151,7 +151,7 @@
     </dependencies>
 
     <properties>
-        <spring4.version>4.3.4.RELEASE</spring4.version>
+        <spring4.version>4.3.8.RELEASE</spring4.version>
     </properties>
 
     <build>
diff --git a/pom.xml b/pom.xml
index 0944979..1f68cbd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1998,7 +1998,7 @@
         <servlet4.version>4.0.1</servlet4.version>
         <simple.version>6.0.1</simple.version>
         <slf4j.version>1.7.21</slf4j.version>
-        <spring4.version>4.3.4.RELEASE</spring4.version>
+        <spring4.version>4.3.8.RELEASE</spring4.version>
         <validation.impl.version>6.0.11.Final</validation.impl.version>
         <weld.version>2.2.14.Final</weld.version> <!-- 2.4.1 doesn't work - bv tests -->
         <weld3.version>3.0.0.Final</weld3.version>