{"id":22389909,"url":"https://github.com/entando/entando-code-style","last_synced_at":"2026-01-06T06:41:52.285Z","repository":{"id":80028234,"uuid":"206331497","full_name":"entando/entando-code-style","owner":"entando","description":"Entando code-style repository","archived":false,"fork":false,"pushed_at":"2020-10-05T11:18:45.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-01T03:28:06.269Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/entando.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":"2019-09-04T13:54:54.000Z","updated_at":"2020-10-05T11:17:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab2fda23-ed3c-4125-b4e1-98819c31123e","html_url":"https://github.com/entando/entando-code-style","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-code-style","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-code-style/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-code-style/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/entando%2Fentando-code-style/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/entando","download_url":"https://codeload.github.com/entando/entando-code-style/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245738047,"owners_count":20664210,"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":[],"created_at":"2024-12-05T03:13:36.777Z","updated_at":"2026-01-06T06:41:52.246Z","avatar_url":"https://github.com/entando.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# entando-code-style\nPurpose of this repository is to collect the\ncode-style rules we are adopting in Entando and\nto propose updates to the rules that are accepted by\nEntando's developers\n\n## Import code style configuration on your favorite IDE\nTo make sure that the code written is formatted properly and adhere to Checkstyle rules,\nwe have created code style configuration for the 3 main Java IDEs (Intellij IDEA,\nApache NetBeans and Eclipse).\n\n### Import the code style on Intellij IDEA\nGo to **Settings -\u003e Editor -\u003e Code Style**. Click on the Gear Icon from the Scheme field\nand select **Import Scheme -\u003e Intellij IDEA code style XML**. Choose the Intellij configuration\nfile in config/intellij-java-entando-style.xml\n\n### Import the code style on Apache NetBeans\nGo to **Tools -\u003e Options**. Click on **Import...** and choose the NetBeans configuration\nfile in config/netbeans-java-entando-style.zip\n\n### Import the code style on Eclipse\nGo to **Window -\u003e Preferences -\u003e Java -\u003e Code Style -\u003e Formatter** and click on **Import...**.\nChoose the Eclipse configuration file in config/eclipse-java-entando-style.xml\n\nAfter that go to **Window -\u003e Preferences -\u003e Java -\u003e Code Style -\u003e Organize Imports** and\nremove everything from the Field **Define the sorting order of import...**\n\n## PMD version\n\nThe Maven PMD Plugin does not use the latest PMD version. At the time of this writing,\nmaven-pmd-plugin version 3.12.0 uses PMD 6.13.0. To use the latest PMD version, add the \nfollowing configuration to `pom.xml`:\n\n```xml\n\u003cproject\u003e\n  \u003cproperties\u003e\n    \u003cpmd-version\u003e...choose your version...\u003c/pmd-version\u003e\n  \u003c/properties\u003e\n...\n  \u003cbuild\u003e\n    \u003cpluginManagement\u003e\n      \u003cplugins\u003e\n        \u003cplugin\u003e\n          \u003cgroupId\u003eorg.apache.maven.plugins\u003c/groupId\u003e\n          \u003cartifactId\u003emaven-pmd-plugin\u003c/artifactId\u003e\n          \u003cversion\u003e3.12.0\u003c/version\u003e\n          \u003cdependencies\u003e\n            \u003cdependency\u003e\n              \u003cgroupId\u003enet.sourceforge.pmd\u003c/groupId\u003e\n              \u003cartifactId\u003epmd-core\u003c/artifactId\u003e\n              \u003cversion\u003e${pmd-version}\u003c/version\u003e\n            \u003c/dependency\u003e\n            \u003cdependency\u003e\n              \u003cgroupId\u003enet.sourceforge.pmd\u003c/groupId\u003e\n              \u003cartifactId\u003epmd-java\u003c/artifactId\u003e\n              \u003cversion\u003e${pmd-version}\u003c/version\u003e\n            \u003c/dependency\u003e\n          \u003c/dependencies\u003e\n        \u003c/plugin\u003e\n      \u003c/plugins\u003e\n    \u003c/pluginManagement\u003e\n  \u003c/build\u003e\n...\n\u003c/project\u003e\n``` \n\nGet the latest PMD version from their homepage: https://pmd.github.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentando%2Fentando-code-style","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fentando%2Fentando-code-style","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fentando%2Fentando-code-style/lists"}