kubernetes-client
kubernetes-client copied to clipboard
[config] Don't publish test and example modules to Maven Central
Description
From https://github.com/quarkusio/quarkus/issues/44810
Currently, some of the internal modules are being published to Maven Central.
Test, example, and parent modules should not be published to Maven Central.
The following snippet shows how this can be configured:
https://github.com/fabric8io/kubernetes-client/blob/3b3ee5c549d459136d1fa9893af2bebf708e1b7d/kubernetes-model-generator/openapi/maven-plugin/pom.xml#L40-L42
Be careful, depending on how your publishing is configured, you sometimes need the last module to be deployed or nothing will be deployed. It's typically the case if you deploy at the end of the build.
What we recommend is to enable these modules only when you don't release.
For instance, with something like: https://github.com/quarkiverse/quarkus-github-app/blob/main/pom.xml#L180-L191
Thanks @gsmet We'll definitely check what happens with the snapshot publishing before dealing with a final release once the issue is tackled.
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!
This issue has been automatically marked as stale because it has not had any activity since 90 days. It will be closed if no further activity occurs within 7 days. Thank you for your contributions!