intellij-community
intellij-community copied to clipboard
[IDEA-201343] Add standard Maven properties to pom.xml of just created Maven based module
Properties that are added are:
- project.build.sourceEncoding - always "UTF-8"
- maven.compiler.source - according to the module SDK
- maven.compiler.target - according to the module SDK
This should resolve the IDEA-201343 improvement ticket submitted by me.
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.
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.