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

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 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

1 participant