{"id":15648582,"url":"https://github.com/halkeye/codacy-maven-plugin","last_synced_at":"2025-04-30T14:41:26.436Z","repository":{"id":10719737,"uuid":"66737945","full_name":"halkeye/codacy-maven-plugin","owner":"halkeye","description":"Maven plugin tod Create and upload coverage report to https://codacy.com","archived":false,"fork":false,"pushed_at":"2023-01-16T13:01:57.000Z","size":375,"stargazers_count":11,"open_issues_count":12,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-26T02:26:34.431Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halkeye.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-27T22:17:54.000Z","updated_at":"2023-10-22T23:38:59.000Z","dependencies_parsed_at":"2023-01-16T19:46:11.507Z","dependency_job_id":null,"html_url":"https://github.com/halkeye/codacy-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halkeye%2Fcodacy-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halkeye%2Fcodacy-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halkeye%2Fcodacy-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halkeye%2Fcodacy-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halkeye","download_url":"https://codeload.github.com/halkeye/codacy-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251722807,"owners_count":21633019,"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-10-03T12:25:21.479Z","updated_at":"2025-04-30T14:41:26.407Z","avatar_url":"https://github.com/halkeye.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.gavinmogan/codacy-maven-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.gavinmogan/codacy-maven-plugin/)\n# codacy-maven-plugin\n\nCreate and upload coverage report to https://codacy.com\n\n## Commandline Usage\n\n`mvn com.gavinmogan:codacy-maven-plugin:coverage -DcoverageReportFile=target/site/jacoco/jacoco.xml -DprojectToken=blah -DapiToken=blah`\n\nwhere: \n\n* *coverageReportFile* is either a Jacoco or Cobertura file\n* *projectToken* is your project token\n* *apiToken* is your api token\n\n## Enterprise\n\nTo send coverage in the enterprise version you should:\n```\nexport CODACY_API_BASE_URL=\u003cCodacy_instance_URL\u003e:16006\n```\n\n### Self Signed\n\nIn case your on-prem codacy server has a self-signed certificate, \nuse `-Dcodacy.trustSelfSignedCerts` in the command line, \nor configure the plugin in the `pom.xml` using:\n```xml\n\u003cconfiguration\u003e\n  \u003ctrustSelfSignedCerts\u003etrue\u003c/trustSelfSignedCerts\u003e\n\u003c/configuration\u003e\n```\n\n## POM Usage\n\n### Travis CI Example\n```xml\n\u003cprofiles\u003e\n      \u003cprofile\u003e\n          \u003cid\u003ecodecoverage\u003c/id\u003e\n          \u003cactivation\u003e\n              \u003cproperty\u003e\u003cname\u003eenv.TRAVIS\u003c/name\u003e\u003c/property\u003e\n          \u003c/activation\u003e\n          \u003cbuild\u003e\n              \u003cplugins\u003e\n                  \u003cplugin\u003e\n                      \u003cgroupId\u003ecom.gavinmogan\u003c/groupId\u003e\n                      \u003cartifactId\u003ecodacy-maven-plugin\u003c/artifactId\u003e\n                      \u003cversion\u003e1.2.0\u003c/version\u003e\n                      \u003cconfiguration\u003e\n                          \u003capiToken\u003e${env.CODACY_API_TOKEN}\u003c/apiToken\u003e\n                          \u003cprojectToken\u003e${env.CODACY_PROJECT_TOKEN}\u003c/projectToken\u003e\n                          \u003ccoverageReportFile\u003e${project.reporting.outputDirectory}/jacoco.xml\u003c/coverageReportFile\u003e\n                          \u003ccommit\u003e${env.TRAVIS_COMMIT}\u003c/commit\u003e\n                          \u003ccodacyApiBaseUrl\u003ehttps://api.codacy.com\u003c/codacyApiBaseUrl\u003e\n                          \u003cfailOnMissingReportFile\u003efalse\u003c/failOnMissingReportFile\u003e\n                      \u003c/configuration\u003e\n                      \u003cexecutions\u003e\n                          \u003cexecution\u003e\n                              \u003cid\u003epost-test\u003c/id\u003e\n                              \u003cphase\u003epost-integration-test\u003c/phase\u003e\n                              \u003cgoals\u003e\n                                  \u003cgoal\u003ecoverage\u003c/goal\u003e\n                              \u003c/goals\u003e\n                          \u003c/execution\u003e\n                      \u003c/executions\u003e\n                  \u003c/plugin\u003e\n              \u003c/plugins\u003e\n          \u003c/build\u003e\n      \u003c/profile\u003e\n  \u003c/profiles\u003e\n  ```\n\n## License\n\nMIT\n\n## Contributing\n\nI'm open to any and all forms of contribution. Documentation improvements, issues, pull requests, patches, test cases, etc.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalkeye%2Fcodacy-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalkeye%2Fcodacy-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalkeye%2Fcodacy-maven-plugin/lists"}