You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ja...@apache.org on 2016/08/22 18:16:31 UTC
ambari git commit: AMBARI-18224. Ambari logo (and other images)
missing in Chrome when SSL is enabled. (jaimin)
Repository: ambari
Updated Branches:
refs/heads/trunk a56891e78 -> d1df0800c
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/d1df0800
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d1df0800
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d1df0800
Branch: refs/heads/trunk
Commit: d1df0800c4ec96f1f6121a62ae9c4a61f76d555f
Parents: a56891e
Author: Jaimin Jetly <ja...@hortonworks.com>
Authored: Mon Aug 22 11:16:08 2016 -0700
Committer: Jaimin Jetly <ja...@hortonworks.com>
Committed: Mon Aug 22 11:16:08 2016 -0700
----------------------------------------------------------------------
ambari-web/pom.xml | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/d1df0800/ambari-web/pom.xml
----------------------------------------------------------------------
diff --git a/ambari-web/pom.xml b/ambari-web/pom.xml
index d8dea17..759b63e 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>