-
Notifications
You must be signed in to change notification settings - Fork 132
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
rpm generation fails #25
Comments
Fixed on v0.9.5 |
I'm still having trouble with this on 0.9.7
|
Please, try to specify source encoding in your <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> |
Nope, same issue. I'm running under Ubuntu 18.04 WSL if that makes a difference, but I haven't had any other issues with Maven so I doubt it would. |
Ok, I'll try to repoduce your issue. Could you share your plugin configuration and |
Full pom.xml:
mvn -v
|
I hope you don't mind but I forked your app and adapted a bit your Testing on Ubuntu 18.04 WSLWhen I try to build your app on Ubuntu 18.04 WSL, Testing on Ubuntu 18.04 in a virtual machine:RPM file is built without problems: Sorry, but I'm not sure where the problem is! I've not been able to reproduce your issue. I don't know if it's related to JavaPackager, rpm-maven-plugin or rpmbuild. Use profiles if you only need <!-- Must provide JRE for macOS: -->
<profiles>
<profile>
<activation>
<os>
<name>mac</name>
</os>
</activation>
<properties>
<jrePath>${basedir}/../Libraries/Java/jdk-11.0.7-full.jdk</jrePath>
</properties>
</profile>
</profiles> |
Well, the RPM thing is annoying but thanks for the tip about profiles! |
rpm
package generation fails sometimes. In addition,alien
command requires root privileges to convert thedeb
package torpm
, and also it has to generatedeb
package first. Try alternative method: rpm-maven-plugin.The text was updated successfully, but these errors were encountered: