Skip to content

Commit

Permalink
fix project URLs in maven poms (#478)
Browse files Browse the repository at this point in the history
  • Loading branch information
cobexer authored and nedtwigg committed Oct 25, 2019
1 parent 61a7277 commit 2259d1f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Expand Up @@ -6,6 +6,7 @@ You might be looking for:
- [plugin-maven/CHANGES.md](plugin-maven/CHANGES.md)

### Version 1.26.0-SNAPSHOT - TBD (javadoc [lib](https://diffplug.github.io/spotless/javadoc/spotless-lib/snapshot/) [lib-extra](https://diffplug.github.io/spotless/javadoc/spotless-lib-extra/snapshot/), [snapshot repo](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/spotless/))
* Fix project URLs in poms. ([#478](https://github.com/diffplug/spotless/pull/478))

* Fix `ImportSorter` crashing with empty files. ([#474](https://github.com/diffplug/spotless/pull/474))
* Fixes [#305](https://github.com/diffplug/spotless/issues/305) StringIndexOutOfBoundsException for empty Groovy file when performing importOrder
Expand Down
8 changes: 4 additions & 4 deletions _ext/gradle/java-publish.gradle
Expand Up @@ -50,11 +50,11 @@ publishing {
resolveStrategy = Closure.DELEGATE_FIRST
name project.ext_artifactId
description project.ext_description
url "https://github.com/${project.ext_org}/${project.name}"
url "https://github.com/${project.ext_org}/${rootProject.name}"
scm {
url "https://github.com/${project.ext_org}/${project.name}"
connection "scm:git:git://github.com/${project.ext_org}/${project.name}"
developerConnection "scm:git:ssh:git@github.com/${project.ext_org}/${project.name}"
url "https://github.com/${project.ext_org}/${rootProject.name}"
connection "scm:git:https://github.com/${project.ext_org}/${rootProject.name}.git"
developerConnection "scm:git:ssh:git@github.com/${project.ext_org}/${rootProject.name}.git"
}
licenses {
license {
Expand Down
8 changes: 4 additions & 4 deletions gradle/java-publish.gradle
Expand Up @@ -86,11 +86,11 @@ model {
resolveStrategy = Closure.DELEGATE_FIRST
name project.ext.artifactId
description project.description
url "https://github.com/${project.org}/${project.name}"
url "https://github.com/${project.org}/${rootProject.name}"
scm {
url "https://github.com/${project.org}/${project.name}"
connection "scm:git:git://github.com/${project.org}/${project.name}"
developerConnection "scm:git:ssh:git@github.com/${project.org}/${project.name}"
url "https://github.com/${project.org}/${rootProject.name}"
connection "scm:git:https://github.com/${project.org}/${rootProject.name}.git"
developerConnection "scm:git:ssh:git@github.com/${project.org}/${rootProject.name}.git"
}
licenses {
license {
Expand Down
1 change: 1 addition & 0 deletions plugin-gradle/CHANGES.md
@@ -1,6 +1,7 @@
# spotless-plugin-gradle releases

### Version 3.26.0-SNAPSHOT - TBD ([javadoc](https://diffplug.github.io/spotless/javadoc/snapshot/), [snapshot](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/spotless/spotless-plugin-gradle/))
* Fix project URLs in poms. ([#478](https://github.com/diffplug/spotless/pull/478))

* Fix `ImportSorter` crashing with empty files. ([#474](https://github.com/diffplug/spotless/pull/474))
* Fixes [#305](https://github.com/diffplug/spotless/issues/305) StringIndexOutOfBoundsException for empty Groovy file when performing importOrder
Expand Down
1 change: 1 addition & 0 deletions plugin-maven/CHANGES.md
@@ -1,6 +1,7 @@
# spotless-plugin-maven releases

### Version 1.26.0-SNAPSHOT - TBD ([javadoc](https://diffplug.github.io/spotless/javadoc/spotless-maven-plugin/snapshot/), [snapshot](https://oss.sonatype.org/content/repositories/snapshots/com/diffplug/spotless/spotless-maven-plugin/))
* Fix project URLs in poms. ([#478](https://github.com/diffplug/spotless/pull/478))

* Fix `ImportSorter` crashing with empty files. ([#474](https://github.com/diffplug/spotless/pull/474))
* Fixes [#305](https://github.com/diffplug/spotless/issues/305) StringIndexOutOfBoundsException for empty Groovy file when performing importOrder
Expand Down

0 comments on commit 2259d1f

Please sign in to comment.