]> source.dussan.org Git - sonarqube.git/commit
SONAR-1800: Fix issue with ClassLoader for Maven 3.x and Java 1.5
authorEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 28 Jan 2011 20:59:48 +0000 (23:59 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Fri, 28 Jan 2011 21:42:29 +0000 (00:42 +0300)
commitdfbaa4c9d060f5dd32b0c49470d11d8cf51c50f7
tree2aae714608edef95a2d46c178ea5d0ae92231d10
parent73e6ee80edae3e5f2a543df88776e1039b425462
SONAR-1800: Fix issue with ClassLoader for Maven 3.x and Java 1.5

* Restore context ClassLoader after execution of Maven plugin.

* Add abstract implementation of MavenPluginExecutor to reduce duplications
  in concrete implementations for different Maven versions.
sonar-batch/src/main/java/org/sonar/batch/AbstractMavenPluginExecutor.java [new file with mode: 0644]
sonar-batch/src/test/java/org/sonar/batch/AbstractMavenPluginExecutorTest.java [new file with mode: 0644]
sonar-core-maven-plugin/src/main/java/org/sonar/maven2/Maven2PluginExecutor.java
sonar-core-maven-plugin/src/test/java/org/sonar/maven2/Maven2PluginExecutorTest.java [deleted file]
sonar-maven-plugin/src/main/java/org/sonar/maven/Maven2PluginExecutor.java
sonar-maven3-plugin/src/main/java/org/sonar/maven3/Maven3PluginExecutor.java