javaintellij-ideaexportminecraftredundancy

Why do I have to package my IntelliJ-project twice to get it exported?


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?


Solution

  • Okay, I found a solution. I had to organise my project project structure.

    Now my project is getting exported every time I click on package.