refactor!: repackage dev.sonarcli -> io.github.randomcodespace.sonarpredict#7
Merged
Conversation
…redict
Java package + on-disk layout now match the Maven coordinates:
groupId io.github.randomcodespace.sonarpredict (unchanged)
package io.github.randomcodespace.sonarpredict.{cli,daemon,protocol}
Changes
src/{main,test}/java/dev/sonarcli/ -> io/github/randomcodespace/sonarpredict/
via git mv so history is preserved
package + import + FQCN refs sed-replaced across 118 .java files
pom.xml shade mainClass entries updated:
SonarCommand: io.github.randomcodespace.sonarpredict.cli.SonarCommand
DaemonMain: io.github.randomcodespace.sonarpredict.daemon.DaemonMain
TestPathDetectorTest sample paths updated to single-module layout
Verify
mvn -B -ntp clean verify -Dsurefire.failIfNoSpecifiedTests=false -> BUILD SUCCESS
323/323 tests pass
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Java packages and on-disk layout now match the Maven coordinates.
dev.sonarcli.cli.*io.github.randomcodespace.sonarpredict.cli.*dev.sonarcli.daemon.*io.github.randomcodespace.sonarpredict.daemon.*dev.sonarcli.protocol.*io.github.randomcodespace.sonarpredict.protocol.*Maven
groupIdis unchanged — it was alreadyio.github.randomcodespace.sonarpredict. This rename closes the gap between the Maven GAV and the Java package, so every artifact / class / FQCN reads from the same namespace.Mechanics
git mv src/{main,test}/java/dev/sonarcli/{cli,daemon,protocol}→io/github/randomcodespace/sonarpredict/...(history preserved as renames)^(package|import|import static) dev.sonarcli.→ new prefixdev.sonarcli.protocol.dto.Issueetc. in javadoc / strings / qualified expressions)<mainClass>entries updated for bothSonarCommandandDaemonMaindaemon/src/...→src/..., old package → new)Verify
Breaking changes
Test plan
mvn clean verifygreen locally (323 tests)test,Self-scan,Scan parity,SonarCloud Code Analysisall greenv0.2.0tag whenever you're ready (publish.ymlhandles Maven Central + GitHub Release)