{"id":20207840,"url":"https://github.com/exasol/error-code-crawler-maven-plugin","last_synced_at":"2025-10-13T12:42:20.874Z","repository":{"id":37487625,"uuid":"302643280","full_name":"exasol/error-code-crawler-maven-plugin","owner":"exasol","description":"Validator and crawler for exasol-error-codes in Java code","archived":false,"fork":false,"pushed_at":"2025-06-11T22:21:29.000Z","size":282,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-06-12T02:54:17.718Z","etag":null,"topics":["catalog","crawler","error-handling","error-report","error-reporting","exasol","exasol-integration","java","unification"],"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/exasol.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,"zenodo":null}},"created_at":"2020-10-09T13:04:39.000Z","updated_at":"2025-06-02T13:13:38.000Z","dependencies_parsed_at":"2023-02-10T23:31:08.097Z","dependency_job_id":"7011a950-38d8-4bfe-9f70-4fc5ba24861a","html_url":"https://github.com/exasol/error-code-crawler-maven-plugin","commit_stats":{"total_commits":48,"total_committers":7,"mean_commits":6.857142857142857,"dds":"0.41666666666666663","last_synced_commit":"8fa4abe10884e46b2cd1f6ced24e17a9ef2df7da"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"purl":"pkg:github/exasol/error-code-crawler-maven-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exasol%2Ferror-code-crawler-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exasol%2Ferror-code-crawler-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exasol%2Ferror-code-crawler-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exasol%2Ferror-code-crawler-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/exasol","download_url":"https://codeload.github.com/exasol/error-code-crawler-maven-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/exasol%2Ferror-code-crawler-maven-plugin/sbom","scorecard":{"id":387592,"data":{"date":"2025-08-11","repo":{"name":"github.com/exasol/error-code-crawler-maven-plugin","commit":"9ee5fd0dce968ec3e1fb1dfb44eb245f63e7dadc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.6,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/broken_links_checker.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/broken_links_checker.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/broken_links_checker.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/broken_links_checker.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:101: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci-build.yml:117: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:140: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:146: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:177: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci-build.yml:183: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/ci-build.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies_check.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_check.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies_check.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_check.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependencies_check.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_check.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies_update.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_update.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies_update.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_update.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependencies_update.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_update.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependencies_update.yml:152: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_update.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependencies_update.yml:166: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/dependencies_update.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:87: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:218: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:232: update your workflow using https://app.stepsecurity.io/secureworkflow/exasol/error-code-crawler-maven-plugin/release.yml/main?enable=pin","Info:   0 out of  18 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   7 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":7,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/broken_links_checker.yml:13","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-build.yml:131","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-build.yml:168","Info: jobLevel 'issues' permission set to 'read': .github/workflows/ci-build.yml:169","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ci-build.yml:213","Info: jobLevel 'actions' permission set to 'read': .github/workflows/ci-build.yml:214","Info: jobLevel 'issues' permission set to 'read': .github/workflows/ci-build.yml:215","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ci-build.yml:26","Info: jobLevel 'issues' permission set to 'read': .github/workflows/ci-build.yml:27","Info: jobLevel 'contents' permission set to 'read': .github/workflows/dependencies_check.yml:17","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/dependencies_check.yml:73","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/dependencies_update.yml:20","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:50","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release.yml:51","Info: jobLevel 'issues' permission set to 'read': .github/workflows/release.yml:52","Warn: no topLevel permission defined: .github/workflows/broken_links_checker.yml:1","Warn: no topLevel permission defined: .github/workflows/ci-build.yml:1","Warn: no topLevel permission defined: .github/workflows/dependencies_check.yml:1","Warn: no topLevel permission defined: .github/workflows/dependencies_update.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.0.4 not signed: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/224950890","Warn: release artifact 2.0.3 not signed: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/150941763","Warn: release artifact 2.0.2 not signed: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/149587462","Warn: release artifact 2.0.1 not signed: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/144207318","Warn: release artifact 2.0.0 not signed: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/134731674","Warn: release artifact 2.0.4 does not have provenance: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/224950890","Warn: release artifact 2.0.3 does not have provenance: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/150941763","Warn: release artifact 2.0.2 does not have provenance: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/149587462","Warn: release artifact 2.0.1 does not have provenance: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/144207318","Warn: release artifact 2.0.0 does not have provenance: https://api.github.com/repos/exasol/error-code-crawler-maven-plugin/releases/134731674"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 1 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-j288-q9x7-2f5v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T17:01:35.347Z","repository_id":37487625,"created_at":"2025-08-18T17:01:35.348Z","updated_at":"2025-08-18T17:01:35.348Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015057,"owners_count":26085643,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["catalog","crawler","error-handling","error-report","error-reporting","exasol","exasol-integration","java","unification"],"created_at":"2024-11-14T05:32:45.786Z","updated_at":"2025-10-13T12:42:20.853Z","avatar_url":"https://github.com/exasol.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Error Code Crawler\n\n[![Build Status](https://github.com/exasol/error-code-crawler-maven-plugin/actions/workflows/ci-build.yml/badge.svg)](https://github.com/exasol/error-code-crawler-maven-plugin/actions/workflows/ci-build.yml)\n[![Maven Central \u0026ndash; error-code-crawler-maven-plugin](https://img.shields.io/maven-central/v/com.exasol/error-code-crawler-maven-plugin)](https://search.maven.org/artifact/com.exasol/error-code-crawler-maven-plugin)\n\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=alert_status)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n\n[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Technical Debt](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=sqale_index)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n\n[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=code_smells)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=coverage)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=duplicated_lines_density)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=com.exasol%3Aerror-code-crawler-maven-plugin\u0026metric=ncloc)](https://sonarcloud.io/dashboard?id=com.exasol%3Aerror-code-crawler-maven-plugin)\n\nThis maven plugin analyzes invocations of the [Exasol error code builder](https://github.com/exasol/error-reporting-java/) from Java source code. It runs some validations on these definitions, for example, that no error code is defined twice.\n\n[Features](doc/requirements.md)\n\n## Installation\n\nAdd the plugin to your `pom.xml`:\n\n```xml\n\u003cplugins\u003e\n    \u003cplugin\u003e\n        \u003cgroupId\u003ecom.exasol\u003c/groupId\u003e\n        \u003cartifactId\u003eerror-code-crawler-maven-plugin\u003c/artifactId\u003e\n        \u003cversion\u003eLATEST VERSION\u003c/version\u003e\n        \u003cexecutions\u003e\n            \u003cexecution\u003e\n                \u003cgoals\u003e\n                    \u003cgoal\u003everify\u003c/goal\u003e\n                \u003c/goals\u003e\n            \u003c/execution\u003e\n        \u003c/executions\u003e\n    \u003c/plugin\u003e\n\u003c/plugins\u003e\n```\n\nThis will add the plugin to the maven `verify` lifecycle phase.\n\n## Configuration\n\nEach project has an individual error-tag (e.g. `EXM`). Different sub packages within the project can have different sub tags (`EXM-MODEL`). This plugin validates that the classes of the project only use the corresponding short tag.\n\nFor that you need to configure the project's error-tag mapping in the `error_code_config.yml` file stored in your project's root directory.\n\nExample:\n\n```yaml\nerror-tags:\n  EXM:\n    packages:\n      - com.exasol.example\n    highest-index: 3\n  EXM-MODEL:\n    packages:\n      - com.exasol.example.model\n    highest-index: 0\n```\n\nThis configuration defines which java-packages or classes belong to which error code short tag. A package always includes all sub packages. If two error-tags match, the crawler will take the more specific one.\n\nFor example the class `com.exasol.example.model.Test` belongs to a sub package of `com.exasol.example` --\u003e `ECM` and to `com.exasol.example.model` --\u003e `ECM-MODEL`. Since the last package name is more specific (longer) this crawler will validate the tag `ECM-MODEL` for these classes. It will not accept `ECM` there.\n\nThe `highest-index` property contains the index of the last error code declaration. So in the example the highest error code could be `E-EXM-3`. This plugin validates that value of this property is higher or equal than the actual highest. You can safely use this property to determine the next error code.\n\nFor the moment the value of this property needs to be updated manually.\n\n### Excludes\n\nIn some very rare cases you may want to exclude some files from crawling. But we don't recommend excluding files.\n\nYou can define the excludes by adding the following configuration to the maven-plugin:\n\n```xml\n\n\u003cconfiguration\u003e\n    \u003cexcludes\u003e\n        \u003cexclude\u003e**/MyTest.java\u003c/exclude\u003e\n    \u003c/excludes\u003e\n\u003c/configuration\u003e\n```\n\nThe excludes only affect the validation \u0026mdash; not compiling. So if the specific file has syntax errors, excluding won't help.\n\n**Keep in mind that error codes from excluded files will not show up in the error catalog and are not validated. So use this option with care!**\n\n### Source Path\n\nECM allows you to override the source directories that it crawls.\n\nA common use case for this is when you use [project Lombok](https://projectlombok.org/) in your project. In that case crawling the regular sources will fail since the ECM can't find some sources. To fix this you can use the [lombok-maven-plugin](http://anthonywhitford.com/lombok.maven/lombok-maven-plugin/). This plugin applies the Lombok annotations and generates new source code. To tell ECM to crawl these sources instead use:\n\n```xml\n\u003cconfiguration\u003e\n    \u003csourcePaths\u003e\n        \u003csourcePath\u003etarget/generated-sources/delombok\u003c/sourcePath\u003e\n        \u003csourcePath\u003etarget/generated-test-sources/delombok\u003c/sourcePath\u003e\n    \u003c/sourcePaths\u003e\n\u003c/configuration\u003e\n```\n\nFor a working example project with Lombok and error-code-crawler take a look at the [virtual-schema-common-document](https://github.com/exasol/virtual-schema-common-document).\n\nIf you specify a source path, the plugin assumes that it's generated sources, and for that reason will not add the source location (file + line number) to the report.\n\n## Usage\n\nYou can also invoke this plugin manually using `mvn error-code-crawler:verify`.\n\nYou can skip the execution of this plugin by either \n\n* adding `-Derror-code-crawler.skip=true` to your Maven command\n* setting the property in your `pom.xml` (recommended):\n    ```xml\n    \u003cerror-code-crawler.skip\u003etrue\u003c/error-code-crawler.skip\u003e\n    ````\n* specifying the following configuration in `pom.xml`:\n    ```xml\n    \u003cconfiguration\u003e\n        \u003cskip\u003etrue\u003c/skip\u003e\n    \u003c/configuration\u003e\n    ```\n\n## Additional Information\n\n* [Changelog](doc/changes/changelog.md)\n* [License](LICENSE)\n* [Dependencies](dependencies.md)\n* [Features and Requirements](doc/requirements.md)\n* [Design](doc/design.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexasol%2Ferror-code-crawler-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexasol%2Ferror-code-crawler-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexasol%2Ferror-code-crawler-maven-plugin/lists"}