Skip to content
Permalink
Browse files

Merge pull request #12199 from bstansberry/WFLY-11932

[WFLY-11932] Use HTTPS for repository and pluginRepository URLs
  • Loading branch information
bstansberry committed Apr 5, 2019
2 parents 7c60736 + 3694831 commit 526d32bebd56d5aa276fe7c4f33f5f8b2b80f4f3
Showing with 12 additions and 4 deletions.
  1. +2 −2 docs/src/main/asciidoc/_extending-wildfly/Example_subsystem.adoc
  2. +10 −2 pom.xml
@@ -17,7 +17,7 @@ mvn archetype:generate \
-DarchetypeArtifactId=wildfly-subsystem \
-DarchetypeGroupId=org.wildfly.archetypes \
-DarchetypeVersion=8.0.0.Final \
-DarchetypeRepository=http://repository.jboss.org/nexus/content/groups/public
-DarchetypeRepository=https://repository.jboss.org/nexus/content/groups/public
----

Maven will download the archetype and it's dependencies, and ask you
@@ -29,7 +29,7 @@ $ mvn archetype:generate \
-DarchetypeArtifactId=wildfly-subsystem \
-DarchetypeGroupId=org.wildfly.archetypes \
-DarchetypeVersion=8.0.0.Final \
-DarchetypeRepository=http://repository.jboss.org/nexus/content/groups/public
-DarchetypeRepository=https://repository.jboss.org/nexus/content/groups/public
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
12 pom.xml
@@ -173,6 +173,14 @@
<!-- Version suffix that is appended to directories. Default is the maven GAV version but this can be edited to use a short form version -->
<server.output.dir.version>${project.version}</server.output.dir.version>

<!-- 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.extra.args></surefire.extra.args>
<surefire.jpda.args></surefire.jpda.args>
@@ -6722,7 +6730,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>
@@ -6737,7 +6745,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 526d32b

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