add target/jetty-home as part of the cache as it is useful with jetty-home module (#12090)

* add target/jetty-home as part of the cache as it is useful with jetty-home module

Signed-off-by: Olivier Lamy <olamy@apache.org>

* include files from src/main/webapp in the cache checkksum

Signed-off-by: Olivier Lamy <olamy@apache.org>

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
This commit is contained in:
Olivier Lamy 2024-07-26 10:58:46 +10:00 committed by GitHub
parent 82ec6d071f
commit 2182992b31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 10 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <cache xmlns="https://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0 https://maven.apache.org/xsd/build-cache-config-1.0.0.xsd"> xsi:schemaLocation="https://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0 https://maven.apache.org/xsd/build-cache-config-1.2.0.xsd">
<configuration> <configuration>
<hashAlgorithm>XXMM</hashAlgorithm> <hashAlgorithm>XXMM</hashAlgorithm>
<enabled>true</enabled> <enabled>true</enabled>
@ -19,10 +19,18 @@
</scanProfiles> </scanProfiles>
</discovery> </discovery>
</multiModule> </multiModule>
<attachedOutputs>
<dirNames>
<dirName>jetty-home</dirName>
</dirNames>
</attachedOutputs>
</configuration> </configuration>
<input> <input>
<global> <global>
<glob>{*.java,*.xml,*.properties,*.mod,*.adoc}</glob> <glob>{*.java,*.xml,*.properties,*.mod,*.adoc}</glob>
<includes>
<include glob="{*.xml,*.properties,*.jsp,*.css}">src/main/webapp</include>
</includes>
<excludes> <excludes>
<exclude glob="*Jenkinsfile*" /> <exclude glob="*Jenkinsfile*" />
<exclude glob="./idea/*" /> <exclude glob="./idea/*" />