diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2017-02-02 13:48:37 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2017-02-02 13:48:48 +0100 |
commit | cf249ebea86fb22573b8308e8b7741b0ef1c43d6 (patch) | |
tree | c8e5cc348fc29be401af0d411dddf1719092ebd8 /server/sonar-web/pom.xml | |
parent | f68400bad2fa34525a5caf62b603d2e547dd4df6 (diff) | |
download | sonarqube-cf249ebea86fb22573b8308e8b7741b0ef1c43d6.tar.gz sonarqube-cf249ebea86fb22573b8308e8b7741b0ef1c43d6.zip |
SONAR-8457 upgrade sonarsource-branding
Diffstat (limited to 'server/sonar-web/pom.xml')
-rw-r--r-- | server/sonar-web/pom.xml | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/server/sonar-web/pom.xml b/server/sonar-web/pom.xml index 53c1bbcaaad..0b81a4f6775 100644 --- a/server/sonar-web/pom.xml +++ b/server/sonar-web/pom.xml @@ -19,7 +19,7 @@ <sonar.exclusions>src/main/js/libs/third-party/**/*,src/main/js/libs/require.js,src/main/js/**/__tests__/**</sonar.exclusions> <yarn.script>build</yarn.script> </properties> - + <build> <resources> <resource> @@ -175,21 +175,27 @@ </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-war-plugin</artifactId> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <id>copy-branding</id> + <phase>initialize</phase> + <goals> + <goal>unpack</goal> + </goals> + </execution> + </executions> <configuration> - <overlays> - <overlay> + <artifactItems> + <artifactItem> <groupId>com.sonarsource</groupId> <artifactId>sonarsource-branding</artifactId> - <!-- branding resources are added first --> - <excludes> - <exclude>META-INF/**/*</exclude> - </excludes> - </overlay> - <overlay> - <!-- empty groupId/artifactId represents the current build => branding not overwritten --> - </overlay> - </overlays> + <type>war</type> + <overWrite>true</overWrite> + <outputDirectory>${project.basedir}</outputDirectory> + <includes>**/*.js,**/*.svg</includes> + </artifactItem> + </artifactItems> </configuration> </plugin> <plugin> @@ -224,7 +230,7 @@ <dependency> <groupId>com.sonarsource</groupId> <artifactId>sonarsource-branding</artifactId> - <version>1.2</version> + <version>1.3.0.304</version> <type>war</type> <scope>runtime</scope> </dependency> |