aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/main
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-06-10 21:24:42 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-06-10 21:24:42 +0200
commitc257dc801bcb060cb9a5c2f8c516607721bc57e4 (patch)
tree8c857b880d3ddade7539961514c98c0daf4235df /sonar-batch/src/main
parent1e70730eb52a9e6597666ab0a89d88a4eaec471e (diff)
downloadsonarqube-c257dc801bcb060cb9a5c2f8c516607721bc57e4.tar.gz
sonarqube-c257dc801bcb060cb9a5c2f8c516607721bc57e4.zip
Fix some minor violations
Diffstat (limited to 'sonar-batch/src/main')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java
index 946df51833e..aeb872d3a24 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/bootstrap/ArtifactDownloader.java
@@ -54,7 +54,7 @@ public class ArtifactDownloader implements BatchComponent {
String url = baseUrl + "/deploy/jdbc-driver.jar";
try {
File jdbcDriver = new File(workingDirectories.getRoot(), "jdbc-driver.jar");
- LOG.info("Download JDBC driver to " + jdbcDriver);
+ LOG.debug("Downloading JDBC driver to " + jdbcDriver);
httpDownloader.download(new URI(url), jdbcDriver);
return jdbcDriver;
@@ -67,7 +67,7 @@ public class ArtifactDownloader implements BatchComponent {
try {
File targetDir = workingDirectories.getDir("plugins/" + remote.getKey());
FileUtils.forceMkdir(targetDir);
- LOG.info("Downloading plugin " + remote.getKey() + " into " + targetDir);
+ LOG.debug("Downloading plugin " + remote.getKey() + " into " + targetDir);
List<File> files = Lists.newArrayList();
for (String filename : remote.getFilenames()) {
@@ -88,6 +88,7 @@ public class ArtifactDownloader implements BatchComponent {
public List<RemotePlugin> downloadPluginIndex() {
String url = baseUrl + "/deploy/plugins/index.txt";
try {
+ LOG.debug("Downloading index of plugins");
String indexContent = httpDownloader.downloadPlainText(new URI(url), "UTF-8");
String[] rows = StringUtils.split(indexContent, CharUtils.LF);
List<RemotePlugin> remoteLocations = Lists.newArrayList();