I'll do it if you're willing to switch to Intellij lol. Eclipse has poor support for things like this
Intellij is all around a better IDE anyway.
|
Hey there,
Could someone teach me how to setup maven projects on a VPS.
Willing to pay, not a ridiculous amount though.
I am temporary using eclipse on the VPS setup as maven until i figure out how to run as batch file.
It says that it can't find certain folder while it is there.
PM me or leave ur discord.
Kind regards,
Patrick
Last edited by _Patrick_; 07-07-2018 at 01:23 PM.
I'll do it if you're willing to switch to Intellij lol. Eclipse has poor support for things like this
Intellij is all around a better IDE anyway.
?Code:mvn package
Use maven-shade to shade your dependencies in a jar, then build the jar. Upload the jar to your VPS and run it with `java -jar file.jar`
But how would one incorporate usage with git by doing that?
Simply find a guide for installing maven on your respective operating system. Then, use the following command:
For compiling changes, do the following:Code:mvn exec:java -Dexec.mainClass="your.main.Class"
You may remove the last bit if you have tests.Code:mvn clean install -Dmaven.test.skip=true
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |