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

IntelliJ maven run fails if launched from menu #53

Open
mipastgt opened this issue Feb 16, 2022 · 0 comments
Open

IntelliJ maven run fails if launched from menu #53

mipastgt opened this issue Feb 16, 2022 · 0 comments

Comments

@mipastgt
Copy link

mipastgt commented Feb 16, 2022

I created a sample Gluon-SingleViewProject with the IntelliJ IDE plugin. When I tried to run this via double-click on Gluon-SingleViewProject->Plugins->gluonfx->gluonfx:run this fails with an error:

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.200 s
[INFO] Finished at: 2022-02-16T10:31:59+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.gluonhq:gluonfx-maven-plugin:1.0.12:run (default-cli) on project gluon-singleviewproject: 
Error, javafx:run@default-cli failed: Error while executing process. Cannot run program "/Users/mpaus/Library/Application 
Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/213.6777.52/IntelliJ IDEA CE.app/Contents/plugins/maven/lib/maven3/bin/mvn" (in 
directory "/Users/mpaus/temp/Gluon-SingleViewProject"): error=13, Permission denied -> [Help 1]

This is because the picked maven command is not an executable file. If I manually change the permission to 744 it all works but it is probably not a good idea to fiddle with the permissions of files inside the IntelliJ.app.

I know I can also change this in the Maven settings of IntelliJ but why do I have to do that? Shouldn't the default just work? After all I am not sure whether this is a Gluon or IntelliJ error.

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