{"id":42044625,"url":"https://github.com/subchen/java-formatter-maven-plugin","last_synced_at":"2026-01-26T06:06:40.580Z","repository":{"id":52539344,"uuid":"188395039","full_name":"subchen/java-formatter-maven-plugin","owner":"subchen","description":"Formats your java code using maven","archived":false,"fork":false,"pushed_at":"2025-05-10T11:21:25.000Z","size":57,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-10T12:25:21.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subchen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2019-05-24T09:37:23.000Z","updated_at":"2025-05-10T11:20:44.000Z","dependencies_parsed_at":"2025-05-10T12:23:52.146Z","dependency_job_id":"11ba33ce-9b89-430c-b512-86e051b3de01","html_url":"https://github.com/subchen/java-formatter-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/subchen/java-formatter-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subchen%2Fjava-formatter-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subchen%2Fjava-formatter-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subchen%2Fjava-formatter-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subchen%2Fjava-formatter-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subchen","download_url":"https://codeload.github.com/subchen/java-formatter-maven-plugin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subchen%2Fjava-formatter-maven-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28768074,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T03:54:34.369Z","status":"ssl_error","status_checked_at":"2026-01-26T03:54:33.031Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2026-01-26T06:06:39.866Z","updated_at":"2026-01-26T06:06:40.573Z","avatar_url":"https://github.com/subchen.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven](https://img.shields.io/maven-central/v/com.github.subchen/java-formatter-maven-plugin.svg?style=flat\u0026label=java-formatter-maven-plugin)](https://search.maven.org/search?q=a:java-formatter-maven-plugin)\n[![Build Status](https://github.com/subchen/java-formatter-maven-plugin/actions/workflows/maven-publish.yml/badge.svg)](https://github.com/subchen/java-formatter-maven-plugin/actions/workflows/maven-publish.yml)\n[![Coverity Scan Build Status](https://scan.coverity.com/projects/subchen-java-formatter-maven-plugin/badge.svg?flat=1)](https://scan.coverity.com/projects/subchen-java-formatter-maven-plugin)\n[![JDK](http://img.shields.io/badge/JDK-v8.0+-yellow.svg)](http://www.oracle.com/technetwork/java/javase/downloads/index.html)\n[![License](http://img.shields.io/badge/License-Apache_2-red.svg)](http://www.apache.org/licenses/LICENSE-2.0)\n\n# java-formatter-maven-plugin\n\nFormats your java code using maven\n\n## Usage\n\nTo have your sources automatically formatted on each build, add to your `pom.xml`:\n\n```xml\n\u003cplugin\u003e\n    \u003cgroupId\u003ecom.github.subchen\u003c/groupId\u003e\n    \u003cartifactId\u003ejava-formatter-maven-plugin\u003c/artifactId\u003e\n    \u003cversion\u003e2.0.0\u003c/version\u003e\n    \u003cexecutions\u003e\n        \u003cexecution\u003e\n            \u003cphase\u003eprocess-sources\u003c/phase\u003e\n            \u003cgoals\u003e\n                \u003cgoal\u003eformat\u003c/goal\u003e\n            \u003c/goals\u003e\n        \u003c/execution\u003e\n    \u003c/executions\u003e\n\u003c/plugin\u003e\n```\n\n- 1.x for Java 8\n- 2.x for Java 11+\n\n### Command line\n\n```bash\nmvn java-formatter:format\n\nor\n\nmvn process-sources\n```\n\n## Eclipse \u0026 IntelliJ IDEA\n\nDownload \u0026 Import config file into Eclipse IDE. If you are using IntelliJ IDEA, please install `Eclipse Code Formmater` plugin.\n\nhttps://github.com/subchen/java-formatter-maven-plugin/blob/master/src/main/resources/java-formatter.xml\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubchen%2Fjava-formatter-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubchen%2Fjava-formatter-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubchen%2Fjava-formatter-maven-plugin/lists"}