From: Jean-Baptiste Lievremont Date: Fri, 16 May 2014 10:22:37 +0000 (+0200) Subject: SONAR-4636 Use Maven WAR overlay for branding resources X-Git-Tag: 4.4-RC1~999 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=585bf9fbb752234df5835f8fd5d66349a9fc87e0;p=sonarqube.git SONAR-4636 Use Maven WAR overlay for branding resources --- diff --git a/sonar-server/pom.xml b/sonar-server/pom.xml index 9ad742f721f..3318c123d34 100644 --- a/sonar-server/pom.xml +++ b/sonar-server/pom.xml @@ -13,7 +13,6 @@ default - file:${basedir}/src/main/erb/branding src/main/java,src/main/js @@ -334,44 +333,10 @@ - - org.apache.maven.plugins - maven-antrun-plugin - - - download-branding-resources - prepare-package - - run - - - - - - - - - - - - - org.apache.maven.plugins maven-war-plugin - - - ${project.build.directory}/${project.build.finalName}/branding - **/* - - **/*.log,*.iml,WEB-INF/script/,WEB-INF/test/,javascripts/*-min.js,stylesheets/*-min.css,javascripts/tests/**/*, build/**,coffee/**,less/**,templates/** @@ -694,8 +659,33 @@ true + + org.apache.maven.plugins + maven-war-plugin + + + + com.sonarsource + sonarsource-branding + + + + + + + + + + + com.sonarsource + sonarsource-branding + 0.1-SNAPSHOT + war + runtime + + diff --git a/sonar-server/src/main/erb/branding/_footer.html.erb b/sonar-server/src/main/erb/branding/_footer.html.erb deleted file mode 100644 index 332b7691a1e..00000000000 --- a/sonar-server/src/main/erb/branding/_footer.html.erb +++ /dev/null @@ -1,6 +0,0 @@ -
- This application is based on - SonarQube™ - but is not an official version provided by - SonarSource SA. -
diff --git a/sonar-server/src/main/erb/branding/logo.png b/sonar-server/src/main/erb/branding/logo.png deleted file mode 100644 index 427fb75b862..00000000000 Binary files a/sonar-server/src/main/erb/branding/logo.png and /dev/null differ diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb index 63abc76f030..332b7691a1e 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/branding/_footer.html.erb @@ -1 +1,6 @@ -
TODO
+
+ This application is based on + SonarQube™ + but is not an official version provided by + SonarSource SA. +