Open Lonzak opened 11 months ago
Not sure if I'm able to create a new release based on the old groupId.
Maybe there is a way to do it the other way around... I'll check it
Ok I have read how it is done:
First a minimal pom.xml file for version 1.2.4 (not for 1.2.3 as I originally thought) would be created but under the old groupId. The POM files only need to include groupId, artifactId, version and the relocation section:
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.wisepersist</groupId>
<artifactId>gwt-uploader</artifactId>
<version>1.2.4</version>
<url>https://jiakuan.github.io/gwt-uploader/</url>
<distributionManagement>
<relocation>
<groupId>org.docstr</groupId>
</relocation>
</distributionManagement>
</project>
Not sure if I'm able to create a new release based on the old groupId.
Yeah, that would be a prerequisite to be able to do a (last) one time release under the old groupId... I hope it is possible because I think many people just don't know that there is a new version out there...
Thanks. I will have a look when I get a chance.
There are new versions of this project available. But for the new versions 1.2.4 and 1.2.5 the groupId of the artifact was changed - thus it seems that the old version is still the most current:
It would be really helpful for users and for automation tools like dependabot/renovatebot to be aware of this. There is an official mechanism for that. For example:
The idea is that the first new version (1.2.4) is once also released with the old groupId but with a minimal pom and a relocation entry: