You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2018/08/02 18:09:48 UTC
[maven-invoker-plugin] 01/01: [MINVOKER-239] - Upgrade
maven-plugins parent to version 32 o Fixed several IT's. o The
maven-invoker-plugin version 3.1.0 seemed to be having an issue related to
the ITs: exec-timeout-invoker-level and exec-timeout-mojo-level which are
failing constantly. version 3.0.1 works.
This is an automated email from the ASF dual-hosted git repository.
khmarbaise pushed a commit to branch MINVOKER-239
in repository https://gitbox.apache.org/repos/asf/maven-invoker-plugin.git
commit c91a64dbe164f7be045b2b4b87af43cb046bbb47
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Mon Jul 23 23:19:13 2018 +0200
[MINVOKER-239] - Upgrade maven-plugins parent to version 32
o Fixed several IT's.
o The maven-invoker-plugin version 3.1.0 seemed to be having
an issue related to the ITs: exec-timeout-invoker-level
and exec-timeout-mojo-level which are failing
constantly. version 3.0.1 works.
---
pom.xml | 7 ++++---
src/it/MINVOKER-191/pom.xml | 8 +++++++-
src/it/exec-timeout-invoker-level/pom.xml | 7 ++++++-
src/it/exec-timeout-invoker-level/src/it/basic/pom.xml | 6 ++++++
src/it/exec-timeout-mojo-level/pom.xml | 7 ++++++-
src/it/exec-timeout-mojo-level/src/it/basic/pom.xml | 6 ++++++
src/it/filtering-extensions/pom.xml | 6 +++++-
src/it/invocation-debug/pom.xml | 4 ++++
src/it/invocation-debug/src/it/minvoker-142/pom.xml | 4 ++++
src/it/invocation-emptyproperty/pom.xml | 2 ++
src/it/invocation-emptyproperty/src/it/minvoker-118/pom.xml | 4 ++++
src/it/invocation-multiple/pom.xml | 2 ++
src/it/invocation-offline/pom.xml | 6 +++++-
src/it/invocation-reactor-indirect/pom.xml | 8 +++++++-
src/it/invocation-spaces/pom.xml | 2 ++
src/it/local-repo-default/pom.xml | 4 ++++
src/it/local-repo-isolated/pom.xml | 4 ++++
src/it/local-repo-path/pom.xml | 6 +++++-
src/it/multiEnvVar/pom.xml | 6 +++++-
src/it/pom-filtering-encoding/pom.xml | 4 ++++
src/it/pom-filtering/pom.xml | 6 +++++-
src/it/postbuild-executed-only-once/pom.xml | 6 +++++-
src/it/settings-inherit/pom.xml | 4 ++++
src/it/settings-inherit/src/it/project/pom.xml | 4 ++++
src/it/settings-merge-multiexecutions/pom.xml | 4 ++++
src/it/settings-merge/pom.xml | 4 ++++
src/it/settings-merge_jdk9+/pom.xml | 4 ++++
src/it/spaces-should-work_non-windows/pom.xml | 4 ++++
src/it/special-characters-should-work/pom.xml | 4 ++++
src/it/wrongPropertyInterpolation/pom.xml | 4 ++++
30 files changed, 134 insertions(+), 13 deletions(-)
diff --git a/pom.xml b/pom.xml
index ab67df5..71a7f01 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@ under the License.
<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
- <version>31</version>
+ <version>32</version>
<relativePath>../../pom/maven/maven-plugins/pom.xml</relativePath>
</parent>
@@ -67,7 +67,6 @@ under the License.
<properties>
<javaVersion>7</javaVersion>
<mavenVersion>3.0</mavenVersion>
- <surefire.version>2.21.0</surefire.version>
<doxiaVersion>1.7</doxiaVersion>
<doxia-sitetoolsVersion>1.7.4</doxia-sitetoolsVersion>
<beanshell-groupId>org.beanshell</beanshell-groupId>
@@ -310,8 +309,8 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
+ <version>3.0.1</version>
<configuration>
- <debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<preBuildHookScript>setup</preBuildHookScript>
<postBuildHookScript>verify</postBuildHookScript>
@@ -319,6 +318,8 @@ under the License.
<settingsFile>src/it/settings.xml</settingsFile>
<mavenOpts>-Djava.io.tmpdir=${project.build.directory}</mavenOpts>
<properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
<maven.compiler.source>${maven.compiler.source}</maven.compiler.source>
<maven.compiler.target>${maven.compiler.target}</maven.compiler.target>
</properties>
diff --git a/src/it/MINVOKER-191/pom.xml b/src/it/MINVOKER-191/pom.xml
index fc24aa5..2e8a898 100644
--- a/src/it/MINVOKER-191/pom.xml
+++ b/src/it/MINVOKER-191/pom.xml
@@ -64,7 +64,13 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
+ <configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
+ </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/exec-timeout-invoker-level/pom.xml b/src/it/exec-timeout-invoker-level/pom.xml
index 61c75de..3bcb75c 100644
--- a/src/it/exec-timeout-invoker-level/pom.xml
+++ b/src/it/exec-timeout-invoker-level/pom.xml
@@ -40,10 +40,15 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
+ <streamLogs>true</streamLogs>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/exec-timeout-invoker-level/src/it/basic/pom.xml b/src/it/exec-timeout-invoker-level/src/it/basic/pom.xml
index 9bebf8b..eba22eb 100644
--- a/src/it/exec-timeout-invoker-level/src/it/basic/pom.xml
+++ b/src/it/exec-timeout-invoker-level/src/it/basic/pom.xml
@@ -33,6 +33,12 @@ under the License.
<groupId>org.apache.maven.plugins.invoker</groupId>
<artifactId>exec-timeout-invoker-level</artifactId>
<version>1.0-SNAPSHOT</version>
+ <configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
+ </configuration>
<executions>
<execution>
<id>touch</id>
diff --git a/src/it/exec-timeout-mojo-level/pom.xml b/src/it/exec-timeout-mojo-level/pom.xml
index 20737a0..3f02a9a 100644
--- a/src/it/exec-timeout-mojo-level/pom.xml
+++ b/src/it/exec-timeout-mojo-level/pom.xml
@@ -40,11 +40,16 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
+ <streamLogs>true</streamLogs>
<timeoutInSeconds>2</timeoutInSeconds>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/exec-timeout-mojo-level/src/it/basic/pom.xml b/src/it/exec-timeout-mojo-level/src/it/basic/pom.xml
index 9bebf8b..eba22eb 100644
--- a/src/it/exec-timeout-mojo-level/src/it/basic/pom.xml
+++ b/src/it/exec-timeout-mojo-level/src/it/basic/pom.xml
@@ -33,6 +33,12 @@ under the License.
<groupId>org.apache.maven.plugins.invoker</groupId>
<artifactId>exec-timeout-invoker-level</artifactId>
<version>1.0-SNAPSHOT</version>
+ <configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
+ </configuration>
<executions>
<execution>
<id>touch</id>
diff --git a/src/it/filtering-extensions/pom.xml b/src/it/filtering-extensions/pom.xml
index 28f6da8..2d72f14 100644
--- a/src/it/filtering-extensions/pom.xml
+++ b/src/it/filtering-extensions/pom.xml
@@ -39,7 +39,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
@@ -49,6 +49,10 @@ under the License.
<goals>
<goal>process-resources</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/invocation-debug/pom.xml b/src/it/invocation-debug/pom.xml
index 08940c2..4e89b8e 100644
--- a/src/it/invocation-debug/pom.xml
+++ b/src/it/invocation-debug/pom.xml
@@ -47,6 +47,10 @@ under the License.
</goals>
<debug>false</debug>
<postBuildHookScript>verify</postBuildHookScript>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/invocation-debug/src/it/minvoker-142/pom.xml b/src/it/invocation-debug/src/it/minvoker-142/pom.xml
index fc1577c..87c7142 100644
--- a/src/it/invocation-debug/src/it/minvoker-142/pom.xml
+++ b/src/it/invocation-debug/src/it/minvoker-142/pom.xml
@@ -42,6 +42,10 @@ under the License.
<goal>enforce</goal>
</goals>
<configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
<rules>
<AlwaysPass/>
</rules>
diff --git a/src/it/invocation-emptyproperty/pom.xml b/src/it/invocation-emptyproperty/pom.xml
index 58045a9..690caca 100644
--- a/src/it/invocation-emptyproperty/pom.xml
+++ b/src/it/invocation-emptyproperty/pom.xml
@@ -48,6 +48,8 @@ under the License.
<key>value</key>
<some.property>${example.property}</some.property>
<empty.property/>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
</properties>
</configuration>
<executions>
diff --git a/src/it/invocation-emptyproperty/src/it/minvoker-118/pom.xml b/src/it/invocation-emptyproperty/src/it/minvoker-118/pom.xml
index f542fda..cd7234b 100644
--- a/src/it/invocation-emptyproperty/src/it/minvoker-118/pom.xml
+++ b/src/it/invocation-emptyproperty/src/it/minvoker-118/pom.xml
@@ -42,6 +42,10 @@ under the License.
<goal>enforce</goal>
</goals>
<configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
<rules>
<AlwaysPass/>
</rules>
diff --git a/src/it/invocation-multiple/pom.xml b/src/it/invocation-multiple/pom.xml
index 0ce8813..67d1caa 100644
--- a/src/it/invocation-multiple/pom.xml
+++ b/src/it/invocation-multiple/pom.xml
@@ -55,6 +55,8 @@ under the License.
<properties>
<maven.compiler.source>${maven.compiler.source}</maven.compiler.source>
<maven.compiler.target>${maven.compiler.target}</maven.compiler.target>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
</properties>
</configuration>
<executions>
diff --git a/src/it/invocation-offline/pom.xml b/src/it/invocation-offline/pom.xml
index c423e9f..bb9efaf 100644
--- a/src/it/invocation-offline/pom.xml
+++ b/src/it/invocation-offline/pom.xml
@@ -40,7 +40,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
<pomIncludes>
@@ -50,6 +50,10 @@ under the License.
<goals>
<goal>validate</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/invocation-reactor-indirect/pom.xml b/src/it/invocation-reactor-indirect/pom.xml
index 70d0569..6986e4d 100644
--- a/src/it/invocation-reactor-indirect/pom.xml
+++ b/src/it/invocation-reactor-indirect/pom.xml
@@ -63,7 +63,13 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
+ <configuration>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
+ </configuration>
</plugin>
</plugins>
</pluginManagement>
diff --git a/src/it/invocation-spaces/pom.xml b/src/it/invocation-spaces/pom.xml
index 85dd7f1..7bfede6 100644
--- a/src/it/invocation-spaces/pom.xml
+++ b/src/it/invocation-spaces/pom.xml
@@ -52,6 +52,8 @@ under the License.
<goal>install</goal>
</goals>
<properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
<propertyFromCommandLine>value with spaces from cli</propertyFromCommandLine>
</properties>
<filterProperties>
diff --git a/src/it/local-repo-default/pom.xml b/src/it/local-repo-default/pom.xml
index b601efb..ce1c1cf 100644
--- a/src/it/local-repo-default/pom.xml
+++ b/src/it/local-repo-default/pom.xml
@@ -51,6 +51,10 @@ under the License.
<goals>
<goal>install</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/local-repo-isolated/pom.xml b/src/it/local-repo-isolated/pom.xml
index a2e2f8e..06a16ef 100644
--- a/src/it/local-repo-isolated/pom.xml
+++ b/src/it/local-repo-isolated/pom.xml
@@ -50,6 +50,10 @@ under the License.
<goals>
<goal>install</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/local-repo-path/pom.xml b/src/it/local-repo-path/pom.xml
index 3700cb1..85a7739 100644
--- a/src/it/local-repo-path/pom.xml
+++ b/src/it/local-repo-path/pom.xml
@@ -46,7 +46,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
<pomIncludes>
@@ -56,6 +56,10 @@ under the License.
<goals>
<goal>org.apache.maven.plugins:maven-clean-plugin:2.2:clean</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/multiEnvVar/pom.xml b/src/it/multiEnvVar/pom.xml
index b8c946c..b34d142 100644
--- a/src/it/multiEnvVar/pom.xml
+++ b/src/it/multiEnvVar/pom.xml
@@ -44,6 +44,10 @@ under the License.
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<postBuildHookScript>verify</postBuildHookScript>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
@@ -63,4 +67,4 @@ under the License.
</plugin>
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
diff --git a/src/it/pom-filtering-encoding/pom.xml b/src/it/pom-filtering-encoding/pom.xml
index a769935..72331d4 100644
--- a/src/it/pom-filtering-encoding/pom.xml
+++ b/src/it/pom-filtering-encoding/pom.xml
@@ -47,6 +47,10 @@ under the License.
<filterProperties>
<latin1Chars>©®ÄÖÜäöüß</latin1Chars>
</filterProperties>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/pom-filtering/pom.xml b/src/it/pom-filtering/pom.xml
index 31bda51..b43fd1d 100644
--- a/src/it/pom-filtering/pom.xml
+++ b/src/it/pom-filtering/pom.xml
@@ -41,7 +41,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
@@ -60,6 +60,10 @@ under the License.
<basedir>FAILED</basedir>
<baseurl>FAILED</baseurl>
</filterProperties>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/postbuild-executed-only-once/pom.xml b/src/it/postbuild-executed-only-once/pom.xml
index 4f6722f..479b580 100644
--- a/src/it/postbuild-executed-only-once/pom.xml
+++ b/src/it/postbuild-executed-only-once/pom.xml
@@ -38,7 +38,7 @@ under the License.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
- <version>@pom.version@</version>
+ <version>@project.version@</version>
<configuration>
<debug>true</debug>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
@@ -48,6 +48,10 @@ under the License.
<goals>
<goal>validate</goal>
</goals>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/settings-inherit/pom.xml b/src/it/settings-inherit/pom.xml
index d717322..068063d 100644
--- a/src/it/settings-inherit/pom.xml
+++ b/src/it/settings-inherit/pom.xml
@@ -43,6 +43,10 @@ under the License.
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<cloneClean>true</cloneClean>
<mergeUserSettings>true</mergeUserSettings>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/settings-inherit/src/it/project/pom.xml b/src/it/settings-inherit/src/it/project/pom.xml
index 4d50191..a367a64 100644
--- a/src/it/settings-inherit/src/it/project/pom.xml
+++ b/src/it/settings-inherit/src/it/project/pom.xml
@@ -51,6 +51,10 @@ under the License.
</requireProperty>
</rules>
<fail>true</fail>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
</execution>
</executions>
diff --git a/src/it/settings-merge-multiexecutions/pom.xml b/src/it/settings-merge-multiexecutions/pom.xml
index ff6535c..fe7c2ae 100644
--- a/src/it/settings-merge-multiexecutions/pom.xml
+++ b/src/it/settings-merge-multiexecutions/pom.xml
@@ -37,6 +37,10 @@ under the License.
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<settingsFile>src/it/settings.xml</settingsFile>
<mergeUserSettings>true</mergeUserSettings>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/settings-merge/pom.xml b/src/it/settings-merge/pom.xml
index 7c51805..c7b89c6 100644
--- a/src/it/settings-merge/pom.xml
+++ b/src/it/settings-merge/pom.xml
@@ -45,6 +45,10 @@ under the License.
<cloneClean>true</cloneClean>
<settingsFile>src/it/settings.xml</settingsFile>
<mergeUserSettings>true</mergeUserSettings>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/settings-merge_jdk9+/pom.xml b/src/it/settings-merge_jdk9+/pom.xml
index 158590d..9bc0316 100644
--- a/src/it/settings-merge_jdk9+/pom.xml
+++ b/src/it/settings-merge_jdk9+/pom.xml
@@ -45,6 +45,10 @@ under the License.
<cloneClean>true</cloneClean>
<settingsFile>src/it/settings.xml</settingsFile>
<mergeUserSettings>true</mergeUserSettings>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/spaces-should-work_non-windows/pom.xml b/src/it/spaces-should-work_non-windows/pom.xml
index e111e1e..03e8163 100644
--- a/src/it/spaces-should-work_non-windows/pom.xml
+++ b/src/it/spaces-should-work_non-windows/pom.xml
@@ -47,6 +47,10 @@ under the License.
<goal>validate</goal>
</goals>
<postBuildHookScript>verify</postBuildHookScript>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/special-characters-should-work/pom.xml b/src/it/special-characters-should-work/pom.xml
index 0ea6fb5..b5ecd46 100644
--- a/src/it/special-characters-should-work/pom.xml
+++ b/src/it/special-characters-should-work/pom.xml
@@ -47,6 +47,10 @@ under the License.
</goals>
<debug>false</debug>
<postBuildHookScript>verify</postBuildHookScript>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>
diff --git a/src/it/wrongPropertyInterpolation/pom.xml b/src/it/wrongPropertyInterpolation/pom.xml
index 2b8eb2f..5371627 100644
--- a/src/it/wrongPropertyInterpolation/pom.xml
+++ b/src/it/wrongPropertyInterpolation/pom.xml
@@ -44,6 +44,10 @@ under the License.
<configuration>
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
<postBuildHookScript>verify</postBuildHookScript>
+ <properties>
+ <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central -->
+ <https.protocols>${https.protocols}</https.protocols>
+ </properties>
</configuration>
<executions>
<execution>