Skip to content

Commit d2fa8a1

Browse files
authored
fix(server): adjust POM to work with Renovate (#1364)
Part of #1318. Mentioning github-workflows-kt's URL in action binding's POM is a bad idea, it makes Renovate think that this Maven package is a part of github-workflows-kt monorepo which is wrong. Also removing some unneeded fields.
1 parent 336c9f5 commit d2fa8a1

File tree

1 file changed

+4
-17
lines changed
  • maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding

1 file changed

+4
-17
lines changed

maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/PomBuilding.kt

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,11 @@ internal fun buildPomFile(
1414
<version>$version</version>
1515
<name>$name</name>
1616
<description>Auto-generated binding for $owner/$name@$version.</description>
17-
<url>https://github.com/typesafegithub/github-workflows-kt</url>
18-
<licenses>
19-
<license>
20-
<name>Apache License, version 2.0</name>
21-
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
22-
</license>
23-
</licenses>
24-
<developers>
25-
<developer>
26-
<id>typesafegithub</id>
27-
<name>Piotr Krzemiński</name>
28-
<email>[email protected]</email>
29-
</developer>
30-
</developers>
17+
<url>https://github.com/$owner/$name</url>
3118
<scm>
32-
<connection>scm:git:git://github.com/typesafegithub/github-workflows-kt.git/</connection>
33-
<developerConnection>scm:git:ssh://github.com:typesafegithub/github-workflows-kt.git</developerConnection>
34-
<url>https://github.com/typesafegithub/github-workflows-kt.git</url>
19+
<connection>scm:git:git://github.com/$owner/$name.git/</connection>
20+
<developerConnection>scm:git:ssh://github.com:$owner/$name.git</developerConnection>
21+
<url>https://github.com/$owner/$name.git</url>
3522
</scm>
3623
<dependencies></dependencies>
3724
</project>

0 commit comments

Comments
 (0)