aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-11-08 14:25:45 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-11-08 14:25:45 +0000
commita46321d145080607106a385ed07c48b6e0ba8f88 (patch)
tree8680c8cc1858c5514be383c8b1c34fc4c976f338 /plugins
parentf763de308b6617cea3644921ddedfdd3b5a05b4f (diff)
downloadsonarqube-a46321d145080607106a385ed07c48b6e0ba8f88.tar.gz
sonarqube-a46321d145080607106a385ed07c48b6e0ba8f88.zip
compress HTML templates in plugins core and design
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/pom.xml19
-rw-r--r--plugins/sonar-design-plugin/pom.xml19
2 files changed, 38 insertions, 0 deletions
diff --git a/plugins/sonar-core-plugin/pom.xml b/plugins/sonar-core-plugin/pom.xml
index c0bc45ea31c..e85f2a5c035 100644
--- a/plugins/sonar-core-plugin/pom.xml
+++ b/plugins/sonar-core-plugin/pom.xml
@@ -126,6 +126,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-dev-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>trim</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>trim</goal>
+ </goals>
+ <configuration>
+ <directory>${project.build.outputDirectory}</directory>
+ <includes>
+ <include>**/*.erb</include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
diff --git a/plugins/sonar-design-plugin/pom.xml b/plugins/sonar-design-plugin/pom.xml
index d373486b77e..d78e5c99718 100644
--- a/plugins/sonar-design-plugin/pom.xml
+++ b/plugins/sonar-design-plugin/pom.xml
@@ -85,6 +85,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.sonar</groupId>
+ <artifactId>sonar-dev-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>trim</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>trim</goal>
+ </goals>
+ <configuration>
+ <directory>${project.build.outputDirectory}</directory>
+ <includes>
+ <include>**/*.erb</include>
+ </includes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
</project> \ No newline at end of file