GUACAMOLE-275: Automatically attempt to refresh browser cache if index.html does not match current build.
This commit is contained in:
1 parent
a1b4e76ab8
commit
e9e1703184
6 files changed
+116
-5
No files matched your search
@@ -115,19 +115,37 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
<!-- Define a "rootlocation" property that can be used to reference
|
||||
the location of the main guacamole-client directory -->
|
||||
<plugin>
|
||||
<groupId>org.codehaus.mojo</groupId>
|
||||
<artifactId>build-helper-maven-plugin</artifactId>
|
||||
<version>3.2.0</version>
|
||||
<executions>
|
||||
|
||||
<!-- Define a "rootlocation" property that can be used to
|
||||
reference the location of the main guacamole-client
|
||||
directory -->
|
||||
<execution>
|
||||
<id>define-project-root</id>
|
||||
<goals>
|
||||
<goal>rootlocation</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
<!-- Define a "guacamole.build.identifier" property that
|
||||
can be used to uniquely identify the current build
|
||||
relative to previous builds -->
|
||||
<execution>
|
||||
<id>define-build-timestamp</id>
|
||||
<configuration>
|
||||
<name>guacamole.build.identifier</name>
|
||||
<timeSource>build</timeSource>
|
||||
<pattern>yyyyMMddHHmmss</pattern>
|
||||
</configuration>
|
||||
<goals>
|
||||
<goal>timestamp-property</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
|
||||
</executions>
|
||||
</plugin>
|
||||
|
||||
|
||||
Reference in new issue
Block a user