<properties>
<gruntTask>default</gruntTask>
+ <branding.url>file:${basedir}/src/main/erb/branding</branding.url>
<!-- self-analysis -->
<sonar.sources>src/main/java,src/main/js</sonar.sources>
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>download-branding-resources</id>
+ <phase>process-resources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target>
+ <!-- download file -->
+ <get src="${branding.url}/_footer.html.erb"
+ dest="${project.build.directory}/${project.build.finalName}/WEB-INF/app/views/branding"
+ verbose="false"
+ usetimestamp="false"/>
+ <get src="${branding.url}/logo.png"
+ dest="${project.build.directory}/${project.build.finalName}/images"
+ verbose="false"
+ usetimestamp="false"/>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<% end %>
<%= yield :sidebar %>
+
<li id="logo">
- <center><a href="http://www.sonarqube.org/" target="SonarSource"><%= image_tag('sonarqube-24x100.png', :alt => message('layout.sonar.slogan'), :width => 100, :height => 24) -%></a></center>
+ <center><a href="http://www.sonarqube.org/" target="SonarSource"><%= image_tag('logo.png', :alt => message('layout.sonar.slogan'), :width => 100, :height => 24) -%></a></center>
</li>
</ul>
</div>
<% end %>
<% end %>
<div id="ftlinks">
- <div>SonarQube™ technology is powered by <a href="http://www.sonarsource.com" target="SonarSource SA">SonarSource SA</a></div>
+ <%= render 'branding/footer' -%>
<div>
Version <%= sonar_version -%> -
<a href="http://www.sonarqube.org" target="sonar">Community</a> -