Skip to content

Commit 1164f5e

Browse files
author
TheSnoozer
committed
#569: Silly attempt to perhaps fix the "broken" 4.9.9 release
Under the old coordinates ```xml <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> ``` I just had published a relocation pom, so my theory is that maven attempts to locate the jar under the new coordinates: ```xml <groupId>io.github.git-commit-id</groupId> <artifactId>git-commit-id-maven-plugin</artifactId> ``` This is the preparation to publish a "matching" 4.9.9 release under the new coordinates. Let's hope we don't need hotfixes, otherwise version numbers get awkward.
1 parent 8a73ae9 commit 1164f5e

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

core/pom.xml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@
55
<parent>
66
<groupId>pl.project13.maven</groupId>
77
<artifactId>git-commit-id-plugin-parent</artifactId>
8-
<version>5.0.0-SNAPSHOT</version>
8+
<version>4.9.9-SNAPSHOT</version>
99
<relativePath>../pom.xml</relativePath>
1010
</parent>
1111

12+
<groupId>io.github.git-commit-id</groupId>
1213
<artifactId>git-commit-id-plugin-core</artifactId>
1314
<name>Git Commit Id Plugin Core</name>
1415

@@ -21,6 +22,17 @@
2122
<junit.version>4.13.2</junit.version>
2223
</properties>
2324

25+
<distributionManagement>
26+
<snapshotRepository>
27+
<id>ossrh</id>
28+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
29+
</snapshotRepository>
30+
<repository>
31+
<id>ossrh</id>
32+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
33+
</repository>
34+
</distributionManagement>
35+
2436
<build>
2537
<plugins>
2638
<!-- Setting built-in java compiler properties -->

maven/pom.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@
44
<parent>
55
<groupId>pl.project13.maven</groupId>
66
<artifactId>git-commit-id-plugin-parent</artifactId>
7-
<version>5.0.0-SNAPSHOT</version>
7+
<version>4.9.9-SNAPSHOT</version>
88
<relativePath>../pom.xml</relativePath>
99
</parent>
1010

11-
<artifactId>git-commit-id-plugin</artifactId>
11+
<groupId>io.github.git-commit-id</groupId>
12+
<artifactId>git-commit-id-maven-plugin</artifactId>
1213
<packaging>maven-plugin</packaging>
13-
<version>5.0.0-SNAPSHOT</version>
14+
<version>4.9.9-SNAPSHOT</version>
1415
<name>Git Commit Id Maven Plugin</name>
1516
<description>
1617
This plugin makes basic repository information available through maven resources. This can be used to display
@@ -23,6 +24,17 @@
2324
<maven>[${maven-plugin-api.version},)</maven>
2425
</prerequisites>
2526

27+
<distributionManagement>
28+
<snapshotRepository>
29+
<id>ossrh</id>
30+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
31+
</snapshotRepository>
32+
<repository>
33+
<id>ossrh</id>
34+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
35+
</repository>
36+
</distributionManagement>
37+
2638
<properties>
2739
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2840
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<groupId>pl.project13.maven</groupId>
1111
<artifactId>git-commit-id-plugin-parent</artifactId>
1212
<packaging>pom</packaging>
13-
<version>5.0.0-SNAPSHOT</version>
13+
<version>4.9.9-SNAPSHOT</version>
1414
<name>Git Commit Id Plugin Parent</name>
1515
<url>http://www.blog.project13.pl</url>
1616

0 commit comments

Comments
 (0)