{"id":18299812,"url":"https://github.com/containersolutions/minimesos-maven-plugin","last_synced_at":"2025-04-09T09:24:47.800Z","repository":{"id":48584775,"uuid":"54656632","full_name":"ContainerSolutions/minimesos-maven-plugin","owner":"ContainerSolutions","description":"A Maven plugin for minimesos. Control your minimesos cluster from Maven","archived":false,"fork":false,"pushed_at":"2017-05-17T13:49:08.000Z","size":19,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-15T03:29:13.520Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.minimesos.org","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/ContainerSolutions.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-03-24T16:22:01.000Z","updated_at":"2019-04-28T04:46:13.000Z","dependencies_parsed_at":"2022-09-03T10:00:50.384Z","dependency_job_id":null,"html_url":"https://github.com/ContainerSolutions/minimesos-maven-plugin","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/ContainerSolutions%2Fminimesos-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fminimesos-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fminimesos-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ContainerSolutions%2Fminimesos-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ContainerSolutions","download_url":"https://codeload.github.com/ContainerSolutions/minimesos-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248009931,"owners_count":21032825,"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-05T15:10:25.581Z","updated_at":"2025-04-09T09:24:47.765Z","avatar_url":"https://github.com/ContainerSolutions.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# minimesos-maven-plugin\nA Maven plugin for minimesos. Control your minimesos cluster from your pom.\n\n# Quick start\nAdd the following plugin to your pom:\n\n```\n\u003cpluginRepositories\u003e\n    \u003cpluginRepository\u003e\n        \u003cid\u003ejitpack.io\u003c/id\u003e\n        \u003curl\u003ehttps://jitpack.io\u003c/url\u003e\n    \u003c/pluginRepository\u003e\n\u003c/pluginRepositories\u003e\n\n\u003cbuild\u003e\n    \u003cplugins\u003e\n        \u003cplugin\u003e\n        \u003cgroupId\u003ecom.github.ContainerSolutions\u003c/groupId\u003e\n        \u003cartifactId\u003eminimesos-maven-plugin\u003c/artifactId\u003e\n            \u003cexecutions\u003e\n                \u003cexecution\u003e\n                    \u003cid\u003estart\u003c/id\u003e\n                    \u003cphase\u003epre-integration-test\u003c/phase\u003e\n                    \u003cgoals\u003e\n                        \u003cgoal\u003estart\u003c/goal\u003e\n                    \u003c/goals\u003e\n                \u003c/execution\u003e\n                \u003cexecution\u003e\n                    \u003cid\u003estop\u003c/id\u003e\n                    \u003cphase\u003epost-integration-test\u003c/phase\u003e\n                    \u003cgoals\u003e\n                        \u003cgoal\u003estop\u003c/goal\u003e\n                    \u003c/goals\u003e\n                \u003c/execution\u003e\n            \u003c/executions\u003e\n        \u003c/plugin\u003e\n        ...\n```\n\nIt is recommended that you also specify the version of the plugin. Note that only tagged versions of the plugin will work when downloaded from jitpack. This is because Maven plugins require the version number specified in your project and the version number inside the plugin to match exactly.\n\n## OSX (or VM) users\nFor people using a VM to host the docker daemon, ensure you setup a route to route traffic to the containers. Without this your cluster will appear to \"doesn't start\". Use the following command:\n```\n$ sudo route delete 172.17.0.0/16; sudo route -n add 172.17.0.0/16 $(docker-machine ip ${DOCKER_MACHINE_NAME})\n```\n\n# Usage\n## Goals\nGoal    | Description\n---     | ---\n`start` | Start the minimesos cluster\n`stop`  | Stop the minimesos cluster\n\n## Configuration\nSetting         | Description\n---             | ---\n`configFile`    | A relative or absolute path to a minimesos configuration file (a.k.a minimesosFile)\n\nFor example:\n```\n\u003cplugin\u003e\n    \u003cgroupId\u003ecom.containersolutions.minimesos\u003c/groupId\u003e\n    \u003cartifactId\u003eminimesos-maven-plugin\u003c/artifactId\u003e\n    \u003cconfiguration\u003e\n        \u003cconfigFile\u003e./src/test/resources/minimesosFile\u003c/configFile\u003e\n    \u003c/configuration\u003e\n    ...\n```\n\nSettings may also be passed as Maven arguments. E.g. `mvn verify -DconfigFile=./myConfig`\n\n## Exported maven properties\nProperty            | Description\n---                 | ---\n`zookeeper_ip`      | The IP address of the ZooKeeper container\n`mesos_master_ip`   | The IP address of the Mesos master container\n\n### Using exported maven properties\nUse the properties to import into other variables. For example, when testing a Spring application, you will want to inject the maven properties into System properties:\n\n```\n\u003cplugin\u003e\n    \u003cartifactId\u003emaven-failsafe-plugin\u003c/artifactId\u003e\n    \u003cconfiguration\u003e\n        \u003csystemProperties\u003e\n            \u003cmesos.zookeeper.server\u003e${zookeeper_ip}:2181\u003c/mesos.zookeeper.server\u003e\n            \u003cmesos.master\u003e${mesos_master_ip}:5050\u003c/mesos.master\u003e\n        \u003c/systemProperties\u003e\n    ...\n```\n\n# Releasing\nTo release:\n```\ngit checkout master\ngit fetch origin\ngit reset --hard origin/master\ngit checkout -b release/$VERSION\nmvn versions:set -DnewVersion=$VERSION\ngit add pom.xml\ngit commit -m \"Set version number for release of $VERSION\"\ngit tag $VERSION\ngit push --set-upstream origin release/$VERSION \u0026\u0026 git push origin $VERSION\n```\nDo not create a GH release. Travis will do this for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fminimesos-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcontainersolutions%2Fminimesos-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcontainersolutions%2Fminimesos-maven-plugin/lists"}