Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml6
-rw-r--r--releng/scripts/check_mvn_plugin_versions.sh27
2 files changed, 30 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 770f8cf3510..1b576ddc67f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -513,7 +513,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.7.7.201606060606</version>
+ <version>0.7.8</version>
<executions>
<execution>
<id>pre-test</id>
@@ -577,7 +577,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
- <version>3.0.1</version>
+ <version>3.0.2</version>
<configuration>
<encoding>ISO-8859-1</encoding>
</configuration>
@@ -607,7 +607,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
- <version>3.6</version>
+ <version>3.7</version>
<configuration>
<sourceEncoding>utf-8</sourceEncoding>
<minimumTokens>100</minimumTokens>
diff --git a/releng/scripts/check_mvn_plugin_versions.sh b/releng/scripts/check_mvn_plugin_versions.sh
new file mode 100644
index 00000000000..43e943666e9
--- /dev/null
+++ b/releng/scripts/check_mvn_plugin_versions.sh
@@ -0,0 +1,27 @@
+#!/bin/bash
+###############################################################################
+# Copyright (c) 2015, 2017 Ericsson, EfficiOS Inc. and others
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Marc-André Laperle - Initial version
+# Alexandre Montplaisir - Initial version
+# Marc-André Laperle - Copied to CDT
+###############################################################################
+
+# Point ourselves to the script's directory (so it can be run "out-of-tree")
+DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
+output=`mvn versions:display-plugin-updates -U -f $DIR/../../pom.xml`
+
+#filter only updates and show unique
+summary=`echo "${output}" | grep "\\->" | sort | uniq`
+echo -e "Summary:\n${summary}"
+
+#remove empty lines and count lines
+outdatedNb=`echo "${summary}" | sed '/^\s*$/d' | wc -l`
+echo Number of outdated plugins: "${outdatedNb}"
+exit ${outdatedNb}

Back to the top