Skip to content

Commit

Permalink
Fix developerConnection warning
Browse files Browse the repository at this point in the history
> [INFO] --- maven-hpi-plugin:3.38:validate (default-validate) @ nomad ---
> [WARNING] <developerConnection>scm:git:ssh://git@github.com/jenkinsci/${project.artifactId}-plugin.git</developerConnection> is invalid because ssh:// URLs do not work well with PCT.
>   Replace it with <developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection>.
>   In the future this warning will be changed to an error and will break the build.
  • Loading branch information
multani committed Feb 17, 2023
1 parent 39c90b8 commit 07a092e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@
</licenses>

<scm>
<connection>scm:git:ssh://github.com/jenkinsci/nomad-plugin.git</connection>
<developerConnection>scm:git:ssh://git@github.com/jenkinsci/nomad-plugin.git
</developerConnection>
<connection>scm:git:git@github.com:jenkinsci/nomad-plugin.git</connection>
<developerConnection>scm:git:git@github.com:jenkinsci/${project.artifactId}-plugin.git</developerConnection>
<url>https://github.com/jenkinsci/nomad-plugin</url>
<tag>${scmTag}</tag>
</scm>
Expand Down

0 comments on commit 07a092e

Please sign in to comment.