Skip to content

Conversation

@Anmol202005
Copy link
Collaborator

Fixes: #6
Configured pom.xml for maven central deployment.

pom.xml Outdated
<version>9</version>
</parent>

<groupId>org.checkstyle.autofix</groupId>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can org.checkstyle only for group.
it is ok to have plugins/tools to be just under "checkstyle"

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the patch-filter project I see latest master has <groupId>com.puppycrawl.tools</groupId>, shall we go with the same groupId? Better to agree on this now while we are still at the start of the project

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://repo1.maven.org/maven2/org/checkstyle

Is not existing, so it means it will be a special process to claim ownership of such domain.

Lets use group common for all , as Ruslan suggested
https://repo1.maven.org/maven2/com/puppycrawl/tools/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

@romani
Copy link
Member

romani commented Jun 8, 2025

I think we should not be obsessed to deploy to maven central jar too early.

We can always put jar to maven local repository and use special profile to activate openrewrite to fix code.

scenario:
user do code changes
use run "mvn verify"
it failing with errors
user run "mvn ..... -Pautofix" to fix violations.

it will help us take maturity withtout bothering much existing dev process of checkstyle. We will share knowledge on this, so users will likely to run it manually and give feedback and not be blocked if any problems happens with auto-fixes.

@rdiachenko
Copy link
Member

@Anmol202005 what's the status of this PR? Let's finish it

@rdiachenko
Copy link
Member

@Anmol202005 please resolve conflicts

@Anmol202005
Copy link
Collaborator Author

@Anmol202005 please resolve conflicts

done.

@Anmol202005 Anmol202005 force-pushed the deploy branch 2 times, most recently from 732d01d to 69258f2 Compare September 1, 2025 04:52
Copy link
Member

@rdiachenko rdiachenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change looks good to me. @romani please take a look when you have time as you have a better context regarding deployment to maven central

@rdiachenko
Copy link
Member

rebased on main

Copy link
Member

@romani romani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets go.

I will do release only after we make sure it works on SNAPSHOT version

@romani romani merged commit f042cc9 into checkstyle:main Sep 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy to Maven Central.

3 participants