Repository: ambari Updated Branches: refs/heads/branch-2.4 f21b94b07 -> 3689a8db0
AMBARI-18224. Ambari logo (and other images) missing in Chrome when SSL is enabled. (jaimin) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3689a8db Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3689a8db Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3689a8db Branch: refs/heads/branch-2.4 Commit: 3689a8db02a2dbb7814490a0aba20e7de3771c0e Parents: f21b94b Author: Jaimin Jetly <[email protected]> Authored: Mon Aug 22 11:16:08 2016 -0700 Committer: Jaimin Jetly <[email protected]> Committed: Mon Aug 22 11:18:19 2016 -0700 ---------------------------------------------------------------------- ambari-web/pom.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/3689a8db/ambari-web/pom.xml ---------------------------------------------------------------------- diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml index ca75fe3..e715f94 100644 --- a/ambari-web/pom.xml +++ b/ambari-web/pom.xml @@ -200,6 +200,32 @@ </executions> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>1.7</version> + <executions> + <execution> + <id>gzip ambari-web images</id> + <phase>prepare-package</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <tasks> + <apply executable="${executable.gzip}"> + <arg value="-f"/> + <fileset dir="${basedir}/public/img/"> + <patternset> + <include name="**/*.png"/> + </patternset> + </fileset> + </apply> + </tasks> + </configuration> + </execution> + </executions> + </plugin> + <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> <configuration> @@ -255,6 +281,7 @@ <envClassifier>win</envClassifier> <dirsep>\</dirsep> <executable.brunch>cmd</executable.brunch> + <executable.gzip>${basedir}\gzip-content.cmd</executable.gzip> <args.brunch>/C brunch</args.brunch> <executable.mkdir>cmd</executable.mkdir> <args.mkdir>/C mkdir</args.mkdir> @@ -278,6 +305,7 @@ <envClassifier>linux</envClassifier> <dirsep>/</dirsep> <executable.brunch>brunch</executable.brunch> + <executable.gzip>gzip</executable.gzip> <args.brunch></args.brunch> <executable.mkdir>mkdir</executable.mkdir> <args.mkdir></args.mkdir>
