salesforce / rules_spring

Bazel rule for building Spring Boot apps as a deployable jar
BSD 3-Clause "New" or "Revised" License
224 stars 48 forks source link

Make maven_install namespace (e.g. @maven) configurable in the import bundles #147

Open plaird opened 2 years ago

plaird commented 2 years ago

Not everyone uses the default @maven namespace for the SpringBoot jars. For example, they may have their _maveninstall rule configured as @springboot

"@maven//:org_springframework_boot_spring_boot",

https://github.com/salesforce/rules_spring/blob/main/springboot/import_bundles/BUILD#L15

The configuration of this might be a specific case that is envisioned in #78 so consider that feature while working on this. Should the namespace be configurable at the WORKSPACE level somehow, instead of every invocation of the springboot macro?