117 lines
4.2 KiB
XML
117 lines
4.2 KiB
XML
<cache xmlns="https://maven.apache.org/BUILD-CACHE-CONFIG/1.2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
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>
|
|
<hashAlgorithm>XXMM</hashAlgorithm>
|
|
<enabled>true</enabled>
|
|
<!-- activated via cli -->
|
|
<!-- to disable it just use -Dmaven.build.cache.enabled=false -->
|
|
<!--
|
|
-Dmaven.build.cache.remote.url=dav:http://nginx-cache-service.jenkins.svc.cluster.local:80 -Dmaven.build.cache.remote.enabled=true
|
|
-Dmaven.build.cache.remote.save.enabled=true -Dmaven.build.cache.remote.server.id=remote-build-cache-server
|
|
-->
|
|
<!-- <remote enabled="true" saveToRemote="true" id="remote-build-cache-server">-->
|
|
<!-- <url>dav:http://nginx-cache-service.jenkins.svc.cluster.local:80</url>-->
|
|
<!-- </remote>-->
|
|
<multiModule>
|
|
<discovery>
|
|
<scanProfiles>
|
|
<scanProfile>ci</scanProfile>
|
|
</scanProfiles>
|
|
</discovery>
|
|
</multiModule>
|
|
<attachedOutputs>
|
|
<dirNames>
|
|
<dirName>jetty-home</dirName>
|
|
</dirNames>
|
|
</attachedOutputs>
|
|
</configuration>
|
|
<input>
|
|
<global>
|
|
<glob>{*.java,*.xml,*.properties,*.mod,*.adoc}</glob>
|
|
<includes>
|
|
<include glob="{*.xml,*.properties,*.jsp,*.css}">src/main/webapp</include>
|
|
</includes>
|
|
<excludes>
|
|
<exclude glob="*Jenkinsfile*" />
|
|
<exclude glob="./idea/*" />
|
|
</excludes>
|
|
</global>
|
|
<plugins>
|
|
<plugin groupId="org.apache.maven.plugins" artifactId="maven-invoker-plugin">
|
|
<effectivePom>
|
|
<excludeProperties>
|
|
<excludeProperty>scriptVariables</excludeProperty>
|
|
<excludeProperty>settingsFile</excludeProperty>
|
|
<excludeProperty>filterProperties</excludeProperty>
|
|
</excludeProperties>
|
|
</effectivePom>
|
|
</plugin>
|
|
<plugin groupId="org.apache.maven.plugins" artifactId="maven-surefire-plugin">
|
|
<effectivePom>
|
|
<excludeProperties>
|
|
<excludeProperty>systemPropertyVariables</excludeProperty>
|
|
</excludeProperties>
|
|
</effectivePom>
|
|
</plugin>
|
|
<plugin artifactId="asciidoctor-maven-plugin" groupId="org.asciidoctor">
|
|
<effectivePom>
|
|
<excludeProperties>
|
|
<excludeProperty>attributes</excludeProperty>
|
|
</excludeProperties>
|
|
</effectivePom>
|
|
</plugin>
|
|
</plugins>
|
|
</input>
|
|
<executionControl>
|
|
<runAlways>
|
|
<goalsLists>
|
|
<goalsList artifactId="maven-install-plugin">
|
|
<goals>
|
|
<goal>install</goal>
|
|
</goals>
|
|
</goalsList>
|
|
<goalsList artifactId="maven-deploy-plugin">
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</goalsList>
|
|
</goalsLists>
|
|
</runAlways>
|
|
<reconcile>
|
|
<plugins>
|
|
<!-- workaround for https://issues.apache.org/jira/browse/MBUILDCACHE-56 -->
|
|
<plugin artifactId="maven-enforcer-plugin" goal="enforce">
|
|
<nologs>
|
|
<nolog propertyName="commandLineRules"/>
|
|
</nologs>
|
|
</plugin>
|
|
<plugin artifactId="maven-invoker-plugin" goal="integration-test">
|
|
<nologs>
|
|
<nolog propertyName="scriptVariables"/>
|
|
<nolog propertyName="settingsFile"/>
|
|
<nolog propertyName="filterProperties"/>
|
|
</nologs>
|
|
</plugin>
|
|
<plugin artifactId="maven-surefire-plugin" goal="test">
|
|
<reconciles>
|
|
<reconcile propertyName="skip" skipValue="true"/>
|
|
<reconcile propertyName="skipExec" skipValue="true"/>
|
|
<reconcile propertyName="skipTests" skipValue="true"/>
|
|
<reconcile propertyName="testFailureIgnore" skipValue="true"/>
|
|
<reconcile propertyName="test" skipValue="true"/>
|
|
</reconciles>
|
|
<nologs>
|
|
<nolog propertyName="systemPropertyVariables"/>
|
|
</nologs>
|
|
</plugin>
|
|
<plugin artifactId="asciidoctor-maven-plugin" goal="process-asciidoc" groupId="org.asciidoctor">
|
|
<nologs>
|
|
<nolog propertyName="attributes"/>
|
|
</nologs>
|
|
</plugin>
|
|
</plugins>
|
|
</reconcile>
|
|
</executionControl>
|
|
</cache>
|
|
|