1
I have a java project with Maven stacks. I changed some java functions and applied the command again mvn clean install
by the prompt. But when it is time to execute it does not update the code, it continues with the same function.
I already tried cleaning the whole project and starting again, no use it keeps picking up the old functions. Is that for the sake of performance it stores the files in a directory other than the project itself?
Maven uses only two directories: the project directory itself and the repositories that are where the downloaded dependencies are stored and your project’s jar when using the install command. It is also happening with other projects??
– Ascension
In the project directory it updates, but when running java it does not. I think it would be a problem of java right? Or would he be sending the old function to the War stack? This is my first project with java so I can’t tell you.
– Floyd_07
Put your pom.xml in Pastebin for me to take a look at. Another thing, War inside the target folder is not being updated??
– Ascension
That’s what I thought, what I did: I deleted all the folders Maven generates, like target for example. But it continued the same thing. I updated the java with the command
javaws -uninstall
to reset the java cache, and nothing.... I’ll see if I can post the pom. Thanks– Floyd_07