{"id":16542150,"url":"https://github.com/itzg/artifactory-settings-gen","last_synced_at":"2025-10-14T04:13:46.804Z","repository":{"id":145317159,"uuid":"264002552","full_name":"itzg/artifactory-settings-gen","owner":"itzg","description":null,"archived":false,"fork":false,"pushed_at":"2020-05-14T19:09:26.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T10:17:54.884Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/itzg.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-14T19:09:06.000Z","updated_at":"2020-05-14T19:12:46.000Z","dependencies_parsed_at":"2023-04-25T17:47:31.611Z","dependency_job_id":null,"html_url":"https://github.com/itzg/artifactory-settings-gen","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fartifactory-settings-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fartifactory-settings-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fartifactory-settings-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/itzg%2Fartifactory-settings-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/itzg","download_url":"https://codeload.github.com/itzg/artifactory-settings-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241794136,"owners_count":20021192,"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-11T18:56:46.746Z","updated_at":"2025-10-14T04:13:46.710Z","avatar_url":"https://github.com/itzg.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"A small, CLI-style Spring Boot application that sets up a Maven settings.xml file for Artifactory access.\n\n`ApplicationProperties` declares properties, prefixed with `artifactory.`, that specify how to access Artifactory and a project name referenced in the generated `settings.xml`:\n- `artifactory.base-url` : the base URL of Artifactory without the `/artifactory` path\n- `artifactory.project` : not actually an Artifactory parameter, but rather an identifier used in the generated `settings.xml`\n- `artifactory.username`\n- `artifactory.password`\n\nIt is recommended to place the first two in a file `application.yml` in the current directory:\n```yaml\nartifactory:\n  baseUrl: http://...\n  project: yours\n```\n\nThe username and password should be passed on the command-line to keep them as secure as possible. After bulding the application jar with:\n\n```\n./mwvnw package\n```\n\nYou can run it as:\n\n```\njava -jar target/artifactory-settings-gen-*.jar --artifactory.username=... --artifactory.password=...\n```\n\nThe entrypoint and main part of the application is in `ArtifactoryInitApplication` where it\n- contacts artifactory to grab the encrypted password for the given user\n- populates that and the project name into the mustache template `settings-xml.mustache`, in `src/main/resources/templates`\n- writes the file `settings.xml` in the directory `$HOME/.m2` or outputs the content if that file already exists","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fartifactory-settings-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fitzg%2Fartifactory-settings-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fitzg%2Fartifactory-settings-gen/lists"}