{"id":19603591,"url":"https://github.com/claudioaltamura/java-husky-commitizen-maven-spotless-example","last_synced_at":"2026-05-02T05:31:59.151Z","repository":{"id":197765939,"uuid":"620744797","full_name":"claudioaltamura/java-husky-commitizen-maven-spotless-example","owner":"claudioaltamura","description":"Java example with Husky, Commitizen and Maven Spotless","archived":false,"fork":false,"pushed_at":"2024-05-31T14:37:08.000Z","size":149,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-26T15:47:52.297Z","etag":null,"topics":["commitizen","husky","java","maven","spotless"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/claudioaltamura.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-29T09:37:26.000Z","updated_at":"2024-05-31T14:37:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"240f5194-de6f-44a5-8da6-5609a9499c99","html_url":"https://github.com/claudioaltamura/java-husky-commitizen-maven-spotless-example","commit_stats":null,"previous_names":["claudioaltamura/java-husky-commitizen-maven-spotless-example"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/claudioaltamura/java-husky-commitizen-maven-spotless-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudioaltamura%2Fjava-husky-commitizen-maven-spotless-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudioaltamura%2Fjava-husky-commitizen-maven-spotless-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudioaltamura%2Fjava-husky-commitizen-maven-spotless-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudioaltamura%2Fjava-husky-commitizen-maven-spotless-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/claudioaltamura","download_url":"https://codeload.github.com/claudioaltamura/java-husky-commitizen-maven-spotless-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/claudioaltamura%2Fjava-husky-commitizen-maven-spotless-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260458495,"owners_count":23012494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commitizen","husky","java","maven","spotless"],"created_at":"2024-11-11T09:30:24.722Z","updated_at":"2026-05-02T05:31:59.106Z","avatar_url":"https://github.com/claudioaltamura.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"![GitHub Workflow Status (with branch)](https://img.shields.io/github/actions/workflow/status/claudioaltamura/java-husky-commitizen-maven-spotless-example/maven-build.yaml?branch=main)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# java-husky-commitizen-maven-spotless-example\njava-husky-commitizen-maven-spotless-example\n\n## Husky\n\n### Install\n\n    npm install husky --save-dev\n\n### Configure\n\nAdd a hook\n\n    npx husky add .husky/pre-commit \"mvn spotless:check\"\n\n## commitlint\n\n### Install commitlint\n\n    npm install --save-dev @commitlint/{cli,config-conventional,prompt-cli}\n\n### Configure\n\n    echo \"module.exports = {extends: ['@commitlint/config-conventional']};\" \u003e commitlint.config.js\n\n### Add another hook\n\n    npx husky add .husky/commit-msg  'npx --no -- commitlint --edit ${1}'\n\n### Test hook commit-msg\n\n    see https://typicode.github.io/husky/guide.html#test-hooks\n\n    git commit -m \"new: initial commit\"\n\n    ⧗   input: new: initial commit\n    ✖   type must be one of [build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test] [type-enum]\n\n    ✖   found 1 problems, 0 warnings\n    ⓘ   Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint\n\n    husky - commit-msg hook exited with code 1 (error)\n\nsee https://github.com/conventional-changelog/commitlint/#what-is-commitlint\n\n### Bypass a commit\n\n    git commit -m \"yolo!\" --no-verify\n\n\n## Commitizen\n\n### Install\n\n    npm install -g commitizen\n\n### Configure\n\n    commitizen init cz-conventional-changelog --save-dev --save-exact\n\n### Use\n\n    git cz\n\n\n### Override\n\n    git commit -m \"override cz\" --no-verify\n\n## Links\n\nhttps://typicode.github.io/husky/#/?id=install\n\nhttps://commitlint.js.org/#/guides-local-setup\n\nhttp://commitizen.github.io/cz-cli/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudioaltamura%2Fjava-husky-commitizen-maven-spotless-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclaudioaltamura%2Fjava-husky-commitizen-maven-spotless-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclaudioaltamura%2Fjava-husky-commitizen-maven-spotless-example/lists"}