It fixes the following recurrent error when switching branches:
Caused by: java.lang.IllegalArgumentException: /Users/sbrandhof/dev/core/sonarqube/server/sonar-web/./node/npm is not a directory
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:891)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:869)
at com.github.eirslett.maven.plugins.frontend.lib.DefaultNodeAndNPMInstaller$NodeAndNPMInstallAction.installNpm(NodeAndNPMInstaller.java:158)
at com.github.eirslett.maven.plugins.frontend.lib.DefaultNodeAndNPMInstaller$NodeAndNPMInstallAction.install(NodeAndNPMInstaller.java:79)
at com.github.eirslett.maven.plugins.frontend.lib.DefaultNodeAndNPMInstaller.install(NodeAndNPMInstaller.java:52)
at com.github.eirslett.maven.plugins.frontend.mojo.InstallNodeAndNpmMojo.execute(InstallNodeAndNpmMojo.java:81)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
... 12 more
Dependency for compiler selected based on platform. Supported platforms
are Windows/Linux x86/64 and Mac OS. Configuration in root POM to avoid
duplication.
This also makes version of compiler consistent with version of library.
Previously it was 3.0.0-a3 and 3.0.0-beta-1 respectively, now both are
3.0.0-beta-1. And removes all existing auto generated files and scripts
for their creation as well as their traces (such as comments and
exclusions for SonarQube).
* origin/branch-5.2:
Improve message when trying to install a non-plugin JAR
Fix enforcer rule about size of zip
Fix reliability of NetworkUtils#freePort()
Fix Maven warnings
SONAR-6219 Fix ruby warning "don't put space before argument parentheses"
use of project.version in dependencyManagement leads to build error in IT plugins with Maven 3.3
(in these plugins, project.version is 1.0-SNAPSHOT, in Maven 3.2 dependencies which version is declared ${project.version} in root pom.xml resolve to 5.2-SNAPSHOT but with Maven 3.3 they resolve to 1.0-SNAPSHOT, which causes errors)