]> source.dussan.org Git - sonarqube.git/commit
SONAR-2507 Batch must load plugins without connecting to database
authorsimonbrandhof <simon.brandhof@gmail.com>
Thu, 9 Jun 2011 22:15:37 +0000 (00:15 +0200)
committersimonbrandhof <simon.brandhof@gmail.com>
Thu, 9 Jun 2011 22:15:37 +0000 (00:15 +0200)
commitd574f6dd70fefa9b2e9818c71ae58a51e934697c
tree76a7df2dc3c794c02fff45e9a517ccf560cc2351
parent39bca3376660b2ad6edbd4ec9fabf527a16ffe78
SONAR-2507 Batch must load plugins without connecting to database
63 files changed:
sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BatchPluginRepository.java
sonar-batch/src/main/java/org/sonar/batch/bootstrap/BootstrapModule.java
sonar-batch/src/test/java/org/sonar/batch/bootstrap/ArtifactDownloaderTest.java
sonar-batch/src/test/java/org/sonar/batch/bootstrap/BatchPluginRepositoryTest.java
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginRepositoryTest/sonar-artifact-size-plugin-0.2.jar [deleted file]
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginRepositoryTest/sonar-checkstyle-extensions-plugin-0.1-SNAPSHOT.jar [new file with mode: 0644]
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginRepositoryTest/sonar-checkstyle-plugin-2.8.jar [new file with mode: 0644]
sonar-batch/src/test/resources/org/sonar/batch/bootstrap/BatchPluginRepositoryTest/sonar-clirr-plugin-1.1.jar [deleted file]
sonar-core/pom.xml
sonar-core/src/main/java/org/sonar/core/classloaders/ClassLoadersCollection.java [deleted file]
sonar-core/src/main/java/org/sonar/core/classloaders/ResourcesClassLoader.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugin/AbstractPluginRepository.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugin/JpaPlugin.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugin/JpaPluginDao.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugin/JpaPluginFile.java [deleted file]
sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/plugins/PluginClassloaders.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/plugins/PluginFileExtractor.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/plugins/ResourcesClassloader.java [new file with mode: 0644]
sonar-core/src/main/resources/META-INF/persistence.xml
sonar-core/src/test/java/org/sonar/core/classloaders/ClassLoadersCollectionTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/classloaders/ResourcesClassLoaderTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/plugin/AbstractPluginRepositoryTest.java
sonar-core/src/test/java/org/sonar/core/plugin/JpaPluginDaoTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/plugin/JpaPluginTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/plugins/DefaultPluginMetadataTest.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/plugins/PluginClassloadersTest.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/plugins/PluginFileExtractorTest.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/plugins/ResourcesClassloaderTest.java [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/classloaders/ClassLoadersCollectionTest/bar.jar [deleted file]
sonar-core/src/test/resources/org/sonar/core/classloaders/ClassLoadersCollectionTest/foo.jar [deleted file]
sonar-core/src/test/resources/org/sonar/core/plugin/JpaPluginDaoTest/removePreviousFilesWhenRegisteringPlugin-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/plugin/JpaPluginDaoTest/saveDeprecatedPlugin-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/plugin/JpaPluginDaoTest/savePluginAndFiles-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/plugin/JpaPluginDaoTest/shared.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/plugins/PluginClassloadersTest/bar.jar [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/plugins/PluginClassloadersTest/foo.jar [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/plugins/PluginFileExtractorTest/shouldCopyRuleExtensionsOnServerSide/checkstyle-extension.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/plugins/sonar-checkstyle-extensions-plugin-0.1-SNAPSHOT.jar [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/plugins/sonar-checkstyle-plugin-2.8.jar [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/plugins/sonar-emma-plugin-0.3.jar [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginMetadata.java [new file with mode: 0644]
sonar-plugin-api/src/main/java/org/sonar/api/platform/PluginRepository.java
sonar-plugin-api/src/main/java/org/sonar/api/utils/HttpDownloader.java
sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java
sonar-plugin-api/src/test/java/org/sonar/api/utils/HttpDownloaderTest.java
sonar-server/src/main/java/org/sonar/server/platform/DefaultServerFileSystem.java
sonar-server/src/main/java/org/sonar/server/platform/Platform.java
sonar-server/src/main/java/org/sonar/server/plugins/PluginClassLoaders.java [deleted file]
sonar-server/src/main/java/org/sonar/server/plugins/PluginDeployer.java
sonar-server/src/main/java/org/sonar/server/plugins/PluginMetadata.java [deleted file]
sonar-server/src/main/java/org/sonar/server/plugins/ServerPluginRepository.java
sonar-server/src/main/java/org/sonar/server/plugins/StaticResourcesServlet.java
sonar-server/src/main/java/org/sonar/server/plugins/UpdateCenterMatrixFactory.java
sonar-server/src/main/java/org/sonar/server/ui/JRubyFacade.java
sonar-server/src/main/webapp/WEB-INF/app/models/server.rb
sonar-server/src/main/webapp/deploy/maven/README.txt [deleted file]
sonar-server/src/main/webapp/deploy/maven/index.html [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/PluginClassLoadersTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/PluginDeployerTest.java
sonar-server/src/test/java/org/sonar/server/plugins/PluginMetadataTest.java [deleted file]
sonar-server/src/test/java/org/sonar/server/plugins/ServerPluginRepositoryTest.java