Replies: 1 comment 3 replies
-
|
@cdprete perhaps this would be of interest to your use case? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Have been thinking about how many people in a locked down corporate environment may want to publish a protoc plugin found on GitHub or elsewhere to their internal Maven registries.
Given there are a bunch of standard classifiers we can use to auto-detect CPU architecture and OS without explicit configuration, perhaps we could define a new goal that allows users to specify a set of URLs for each architecture they need, and the goal downloads and extracts the artifacts before republishing them to Maven Central via the maven-deploy-plugin.
For example, perhaps this could be a packaging so users can define shell projects that have a predefined set of relevant goals configured automatically:
In this case, each URL could be fetched by a goal in this plugin for each URL the user specifies in config, and then marked as being attached to the build. The maven-deploy-plugin could then be further bound to the deploy phase so that
mvn clean package deploytransfers the artifacts to the right place with the right classifiers.The format of this is totally down for debate if it is considered to be useful enough to implement.
Beta Was this translation helpful? Give feedback.
All reactions