All Downloads are FREE. Search and download functionalities are using the official Maven repository.

archetype-resources..mvn.maven-build-cache-config.xml Maven / Gradle / Ivy

Go to download

Defines a root level project archetype that can then have pipeline archetypes added to it

The newest version!
<?xml version="1.0" encoding="UTF-8" ?>
<!---
 Licensed to the Apache Software Foundation (ASF) under one or more
 contributor license agreements.  See the NOTICE file distributed with
 this work for additional information regarding copyright ownership.
 The ASF licenses this file to You under the Apache License, Version 2.0
 (the "License"); you may not use this file except in compliance with
 the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.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">

    <!--
        Maven build cache configuration for aiSSEMBLE

        This feature requires Maven 3.9+, and is enabled by default. To disable it, you must pass the
        -Dmaven.build.cache.skipCache=true flag to your build, or set `enabled` to `false` within this file. It is also
        useful to look over the other build options available:
            https://maven.apache.org/extensions/maven-build-cache-extension/parameters.html
     -->

    <configuration>
        <enabled>true</enabled>
        <hashAlgorithm>SHA-256</hashAlgorithm>
        <validateXml>true</validateXml>
        <remote enabled="false">
            <url>http://host:port</url>
        </remote>
        <attachedOutputs>
            <dirNames>
                <dirName>../dist</dirName>
                <dirName>quarkus-app</dirName>
                <dirName>helm</dirName>
                <dirName>docker</dirName>
                <dirName>dockerbuild</dirName>
                <dirName>krausening</dirName>
                <!-- Reports needed on CI to ensure consistent reporting of QA metrics: -->
                <dirName>../target/cucumber-reports</dirName>
                <dirName>../target/surefire-reports</dirName>
                <dirName>../target/failsafe-reports</dirName>
            </dirNames>
        </attachedOutputs>
        <local>
            <maxBuildsCached>5</maxBuildsCached>
        </local>
        <projectVersioning adjustMetaInf="true"/>
    </configuration>

    <input>
        <global>
            <glob>
                {*.java,*.json,*.groovy,*.yaml,*.svcd,*.proto,*.xml,*.vm,*.ini,*.jks,*.properties,*.sh,*.bat,*.py,Dockerfile,*.feature}
            </glob>
            <includes>
                <include>src/</include>
                <include>tests/</include> <!-- Helm and Python modules -->
                <include>templates/</include> <!-- Helm modules -->
                <include>pom.xml</include>
                <include>pyproject.toml</include>
            </includes>
            <excludes>
                <exclude>poetry.lock</exclude>
                <exclude>Chart.lock</exclude>
            </excludes>
        </global>
    </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 logAllProperties="true">
            <plugins>
                <plugin artifactId="maven-compiler-plugin" goal="compile">
                    <reconciles>
                        <reconcile propertyName="source"/>
                        <reconcile propertyName="target"/>
                        <reconcile propertyName="debug"/>
                        <reconcile propertyName="debuglevel"/>
                    </reconciles>
                    <!-- whitelist of logged properties-->
                    <logs>
                        <log propertyName="includes"/>
                        <log propertyName="excludes"/>
                        <log propertyName="argLine"/>
                    </logs>
                </plugin>
                <plugin artifactId="maven-enforcer-plugin" goal="enforce">
                    <reconciles>
                        <reconcile propertyName="skip" skipValue="true"/>
                    </reconciles>
                    <nologs>
                        <nolog propertyName="commandLineRules"/>
                    </nologs>
                </plugin>
            </plugins>
        </reconcile>
    </executionControl>
</cache>




© 2015 - 2025 Weber Informatics LLC | Privacy Policy