]> source.dussan.org Git - sonarqube.git/commitdiff
Build must not copy sonar-colorizer/sonar-colorizer.css in sonar-web.
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 24 Apr 2015 12:30:45 +0000 (14:30 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 24 Apr 2015 12:30:45 +0000 (14:30 +0200)
* it is not used by webapp as it's duplicated by sonar-web/sonar-colorizer.less
* maven parallel build breaks during the first execution (empty local repo). The real reason was that dependency on sonar-colorizer was missing in sonar-web.

server/sonar-web/pom.xml
sonar-colorizer/src/main/resources/sonar-colorizer.css

index 564b58a1652b222e79f7508106de542c084f8ee5..83579fa645943cc7a85b29ea3def4d9d1a9acbc2 100644 (file)
           </filesets>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-dependency-plugin</artifactId>
-        <executions>
-          <execution>
-            <id>unpack</id>
-            <phase>generate-sources</phase>
-            <goals>
-              <goal>unpack</goal>
-            </goals>
-            <configuration>
-              <artifactItems>
-                <artifactItem>
-                  <groupId>org.codehaus.sonar</groupId>
-                  <artifactId>sonar-colorizer</artifactId>
-                  <version>${project.version}</version>
-                  <outputDirectory>${basedir}/src/main/webapp/stylesheets</outputDirectory>
-                  <includes>**/sonar-colorizer.css</includes>
-                </artifactItem>
-              </artifactItems>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-resources-plugin</artifactId>
index 4e77db66567d98d83ccb9f68a0e4006fd86d910b..06328e22632821fcde4f1640692c4e0ff01e75cb 100644 (file)
@@ -1,3 +1,10 @@
+/*
+  WARNING - THIS FILE IS USED ONLY A TEMPLATE USED BY HtmlDecorator
+  The CSS file used by webapp is defined at in the sonar-web module (see sonar-colorizer.less)
+
+  Any modification of this file must be applied to the sonar-web less file.
+*/
+
 .code {
   font-size: 12px;
 }