iliyas1155
iliyas1155

Reputation: 11

How to stop/prevent Intellij from reverting maven-compiler-plugin target version

I have recently changed the Java version from 14 to 15. And ever since, Intellij changed my pom.xml files on every startup. It changes version of to 14.

Can someone help to prevent IntelliJ from editing my pom.xml files?

Upvotes: 0

Views: 89

Answers (1)

iliyas1155
iliyas1155

Reputation: 11

So, the solution was very simple.
I changed the SDK version in Intellij project settings to 15.
File -> Project Structure -> Project SDK
File -> Project Structure -> Project language level

Upvotes: 1

Related Questions