Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better naming for deployment name for Central Portal #793

Open
krizzu opened this issue Jun 17, 2024 · 5 comments
Open

Better naming for deployment name for Central Portal #793

krizzu opened this issue Jun 17, 2024 · 5 comments

Comments

@krizzu
Copy link

krizzu commented Jun 17, 2024

For context: the name of deployment to Central Portal is groupdId + deployment Id (UUID).

With multiple artifacts under one group ID, it is hard to tell, in Central Portal's dashboard, which deployment refers to which artifact, unless one inspects content of it . I think it'd be good to also include artifact name as part of deployment name, to improve readability. I'm happy to open a PR. Thoughts?

@gabrielittner
Copy link
Collaborator

Our main issue is that if you have a multi module project that the deployment will contain the artifacts of all modules, so there isn't just one artifact name. Even the way we're using group right now is slightly opportunistic since technically you could use different groups within one project. I'm generally happy to improve this though if you have an idea on how to solve that part.

@krizzu
Copy link
Author

krizzu commented Jun 21, 2024

I feel like adding a new property to mavenPublishing extension could satisfy the needs for all situations, something like:

mavenPublishing {
  // ...others
  deploymentName = "$group-$artifactName-$version-${UUID.randomUUID()}"
}

@MFlisar
Copy link

MFlisar commented Sep 15, 2024

@gabrielittner does anything speak against a manual option like @krizzu suggested just to provide this function for those who want it? I would need that as well...

In a multi module setup I do define each artifact ids manually because they do not match the structure of my projects and I would like to provide a custom name for the deployment as well like "$libraryName-$version" instead of a random name that only contains my groupId an a guid...

@kibotu
Copy link

kibotu commented Dec 11, 2024

I've seen a profil-id branch, any progress? :D

@kibotu
Copy link

kibotu commented Dec 16, 2024

can anyone explain to me how to publish a gradle plugin? jitpack is apparently not enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants