You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extract code-generation layer into its own repository #363
Follow-up of the simple-codegen extraction (#347/#348/#349): move the reusable annotation-processing/code-generation layer (package root org.javahelpers.simple.codegen, SPI ClassCodeGenerator) out of simple-builders into a dedicated repository/artifact, carrying over what we already learned here (decoupled context, injected options, neutral SPI seam). simple-builders then consumes it as a normal dependency.|
Trial run with git filter-repo on a scratch clone: following the renames of all 147 current files keeps 126 of 339 commits, back to Initiale Version, with original authors and dates. git log --follow on e.g. RoasterCodeGenerator reaches JBoss Roaster migration #139 (Roaster migration).
Builder-side references to codegen: root pom.xml modules and Sonar paths, fork-sonar.yml, dependency-review.yml, processor/example-custom-generator dependencies, and the docs.
Plan
Create the new repo without forking. Create java-helpers/codegen (named after the groupId io.github.java-helpers.codegen) as a normal empty repo, not via "Fork", so GitHub has no fork relation and no sync-back. The new repo never gets a remote pointing to simple-builders.
Carry over the history. In a fresh clone of simple-builders:
Release codegen first. Publish io.github.java-helpers.codegen:*:0.1.0 to Central.
Switch simple-builders over in one PR.
Delete the 4 modules and depend on the released codegen version (property codegen.version).
Clean up the root pom, Sonar and CI paths, dependency-review.yml and the docs, and link the new repo in the README.
simple-builders history is not rewritten; it keeps everything up to the cut.
Development across both repos: a codegen change is released (or installed locally as a SNAPSHOT), then simple-builders bumps the version. Dependabot or Renovate can propose those bumps.
Activity
igel-devin-ai commentedon Nov 24, 2026
Investigation and rough plan
Findings (checked on
main@3cb0776)codegen-core,simple-processor,codegen-roaster,codegen-testing.io.github.java-helpers.codegen, and the poms have no parent.org.javahelpers.simple.buildersor thecoremodule, so the cut is clean.processor/(e.g.processor/.../classgen,processor/.../codegen/processing), and a few files came fromcore//annotations/.git filter-repoon a scratch clone: following the renames of all 147 current files keeps 126 of 339 commits, back toInitiale Version, with original authors and dates.git log --followon e.g.RoasterCodeGeneratorreaches JBoss Roaster migration #139 (Roaster migration).pom.xmlmodules and Sonar paths,fork-sonar.yml,dependency-review.yml,processor/example-custom-generatordependencies, and the docs.Plan
java-helpers/codegen(named after the groupIdio.github.java-helpers.codegen) as a normal empty repo, not via "Fork", so GitHub has no fork relation and no sync-back. The new repo never gets a remote pointing to simple-builders.git filter-repo --paths-from-filewith the current module dirs plus every historical path of their files, so the history from before codegen: extract codegen modules (codegen-core, codegen-roaster, simple-processor, codegen-testing) #368 is kept.--replace-messagerewrites#123tojava-helpers/simple-builders#123, so old PR/issue references don't link to the wrong numbers in the new repo.v0.x) are dropped; the first codegen release gets its own tag.main. Commit SHAs change; that can't be avoided when splitting a repo.maven.yml, CodeQL, dependency review, Sonar/Codecov, Central release), Dependabot andSECURITY/CONTRIBUTING/LICENSE.io.github.java-helpers.codegen:*:0.1.0to Central.codegen.version).dependency-review.ymland the docs, and link the new repo in the README.Decisions
java-helpers/codegen.0.1.0.#nreferences are rewritten tojava-helpers/simple-builders#n; content, authors and dates stay unchanged.Still open
simple-processortocodegen-processorwith the 0.1.0 start?Written by Devin