You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/07 09:53:24 UTC
[maven-invoker] branch stabilize updated: Use profile for
https.protocol
This is an automated email from the ASF dual-hosted git repository.
rfscholte pushed a commit to branch stabilize
in repository https://gitbox.apache.org/repos/asf/maven-invoker.git
The following commit(s) were added to refs/heads/stabilize by this push:
new 6b56265 Use profile for https.protocol
6b56265 is described below
commit 6b562652252fe6f94b5e1a514ce58c6378e9e710
Author: rfscholte <rf...@apache.org>
AuthorDate: Sun Apr 7 11:53:16 2019 +0200
Use profile for https.protocol
---
pom.xml | 28 ++++++++++++++++++++++++----
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index e5712a7..7e5138e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -102,10 +102,6 @@ under the License.
<name>maven.home</name>
<value>${maven.home}</value>
</property>
- <property>
- <name>https.protocols</name>
- <value>${https.protocols}</value>
- </property>
</systemProperties>
<excludes>
<exclude>test-build-should*/**</exclude>
@@ -152,5 +148,29 @@ under the License.
</plugins>
</build>
</profile>
+ <profile>
+ <activation>
+ <property>
+ <name>https.protocols</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties combine.children="append">
+ <property>
+ <name>https.protocols</name>
+ <value>${https.protocols}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
</project>