-
Notifications
You must be signed in to change notification settings - Fork 322
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
How to get package filename? #181
Comments
Hm - if we enforce the filename (to comply to the standards) I am not sure how we could pass it on. I guess that's a maven question I cannot answer without some digging. If anyone knows please speak up. |
I found that I can override the name of the package so I do it now like:
And in that way I can use that name in other places. |
Alright - I am inclined to close this then. |
I definitely have need for this (see attached pull request).. In our workflow we are using Wagon to push deb files onto an apt server and the injecting them into an apt repository using Aptly. In order to utilize the SNAPSHOT/Timestamp versioning stuff I need to know the name/path of the deb file so it can be copied out with Wagon. |
@stevenbower but couldn't you just pass in the target name you want? |
@tcurdt if we pass in the name we want we don't get the SNAPSHOT version translation that JDEB does and we'd need to rig up some other plugins to do generate this... |
provide information about the build back to maven, fixes Issue #181
I have no idea how to get package filename in pom. I need to use that file in next maven phases but I have no idea how to get it. I could set the name to what I want (for example to hardcoded name, or dynamically generated) but I know that jdeb does some "debianization" of version and package name so I cannot "build" filename in my pom. There is any way to get this?
The text was updated successfully, but these errors were encountered: