Skip to content

Commit

Permalink
Merge pull request #300 from drewbrokke/BLADE-729-TASK-v1-release-jdk…
Browse files Browse the repository at this point in the history
…-11-snapshots

BLADE-729 liferay-blade-cli: allowInsecureProtocol for local nexus publishing
  • Loading branch information
drewbrokke committed Aug 23, 2023
2 parents 43daf29 + 638d497 commit f245cd2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ repositories {

if (!remoteNexus) {
maven {
url "https://localhost:8081/nexus/content/groups/public/"
allowInsecureProtocol = true
url "http://localhost:8081/nexus/content/groups/public/"
}
}
}
Expand Down Expand Up @@ -326,6 +327,10 @@ subprojects {

repositories {
maven {
if (localNexus) {
allowInsecureProtocol = true
}

credentials {
username liferayNexusUsername.trim()
password liferayNexusPassword.trim()
Expand Down
1 change: 1 addition & 0 deletions cli/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ repositories {

if (project.hasProperty("localNexus")) {
maven {
allowInsecureProtocol = true
url "http://localhost:8081/nexus/content/groups/public/"
}
}
Expand Down

0 comments on commit f245cd2

Please sign in to comment.