Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Way to retrieve path of constructed RPM #100

Open
keirlawson opened this issue Jun 6, 2018 · 0 comments
Open

Way to retrieve path of constructed RPM #100

keirlawson opened this issue Jun 6, 2018 · 0 comments

Comments

@keirlawson
Copy link

I'm trying to get together a Maven setup that allows me to publish an RPM from my project to a separate yum repo from where the projects jars etc are being published. To do this I am trying to use deploy:deploy-file to deploy the RPM, however there seems to be no easy way to get the path of the generated RPM. I've ended up using this snippet but it seems to me that it is not very robust or elegent: target/rpm/${project.artifactId}/RPMS/noarch/${project.artifactId}-${rpm.version}-${rpm.release}.noarch.rpm

It would be great if there was a single property I could use to get the path of the RPM.

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

No branches or pull requests

1 participant