Skip to content
Permalink
Browse files

[WFCORE-4396] Use HTTPS for repository and pluginRepository URLs

Allow configuration via -D of the protocol used or even the full URL. This allows folks who use a maven proxy to continue to do so.
  • Loading branch information
bstansberry authored and jmesnil committed Apr 2, 2019
1 parent 9e92b24 commit 5c49ca3378b23fe18102944f29d33c10a0a2a7d1
Showing with 10 additions and 2 deletions.
  1. +10 −2 pom.xml
12 pom.xml
@@ -93,6 +93,14 @@

<server.output.dir.prefix>wildfly-core</server.output.dir.prefix>

<!-- Protocol to use for communication with remote maven repositories.
You can set to 'http' if you are using a maven proxy and 'https'
interferes with that. Use 'https' for builds that will be released
to non-snapshot public maven repos -->
<maven.repository.protocol>https</maven.repository.protocol>
<!-- The full remote maven repo URL; can be overridden via -D for special use cases -->
<maven.repository.url>${maven.repository.protocol}://repository.jboss.org/nexus/content/groups/public/</maven.repository.url>

<!-- Surefire args -->
<surefire.jpda.args></surefire.jpda.args>
<surefire.system.args>${modular.jdk.args} ${modular.jdk.props} -ea -Duser.region=US -Duser.language=en -Duser.timezone=America/Chicago -XX:MaxMetaspaceSize=256m
@@ -2024,7 +2032,7 @@
</snapshots>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<url>${maven.repository.url}</url>
<layout>default</layout>
</repository>
</repositories>
@@ -2040,7 +2048,7 @@
</snapshots>
<id>jboss-public-repository-group</id>
<name>JBoss Public Repository Group</name>
<url>http://repository.jboss.org/nexus/content/groups/public/</url>
<url>${maven.repository.url}</url>
</pluginRepository>
</pluginRepositories>

0 comments on commit 5c49ca3

Please sign in to comment.
You can’t perform that action at this time.