mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
GUACAMOLE-275: Automatically attempt to refresh browser cache if index.html does not match current build.
This commit is contained in:
22
pom.xml
22
pom.xml
@@ -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