{"id":15623582,"url":"https://github.com/jacoby6000/sbt-pom-build","last_synced_at":"2025-03-29T16:30:03.296Z","repository":{"id":44786899,"uuid":"424013302","full_name":"Jacoby6000/sbt-pom-build","owner":"Jacoby6000","description":"Adds build time plugin dependencies to the pom file build section","archived":false,"fork":false,"pushed_at":"2022-01-24T19:28:39.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-04T17:47:31.017Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Jacoby6000.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":"2021-11-02T22:08:15.000Z","updated_at":"2021-11-09T22:31:17.000Z","dependencies_parsed_at":"2022-09-05T00:51:25.186Z","dependency_job_id":null,"html_url":"https://github.com/Jacoby6000/sbt-pom-build","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoby6000%2Fsbt-pom-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoby6000%2Fsbt-pom-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoby6000%2Fsbt-pom-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Jacoby6000%2Fsbt-pom-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Jacoby6000","download_url":"https://codeload.github.com/Jacoby6000/sbt-pom-build/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246212828,"owners_count":20741591,"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-03T09:57:42.962Z","updated_at":"2025-03-29T16:30:03.259Z","avatar_url":"https://github.com/Jacoby6000.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sbt-pom-build-plugins\nAdds build time plugin dependencies to the pom file build section\n\n# Install\n```sbt\naddSbtPlugin(\"com.github.jacoby6000\" % \"sbt-pom-build\" % \"1.0.2\")\n```\n\n# Configuration\n\n* Set `pomBuildPluginsIgnoreNames` to ignore specific plugins by their artifact name. `sbt-bloop` is included there by default. Any valid regex works.\n* Set `pomBuildPluginsIgnoreClasses` to ignore specific plugins by their class name. This is an empty set by default.  Any valid regex works.\n* Set `pomBuildPluginsIgnoreDirs` to ignore plugins that exist within certain directories.  By default the sbt boot plugin is included here, as well as the `./project` directory.\n\n## Example Config:\n```sbt\nlazy val myProject = project.in(\"foo\").enablePlugins(SbtPomBuild).settings(\n  pomBuildPluginsIgnoreNames ++= Set(\"sbt-dependency-graph\"), // Do not include sbt-dependency-graph in the pom build plugins list\n  pomBuildPluginsIgnoreClasses ++= Set(\"^[^.]+$\"), // ignore any plugins if its package has no dots (its in the root project).\n  pomBuildPluginsIgnoreDirs ++= Seq(file(\"~/.ivy2/cache/org.my-org/\")) // Do not include any ivy dependencies from `org.my-org` in the pom build plugins list\n)\n```\n\n## Example output\n\nNote the `build` section, normally not included in sbt pom outputs.\n\n```xml\n\u003cproject xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://maven.apache.org/POM/4.0.0\"\u003e\n  \u003cmodelVersion\u003e4.0.0\u003c/modelVersion\u003e\n  \u003cgroupId\u003esimple\u003c/groupId\u003e\n  \u003cartifactId\u003esimple_2.12\u003c/artifactId\u003e\n  \u003cpackaging\u003ejar\u003c/packaging\u003e\n  \u003cdescription\u003esimple\u003c/description\u003e\n  \u003cversion\u003e0.1.0-SNAPSHOT\u003c/version\u003e\n  \u003cname\u003esimple\u003c/name\u003e\n  \u003corganization\u003e\n    \u003cname\u003esimple\u003c/name\u003e\n  \u003c/organization\u003e\n  \u003cdependencies\u003e\n    \u003cdependency\u003e\n      \u003cgroupId\u003eorg.scala-lang\u003c/groupId\u003e\n      \u003cartifactId\u003escala-library\u003c/artifactId\u003e\n      \u003cversion\u003e2.12.14\u003c/version\u003e\n    \u003c/dependency\u003e\n  \u003c/dependencies\u003e\n  \u003cbuild\u003e\n    \u003cplugins\u003e\n      \u003cplugin\u003e\n        \u003cgroupId\u003ecom.jacoby6000.sbt\u003c/groupId\u003e\n        \u003cartifactId\u003esbt-pom-build\u003c/artifactId\u003e\n        \u003cversion\u003e0.1.0-SNAPSHOT\u003c/version\u003e\n      \u003c/plugin\u003e\n    \u003c/plugins\u003e\n  \u003c/build\u003e\n\u003c/project\u003e\n```\n\n# Verifying that the plugin is functioning in your builds\nThis plugin functions by augmenting the `makePom` step, running an additional step afterward to append the build section\nof the pom file.\n\nTo test your own builds, simply run `sbt makePom` and then check the contents of the file that is generated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoby6000%2Fsbt-pom-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoby6000%2Fsbt-pom-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoby6000%2Fsbt-pom-build/lists"}