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

If multiple rpms are produced they are all deployed with the same artifactId #69

Open
ProggerPete opened this issue Dec 13, 2022 · 3 comments

Comments

@ProggerPete
Copy link
Contributor

I'm producing a number of rpms with different package names. However the artifact uploaded to the repo always has the name of the module.

How do I specify the artifactId for the different rpms I produce?

@ctron
Copy link
Owner

ctron commented Dec 13, 2022

yes, the package name has nothing to do with the maven artifact ID. To my knowledge, there can only be one combination of groupId+artifactId+version+classifier+type. Normally that is something like: foo/bar/baz/1.0/baz-javadoc.jar

But I think you can use something like the build-helper to attach additional artifacts: https://www.mojohaus.org/build-helper-maven-plugin/attach-artifact-mojo.html

@ProggerPete
Copy link
Contributor Author

Fair enough, I was hoping for some sort of config option to make my life easy. I'll just give them all different classifiers instead.

@ctron
Copy link
Owner

ctron commented Dec 13, 2022

I guess it could be solved in the RPM builder plugin too. PRs welcome 😁

Not sure it that works in your case, but you also can set the classifier: https://ctron.github.io/rpm-builder/rpm-mojo.html#classifier

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

2 participants