Bump powermock to 2.0.0
[odlparent.git] / odlparent / pom.xml
index 379a81b1b932057f6eea87ec5d1c4e1502954a5e..cd72124a10473ceccbc5ad8545958f3217aa0a33 100644 (file)
@@ -13,7 +13,7 @@
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>odlparent-lite</artifactId>
-    <version>4.0.10-SNAPSHOT</version>
+    <version>5.0.0-SNAPSHOT</version>
     <relativePath>../odlparent-lite</relativePath>
   </parent>
 
@@ -56,7 +56,7 @@
 
     <!-- Supporting Libraries -->
     <!-- Only used internally -->
-    <bouncycastle.version>1.60</bouncycastle.version>
+    <bouncycastle.version>1.61</bouncycastle.version>
 
     <!-- JaCoCo configuration, by default tied to Sonar configuration, but can be overridden separately
          to allow projects to report Sonar values from the entire project. -->
@@ -85,7 +85,7 @@
       <dependency>
         <groupId>org.opendaylight.odlparent</groupId>
         <artifactId>odlparent-artifacts</artifactId>
-        <version>4.0.10-SNAPSHOT</version>
+        <version>5.0.0-SNAPSHOT</version>
         <scope>import</scope>
         <type>pom</type>
       </dependency>
         <version>3.0.0</version>
         <scope>test</scope>
       </dependency>
-      <dependency>
-        <groupId>org.powermock</groupId>
-        <artifactId>powermock-api-mockito</artifactId>
-        <version>1.7.4</version>
-        <scope>test</scope>
-      </dependency>
       <dependency>
         <groupId>org.powermock</groupId>
         <artifactId>powermock-api-mockito2</artifactId>
-        <version>1.7.4</version>
+        <version>2.0.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.powermock</groupId>
         <artifactId>powermock-api-support</artifactId>
-        <version>1.7.4</version>
+        <version>2.0.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.powermock</groupId>
         <artifactId>powermock-core</artifactId>
-        <version>1.7.4</version>
+        <version>2.0.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.powermock</groupId>
         <artifactId>powermock-module-junit4</artifactId>
-        <version>1.7.4</version>
+        <version>2.0.0</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>org.powermock</groupId>
         <artifactId>powermock-reflect</artifactId>
-        <version>1.7.4</version>
+        <version>2.0.0</version>
         <scope>test</scope>
       </dependency>
 
       <dependency>
         <groupId>commons-codec</groupId>
         <artifactId>commons-codec</artifactId>
-        <version>1.11</version>
+        <version>1.12</version>
       </dependency>
       <!-- Jersey for JAXRS -->
       <dependency>
         <version>1.4.01</version>
       </dependency>
 
-      <!-- servlet 3.x support -->
-      <!-- FIXME : remove all dependencies for jersey 1.17 -->
-      <dependency>
-        <groupId>com.sun.jersey</groupId>
-        <artifactId>jersey-core</artifactId>
-        <version>1.19.4</version>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey</groupId>
-        <artifactId>jersey-json</artifactId>
-        <version>1.19.4</version>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey</groupId>
-        <artifactId>jersey-server</artifactId>
-        <version>1.19.4</version>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey</groupId>
-        <artifactId>jersey-servlet</artifactId>
-        <version>1.19.4</version>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey.jersey-test-framework</groupId>
-        <artifactId>jersey-test-framework-grizzly2</artifactId>
-        <version>1.19.4</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey.jersey-test-framework</groupId>
-        <artifactId>jersey-test-framework-inmemory</artifactId>
-        <version>1.19.4</version>
-        <scope>test</scope>
-      </dependency>
-      <dependency>
-        <groupId>com.sun.jersey</groupId>
-        <artifactId>jersey-client</artifactId>
-        <version>1.19.4</version>
-      </dependency>
       <dependency>
         <groupId>org.apache.shiro</groupId>
         <artifactId>shiro-core</artifactId>
         <type>pom</type>
       </dependency>
 
-      <!-- TODO do we really need resteasy ? -->
-      <dependency>
-        <groupId>org.jboss.resteasy</groupId>
-        <artifactId>jaxrs-api</artifactId>
-        <version>3.0.12.Final</version>
-      </dependency>
-
       <dependency>
         <groupId>com.google.code.findbugs</groupId>
         <artifactId>annotations</artifactId>
         <version>${bouncycastle.version}</version>
       </dependency>
 
-      <!-- FIXME: ODLPARENT-190: remove this declaration -->
-      <dependency>
-        <groupId>org.codehaus.enunciate</groupId>
-        <artifactId>enunciate-core-annotations</artifactId>
-        <!-- This must be aligned with the version of maven-enunciate-plugin specified below -->
-        <version>1.31</version>
-        <exclusions>
-          <exclusion>
-            <!-- JSR 250 API has 6 very old versions of javax.annotation @PreDestroy & Co.
-                 which are in core rt.jar since Java 6; it also has Java EE @DataSourceDefinition
-                 and @RunAs and @PermitAll & Co. which we do not require
-                 (or at least not from jsr250-api via enunciate) -->
-            <groupId>javax.annotation</groupId>
-            <artifactId>jsr250-api</artifactId>
-          </exclusion>
-        </exclusions>
-      </dependency>
       <dependency>
         <groupId>com.webcohesion.enunciate</groupId>
         <artifactId>enunciate-core-annotations</artifactId>
         <artifactId>jolokia-osgi</artifactId>
         <version>1.6.0</version>
       </dependency>
-      <dependency>
-        <groupId>org.json</groupId>
-        <artifactId>json</artifactId>
-        <version>20131018</version>
-      </dependency>
       <dependency>
         <groupId>org.osgi</groupId>
-        <artifactId>org.osgi.compendium</artifactId>
-        <version>5.0.0</version>
+        <artifactId>osgi.cmpn</artifactId>
+        <version>6.0.0</version>
         <scope>provided</scope>
       </dependency>
       <dependency>
         <groupId>org.osgi</groupId>
         <artifactId>org.osgi.core</artifactId>
-        <version>5.0.0</version>
+        <version>6.0.0</version>
         <scope>provided</scope>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-actor_2.12</artifactId>
         <!-- When bumping this version, remember to also change the JavaDoc link in odlparent-lite -->
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-cluster_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-osgi_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-persistence_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-persistence-tck_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
         <scope>test</scope>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-protobuf_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-remote_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-slf4j_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-stream_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
       </dependency>
       <dependency>
         <groupId>com.typesafe.akka</groupId>
         <artifactId>akka-testkit_2.12</artifactId>
-        <version>2.5.19</version>
+        <version>2.5.21</version>
         <scope>test</scope>
       </dependency>
       <dependency>
       <dependency>
         <groupId>org.agrona</groupId>
         <artifactId>agrona</artifactId>
-        <version>0.9.27</version>
+        <version>0.9.33</version>
       </dependency>
       <dependency>
         <groupId>io.aeron</groupId>
         <artifactId>aeron-client</artifactId>
-        <version>1.12.0</version>
+        <version>1.15.3</version>
       </dependency>
       <dependency>
         <groupId>io.aeron</groupId>
         <artifactId>aeron-driver</artifactId>
-        <version>1.12.0</version>
+        <version>1.15.3</version>
       </dependency>
 
       <!-- Scala -->
       <dependency>
         <groupId>com.h2database</groupId>
         <artifactId>h2</artifactId>
-        <version>1.4.197</version>
+        <version>1.4.198</version>
       </dependency>
 
       <!-- Xtend http://xtend-lang.org
         <optional>true</optional>
       </dependency>
 
-      <!-- Cassandra -->
-      <dependency>
-        <groupId>com.datastax.cassandra</groupId>
-        <artifactId>cassandra-driver-core</artifactId>
-        <version>2.1.9</version>
-      </dependency>
-
       <!-- jung, a graph library -->
       <dependency>
         <groupId>net.sf.jung</groupId>
       <dependency>
         <groupId>org.antlr</groupId>
         <artifactId>antlr4-runtime</artifactId>
-        <version>4.7.1</version>
+        <version>4.7.2</version>
       </dependency>
       <!-- Aries' Blueprint version should be kept in sync to the version actually
            used by our ${karaf[4].version} ... please bump this when increasing that.
       <!-- Apache SSHD with netty -->
       <dependency>
         <groupId>org.apache.sshd</groupId>
-        <artifactId>sshd-core</artifactId>
-        <version>2.0.0</version>
+        <artifactId>sshd-netty</artifactId>
+        <version>2.2.0</version>
+        <exclusions>
+          <exclusion>
+            <!-- We provide sshd-osgi instead -->
+            <groupId>org.apache.sshd</groupId>
+            <artifactId>sshd-core</artifactId>
+          </exclusion>
+        </exclusions>
       </dependency>
       <dependency>
         <groupId>org.apache.sshd</groupId>
-        <artifactId>sshd-netty</artifactId>
-        <version>2.0.0</version>
+        <artifactId>sshd-osgi</artifactId>
+        <version>2.2.0</version>
       </dependency>
       <dependency>
         <groupId>net.i2p.crypto</groupId>
             <dependency>
               <groupId>org.opendaylight.odlparent</groupId>
               <artifactId>checkstyle</artifactId>
-              <version>4.0.10-SNAPSHOT</version>
+              <version>5.0.0-SNAPSHOT</version>
             </dependency>
             <dependency>
               <groupId>org.opendaylight.odlparent</groupId>
               <artifactId>odl-license</artifactId>
-              <version>4.0.10-SNAPSHOT</version>
+              <version>5.0.0-SNAPSHOT</version>
             </dependency>
             <dependency>
               <groupId>com.github.sevntu-checkstyle</groupId>
                   <artifactItem>
                     <groupId>org.opendaylight.odlparent</groupId>
                     <artifactId>odl-license</artifactId>
-                    <version>4.0.10-SNAPSHOT</version>
+                    <version>5.0.0-SNAPSHOT</version>
                   </artifactItem>
                 </artifactItems>
                 <outputDirectory>${project.build.outputDirectory}</outputDirectory>
               <!-- Note the '-' for git.properties.. this is required because git-commit-id-plugin has <failOnNoGitDirectory>false,
                    so that the build doesn't fail if there is no .../.git/ - so git.properties is effectively optional;
                    and so the '-' there is needed to make the maven-bundle-plugin if that resource is not present.  -->
-              <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties</Include-Resource>
+              <Include-Resource>{maven-resources},${project.build.directory}/classes/LICENSE,META-INF/git.properties=-${project.build.directory}/classes/META-INF/git.properties,META-INF/services=-${project.build.directory}/classes/META-INF/services</Include-Resource>
 
               <!-- Based on https://dev.eclipse.org/mhonarc/lists/equinox-dev/msg01088.html we do want
                    to generate Import-Service and Export-Service headers. -->
           </executions>
         </plugin>
 
-        <!-- FIXME: ODLPARENT-190: remove this plugin declaration -->
-        <plugin>
-          <groupId>org.codehaus.enunciate</groupId>
-          <artifactId>maven-enunciate-plugin</artifactId>
-          <!-- This must be aligned with the version of enunciate-core-annotations specified above -->
-          <version>1.31</version>
-        </plugin>
         <plugin>
           <groupId>com.webcohesion.enunciate</groupId>
           <artifactId>enunciate-maven-plugin</artifactId>
           <version>2.11.1</version>
         </plugin>
 
-        <plugin>
-          <groupId>org.codehaus.groovy.maven</groupId>
-          <artifactId>gmaven-plugin</artifactId>
-          <version>1.0</version>
-        </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>build-helper-maven-plugin</artifactId>
           <version>3.0.0</version>
         </plugin>
-        <plugin>
-          <groupId>org.codehaus.mojo</groupId>
-          <artifactId>findbugs-maven-plugin</artifactId>
-          <version>3.0.5</version>
-          <dependencies>
-            <dependency>
-              <groupId>org.opendaylight.odlparent</groupId>
-              <artifactId>findbugs</artifactId>
-              <version>4.0.10-SNAPSHOT</version>
-            </dependency>
-          </dependencies>
-          <configuration>
-            <plugins>
-              <plugin>
-                <groupId>jp.skypencil.findbugs.slf4j</groupId>
-                <artifactId>bug-pattern</artifactId>
-                <!-- NOTE: This version SHOULD be kept in sync with the same version in the new spotbugs-maven-plugin below,
-                     but 1.4.1 broke compability with (the version we use of) FindBugs, so must keep this at 1.4.0. -->
-                <version>1.4.0</version>
-              </plugin>
-            </plugins>
-            <!--
-              Enables analysis which takes more memory but finds more bugs.
-              If you run out of memory, changes the value of the effort element
-              to 'Low'.
-            -->
-            <effort>Max</effort>
-            <!-- Reports all bugs (other values are medium and max) -->
-            <threshold>Low</threshold>
-            <!-- Build doesn't fail if problems are found -->
-            <failOnError>false</failOnError>
-            <!-- References the excluded rules -->
-            <excludeFilterFile>findbugs-exclude.xml</excludeFilterFile>
-            <!-- Produces XML report -->
-            <xmlOutput>true</xmlOutput>
-            <!-- Configures the directory in which the XML report is created -->
-            <findbugsXmlOutputDirectory>${project.build.directory}/findbugs</findbugsXmlOutputDirectory>
-          </configuration>
-          <executions>
-              <!--
-                Ensures that FindBugs inspects source code when project is compiled.
-              -->
-              <execution>
-                <id>analyze-compile</id>
-                <phase>compile</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-          </executions>
-        </plugin>
         <plugin>
           <groupId>com.github.spotbugs</groupId>
           <artifactId>spotbugs-maven-plugin</artifactId>
             <dependency>
               <groupId>org.opendaylight.odlparent</groupId>
               <artifactId>spotbugs</artifactId>
-              <version>4.0.10-SNAPSHOT</version>
+              <version>5.0.0-SNAPSHOT</version>
             </dependency>
             <dependency>
               <!-- The SpotBugs Maven plugin uses SLF4J 1.8 beta 2 -->
         <plugin>
           <groupId>org.antlr</groupId>
           <artifactId>antlr4-maven-plugin</artifactId>
-          <version>4.7.1</version>
+          <version>4.7.2</version>
         </plugin>
       </plugins>
     </pluginManagement>
       </plugin>
     </plugins>
   </reporting>
-
-  <profiles>
-    <profile>
-      <!-- On JDK9-and-later findbugs fails -->
-      <id>jdk9-findbugs</id>
-      <activation>
-        <jdk>[9,)</jdk>
-      </activation>
-      <properties>
-        <findbugs.skip>true</findbugs.skip>
-      </properties>
-    </profile>
-  </profiles>
-
 </project>