aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/pom.xml
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-12-03 17:20:34 +0100
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2013-12-03 17:20:57 +0100
commitbd532fb46ebe51e65e0b5d169a39066665749e51 (patch)
treefad7a957b8447903a90833b23251dbe76300a32b /sonar-server/pom.xml
parent4dbc99f65e51724e5f31f166f4ead50459a0fd64 (diff)
downloadsonarqube-bd532fb46ebe51e65e0b5d169a39066665749e51.tar.gz
sonarqube-bd532fb46ebe51e65e0b5d169a39066665749e51.zip
SONAR-4756 Fix console logging in dev mode
Diffstat (limited to 'sonar-server/pom.xml')
-rw-r--r--sonar-server/pom.xml21
1 files changed, 20 insertions, 1 deletions
diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml
index 20682bf8226..227cdccbff1 100644
--- a/sonar-server/pom.xml
+++ b/sonar-server/pom.xml
@@ -333,7 +333,6 @@
<resource>
<directory>src/dev</directory>
<includes>
- <include>logback.xml</include>
<include>sonar.properties</include>
</includes>
<filtering>false</filtering>
@@ -341,6 +340,26 @@
</resources>
</configuration>
</execution>
+ <execution>
+ <id>copy-logback</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/classes/org/sonar/server/platform</outputDirectory>
+ <overwrite>true</overwrite>
+ <resources>
+ <resource>
+ <directory>src/dev</directory>
+ <includes>
+ <include>logback.xml</include>
+ </includes>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>