L
L
lonata2019-01-11 17:35:29
Java
lonata, 2019-01-11 17:35:29

How to build and run JavaFX project with Maven in Intelij Idea?

I used to run the project with the standard Intelij Idea tool. At some point, I deleted the .idea folder from the project, now I can’t even launch the project in the environment at all. But I would generally like to abandon the standard assembly using IDEA and do everything through Maven (launch the project, build the project in a separate folder)
Ideally, it would also be possible to make either a executable Jar file or an exe file of my program through Maven, but it’s better to immediately exe .
How to make a normal JavaFX application build through Maven?
*I added the framework support Maven to the project and did build and compile through the Maven tab, the target folder appeared, the classes folder was in it, but it was empty there, according to the idea, should my classes be there?
5c38a9409fbf3673359172.jpeg5c38a998046b0750927425.jpeg5c38aaf9096ae344224385.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan, 2019-01-11
Hasanly @azerphoenix

Hello!
Look at Intellij IDEA --> Add framework support. Maven
https://www.jetbrains.com/help/idea/maven-support.html
Here, all useful info for Idea

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question