{"id":14988222,"url":"https://github.com/apache/brooklyn","last_synced_at":"2025-04-07T13:08:49.223Z","repository":{"id":3780579,"uuid":"47246083","full_name":"apache/brooklyn","owner":"apache","description":"Apache Brooklyn","archived":false,"fork":false,"pushed_at":"2024-07-17T11:16:26.000Z","size":793,"stargazers_count":139,"open_issues_count":0,"forks_count":67,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-30T03:21:28.502Z","etag":null,"topics":["brooklyn","cloud","java"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":false,"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/apache.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":"2015-12-02T08:00:06.000Z","updated_at":"2025-02-07T08:11:42.000Z","dependencies_parsed_at":"2023-02-16T19:01:36.076Z","dependency_job_id":"d77c9bc5-548b-46c2-9932-b7782680a9d0","html_url":"https://github.com/apache/brooklyn","commit_stats":{"total_commits":188,"total_committers":42,"mean_commits":4.476190476190476,"dds":0.7287234042553192,"last_synced_commit":"4f253ccf3ab63870c04c6a0386122de77c904908"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrooklyn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrooklyn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrooklyn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fbrooklyn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/brooklyn/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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":["brooklyn","cloud","java"],"created_at":"2024-09-24T14:16:18.864Z","updated_at":"2025-04-07T13:08:49.203Z","avatar_url":"https://github.com/apache.png","language":"Dockerfile","readme":"\n# [![**Brooklyn**](https://brooklyn.apache.org/style/img/apache-brooklyn-logo-244px-wide.png)](https://brooklyn.apache.org/)\n\n### Apache Brooklyn helps to model, deploy, and manage systems.\n\n_This root project is a wrapper around subprojects. **See individual projects for recent changes.**_\n\nIt supports blueprints in YAML or Java, and deploys them to many clouds and other target environments.\nIt monitors those deployments, maintains a live model, and runs autonomic policies to maintain their health.\n\nFor more information visit **[brooklyn.apache.org]( https://brooklyn.apache.org/ )**,\nwhere you'll find:\n* **[ Pre-built binaries ]( https://brooklyn.apache.org/download/ )**\n* **[ Getting Started instructions ]( https://brooklyn.apache.org/v/latest/start/running.html )**\n* **[ A Product Tour ](https://brooklyn.apache.org/learnmore/)**\n\n\n### Quick Start\n\nThis is the uber-repo. To build the entire codebase,\nget this project and its sub-modules:\n\n    git clone https://github.com/apache/brooklyn/\n    cd brooklyn\n    git submodule init\n    git submodule update --remote --merge --recursive\n\nAnd then, with jdk 1.8+ and maven 3.1+ installed:\n\n    mvn clean install\n\nHowever, this will not build the RPM/DEB packages, as well as the CLI. That's why we would recommand to use the\nalternative: a docker container to build this project:\n\n```bash\ndocker build -t brooklyn .\ndocker run -i --rm --name brooklyn -u $(id -u):$(id -g) \\\n      --mount type=bind,source=\"${HOME}/.m2/settings.xml\",target=/var/maven/.m2/settings.xml,readonly \\\n      -v /var/run/docker.sock:/var/run/docker.sock \\\n      -v ${PWD}:/usr/build -w /usr/build \\\n      brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un) -Drpm -Ddeb -Dclient -Ddocker\n```\n\nYou can speed this up by using your local .m2 cache:\n```bash\ndocker run -i --rm --name brooklyn -u $(id -u):$(id -g) \\\n      -v /var/run/docker.sock:/var/run/docker.sock \\\n      -v ${HOME}/.m2:/var/maven/.m2 \\\n      -v ${PWD}:/usr/build -w /usr/build \\\n      brooklyn mvn clean install -Duser.home=/var/maven -Duser.name=$(id -un) -Drpm -Ddeb -Dclient -Ddocker\n```\n\nThe results are in `brooklyn-dist/dist/target/`, including a tar and a zip.\nOr to run straight after the build, do:\n\n```bash\npushd brooklyn-dist/karaf/apache-brooklyn/target/assembly/\n./bin/start\n```\n\n\n### Non-Git Build\n\nIf you are performing a build on code not in source control (e.g. from a ZIP of source code, or after deleting SCM metadata),\nyou will need to manually set two variables that are normally inferred from the environment:\n\n* `-DbuildNumber=manual`\n* `-DscmBranch=manual`\n\nYou can set these properties to any value you wish. When using a checkout from git, the `buildNumber` is set to the SHA1 commit ID (short form)\nof the containing project, and the `scmBranch` is set to the git branch.\n\n\n### Resources\n\n\u003c!--- BROOKLYN_VERSION_BELOW --\u003e\nThe **[Developers](https://brooklyn.apache.org/developers/)** section of the main website contains more detail on working with the codebase. There is also a more **Developer Guide** specific to each version, including [this branch (1.2.0-SNAPSHOT)](https://brooklyn.apache.org/v/1.2.0-SNAPSHOT/dev/), [latest stable](https://brooklyn.apache.org/v/latest/dev/), and [older releases](https://brooklyn.apache.org/meta/versions.html).\n\nUseful topics include:\n\n* getting the **[source code](https://brooklyn.apache.org/developers/code/)**\n\n* **[setting up Git](https://brooklyn.apache.org/developers/code/git-more.html)** with forks, submodules (or alternatively [avoiding submodules](https://brooklyn.apache.org/developers/code/git-more.html#not-using-submodules)) and other productivity hints\n\n* the **[maven build](https://brooklyn.apache.org/v/latest/dev/env/maven-build.html)** and what to do on build errors\n\n\u003c!--- BROOKLYN_VERSION_BELOW --\u003e\n* **[project structure](https://brooklyn.apache.org/v/1.2.0-SNAPSHOT/dev/code/structure.html)** of the codebase and submodules\n\n* the **[people](https://brooklyn.apache.org/community/)** behind Apache Brooklyn\n\n### License\n\nThis software is distributed under the Apache License, version 2.0, copyright (c) The Apache Software Foundation and contributors. Please see the LICENSE file for (1) the full text of the Apache License, followed by (2) notices for bundled software and (3) licenses for bundled software.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fbrooklyn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fbrooklyn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fbrooklyn/lists"}