Currently I am working on a plugin for a minecraft-server. I use maven, so when I made a change and I want to test it out on my server, i double-click on 'package' on the right hand side. Then my Jar will be exported right into my pluginsfolder. BUT everytime I reload my server its still the previous version of the plugin not the version I wanted to expoert and test. However, if I export my plugin twice, it is the new version of the plugin. How can I fix this?
Asked
Active
Viewed 57 times
-1
-
Does it work on the first try from the command line outside of IntelliJ? – Egor Klepikov Jun 20 '22 at 09:04
-
Oh well, I have not tested this yet. Which command do I have to use? – 1somorph Jun 20 '22 at 10:19
-
Try `mvn package` - https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html#build-the-project Make sure that Maven is installed on your PC and added to the PATH – Egor Klepikov Jun 20 '22 at 10:24
-
I actually fixed it.. I try to answer my own question now with my solution, even its a bit weird. – 1somorph Jun 20 '22 at 10:32
1 Answers
-2
Okay, I found a solution. I had to organise my project
.
Now my project is getting exported every time I click on package.
-
I'm not saying the solution is wrong. I'm saying I don't know what the solution is! The answer doesn't tell me! Please make it so the answer says what the solution is. – user253751 Jul 26 '22 at 12:17