intellij-community icon indicating copy to clipboard operation
intellij-community copied to clipboard

[IDEA-201343] Add standard Maven properties to pom.xml of just created Maven based module

Open rostidev opened this issue 7 years ago • 2 comments

Properties that are added are:

  1. project.build.sourceEncoding - always "UTF-8"
  2. maven.compiler.source - according to the module SDK
  3. maven.compiler.target - according to the module SDK

This should resolve the IDEA-201343 improvement ticket submitted by me.

rostidev avatar Dec 07 '18 01:12 rostidev

The third commit (75dfbe6) needs maven-compiler-plugin 3.6 or newer. It should be merged after IDEA-183383 is fixed, since the currently bundled Maven 3.3.9 uses an older maven-compiler-plugin.

You can check the maven-compiler-plugin versions according to the Maven releases by links as following: http://maven.apache.org/ref/3.3.9/plugin-management.html http://maven.apache.org/ref/3.6.0/plugin-management.html

The first (33ec14a) and the second (6ec8e43) commits could be merged already now, before IDEA-183383 is fixed.

rostidev avatar Dec 07 '18 15:12 rostidev

I've remade this PR since there were merge conflicts with the current master branch and also because the IDEA-183383 is already fixed, i.e. the bundled Maven version is 3.6.3.

Please review and merge. This PR is waiting almost two years, already.

rostidev avatar Aug 22 '20 15:08 rostidev