{"id":20114022,"url":"https://github.com/davidb/scala-maven-plugin","last_synced_at":"2025-05-14T02:06:14.688Z","repository":{"id":402683,"uuid":"21099","full_name":"davidB/scala-maven-plugin","owner":"davidB","description":"The scala-maven-plugin (previously maven-scala-plugin) is used for compiling/testing/running/documenting scala code in maven.","archived":false,"fork":false,"pushed_at":"2025-04-08T18:11:39.000Z","size":7371,"stargazers_count":565,"open_issues_count":7,"forks_count":155,"subscribers_count":23,"default_branch":"master","last_synced_at":"2025-04-11T14:17:08.093Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://davidb.github.io/scala-maven-plugin/","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/davidB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["davidB"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2008-05-31T21:02:12.000Z","updated_at":"2025-04-08T18:11:41.000Z","dependencies_parsed_at":"2024-02-25T16:36:21.585Z","dependency_job_id":"36ea3d27-feeb-4950-9ad3-f9a161bc8e66","html_url":"https://github.com/davidB/scala-maven-plugin","commit_stats":{"total_commits":933,"total_committers":76,"mean_commits":"12.276315789473685","dds":0.5969989281886388,"last_synced_commit":"dde704a7682086c32ba3a6e86be13373067ebead"},"previous_names":[],"tags_count":82,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fscala-maven-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fscala-maven-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fscala-maven-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidB%2Fscala-maven-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidB","download_url":"https://codeload.github.com/davidB/scala-maven-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254052696,"owners_count":22006716,"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-13T18:27:50.559Z","updated_at":"2025-05-14T02:06:09.677Z","avatar_url":"https://github.com/davidB.png","language":"Java","funding_links":["https://github.com/sponsors/davidB"],"categories":[],"sub_categories":[],"readme":"# Scala Maven Plugin\n\n[![ci](https://github.com/davidB/scala-maven-plugin/actions/workflows/ci.yaml/badge.svg)](https://github.com/davidB/scala-maven-plugin/actions/workflows/ci.yaml)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/net.alchim31.maven/scala-maven-plugin/badge.svg)](https://maven-badges.herokuapp.com/maven-central/net.alchim31.maven/scala-maven-plugin)\n\nThe **scala-maven-plugin** (previously maven-scala-plugin) is used for compiling/testing/running/documenting Scala code in Maven.\n\n* [Documentation](https://davidb.github.io/scala-maven-plugin/index.html)\n* [Wiki](https://github.com/davidB/scala-maven-plugin/wiki)\n* [Issues](https://github.com/davidB/scala-maven-plugin/issues/)\n\n## Similar plugins\n\n* [scalor-maven-plugin](https://github.com/random-maven/scalor-maven-plugin)\n* [sbt-compiler-maven-plugin](https://github.com/sbt-compiler-maven-plugin/sbt-compiler-maven-plugin)\n* [sbt-delegate-maven-plugin](https://github.com/AugustNagro/sbt-delegate-maven-plugin)\n\n## Build\n\nCurrently, you need Maven 3.x \u0026 JDK 8 to build the plugin, create the site, and run `integration-test`.\n\n## Commands\n\n* `./mvnw package` : generate jar\n* `./mvnw site` : generate the plugin website\n* `./mvnw integration-test` : `./mvnw package` + run all integration test\n  * note: to run `test_scalaHome`: you have to set `scala.home` property in `src/it/test_scalaHome/pom.xml` to correspond to your environment.  See Build section above for a simple setup.\n* `./mvnw integration-test -Dinvoker.test=test1` : run integration test 'test1' (against all configuration) useful for tuning/debug\n* `./mvnw install` :  ./mvnw integration-test` + publish on local maven repository\n* `./mvnw install -Dmaven.test.skip=true` : ./mvnw install` without run of unit test and run of integration test\n* release :\n  * `gpg --use-agent --armor --detach-sign --output $(mktemp) pom.xml` to avoid issue on macosx with gpg signature see [[MGPG-59] GPG Plugin: \"gpg: signing failed: Inappropriate ioctl for device\" - ASF JIRA](https://issues.apache.org/jira/browse/MGPG-59)\n  * `./mvnw release:clean \u0026\u0026 ./mvnw release:prepare \u0026\u0026 ./mvnw release:perform` : to publish on staging repository via plugin\n  * `./mvnw release:clean \u0026\u0026 ./mvnw release:prepare -Darguments=\"-DskipTests -Dmaven.test.skip=true\" \u0026\u0026 ./mvnw release:perform -Darguments=\"-DskipTests -Dmaven.test.skip=true\"` to publish without tests (integration test require 30min on CI)\n  * `./mvnw site package source:jar javadoc:jar install:install gpg:sign deploy:deploy changes:announcement-generate -Dmaven.test.skip=true -DperformRelease=true` : manual\n  * connect to \u003chttps://oss.sonatype.org/\u003e close and release the request(about scala-maven-plugin) in staging repositories\n  * browse the updated [mvnsite](https://davidb.github.io/scala-maven-plugin/) (check version into samples, ...)\n\n## TODO\n\n* close issues from \u003chttps://github.com/davidB/scala-maven-plugin/issues/\u003e\n* refactor :\n  * reduce copy-paste\n  * file path management can be improved (a lot)\n  * clean the code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Fscala-maven-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidb%2Fscala-maven-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidb%2Fscala-maven-plugin/lists"}