{"id":20678381,"url":"https://github.com/codecentric/check-staging-properties-maven-plugin","last_synced_at":"2025-04-19T21:17:02.182Z","repository":{"id":56623172,"uuid":"75624106","full_name":"codecentric/check-staging-properties-maven-plugin","owner":"codecentric","description":"Maven-plugin for checking the equality of several staging properties files","archived":false,"fork":false,"pushed_at":"2020-10-28T08:41:24.000Z","size":52,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":140,"default_branch":"master","last_synced_at":"2023-08-21T07:48:13.570Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://blog.codecentric.de/2017/01/staging-properties-maven-plugin/","language":"Java","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/codecentric.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}},"created_at":"2016-12-05T12:48:10.000Z","updated_at":"2020-12-04T12:41:43.000Z","dependencies_parsed_at":"2022-08-15T22:10:24.410Z","dependency_job_id":null,"html_url":"https://github.com/codecentric/check-staging-properties-maven-plugin","commit_stats":null,"previous_names":[],"tags_count":4,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcheck-staging-properties-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcheck-staging-properties-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcheck-staging-properties-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codecentric%2Fcheck-staging-properties-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codecentric","download_url":"https://codeload.github.com/codecentric/check-staging-properties-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224970087,"owners_count":17400344,"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-11-16T21:19:52.305Z","updated_at":"2024-11-16T21:19:52.840Z","avatar_url":"https://github.com/codecentric.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-staging-properties-maven-plugin\n\n[![GitHub license](https://img.shields.io/badge/license-Apache%202-blue.svg)](https://raw.githubusercontent.com/codecentric/check-staging-properties-maven-plugin/master/LICENSE)\n[![Build Status](https://travis-ci.org/codecentric/check-staging-properties-maven-plugin.svg?branch=master)](https://travis-ci.org/codecentric/check-staging-properties-maven-plugin)\n[![Codacy grade](https://img.shields.io/codacy/grade/8fd7bac6edac417a8451387286fe6917.svg)](https://www.codacy.com/app/britter/check-staging-properties-maven-plugin/dashboard)\n[![Coveralls](https://img.shields.io/coveralls/codecentric/check-staging-properties-maven-plugin.svg)](https://coveralls.io/github/codecentric/check-staging-properties-maven-plugin)\n[![Maven Central](https://img.shields.io/maven-central/v/de.codecentric/check-staging-properties-maven-plugin.svg)](https://maven-badges.herokuapp.com/maven-central/de.codecentric/check-staging-properties-maven-plugin/)\n\nMaven-plugin for checking the equality of several `.properties`-files for Mule applications (at least mostly used with, but not necessary). This plugin is perfect for you, if you have multiple `.properties`-files for different staging environments like `app-DEV.properties` or `app-PRD.properties` and you want to check if they correlate. It will check if:\n\n- sizes (number of keys) are equal,\n- name of the keys are equal and\n- all values are present.\n\n## Usage\n\nAdd the following lines to the `build \u003e plugins` section of your `pom.xml`. Here's an example:\n\n```xml\n\u003cplugin\u003e\n  \u003cgroupId\u003ede.codecentric\u003c/groupId\u003e\n  \u003cartifactId\u003echeck-staging-properties-maven-plugin\u003c/artifactId\u003e\n  \u003cversion\u003e1.0.4\u003c/version\u003e\n  \u003cexecutions\u003e\n    \u003cexecution\u003e\n      \u003cphase\u003everify\u003c/phase\u003e\n      \u003cgoals\u003e\n        \u003cgoal\u003echeck\u003c/goal\u003e\n      \u003c/goals\u003e\n    \u003c/execution\u003e\n  \u003c/executions\u003e\n  \u003cconfiguration\u003e\n    \u003cdirectory\u003esrc/main/resources\u003c/directory\u003e\n    \u003cgroups\u003e\n      \u003cgroup\u003ecredentials-(.*)\\.properties\u003c/group\u003e\n      \u003cgroup\u003esettings-(.*)\\.properties\u003c/group\u003e\n    \u003c/groups\u003e\n  \u003c/configuration\u003e\n\u003c/plugin\u003e\n```\n\n**Note:** The `configuration` section is optional. By default the plugin will search for properties in the `src/main/resources` directory and will break the Maven build if the properties are not equal. You can optionally pass a list of `groups` to group the checking of properties by filename.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecentric%2Fcheck-staging-properties-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodecentric%2Fcheck-staging-properties-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodecentric%2Fcheck-staging-properties-maven-plugin/lists"}