Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,18 @@ jobs:
java-version: '21'
- name: Set up Workspace Enviroment Variable
run: echo "WORKSPACE=${{ github.workspace }}" >> $GITHUB_ENV
- name: Cache Maven dependencies
- name: Cache Maven dependencies and build cache
uses: actions/cache@v4
with:
path: /home/runner/.m2/repository
key: ${{ runner.os }}-maven-0-${{ hashFiles('**/pom.xml') }}
with:
path: |
/home/runner/.m2/repository
/home/runner/.m2/build-cache
key: ${{ runner.os }}-maven-build-cache-${{ hashFiles('**/pom.xml', '.mvn/**') }}
restore-keys: |
${{ runner.os }}-maven-build-cache-
${{ runner.os }}-maven-
- name: Build with Maven within a virtual X Server Environment
run: xvfb-run mvn clean verify checkstyle:check pmd:pmd pmd:check pmd:cpd-check spotbugs:check -f ./ddk-parent/pom.xml --batch-mode --fail-at-end
run: xvfb-run mvn clean verify checkstyle:check pmd:pmd pmd:check pmd:cpd-check spotbugs:check -f ./ddk-parent/pom.xml --batch-mode --fail-at-end -T1.5C
- name: Archive Tycho Surefire Plugin
if: ${{ failure() }}
uses: actions/upload-artifact@v4
Expand Down
9 changes: 9 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
<extension>
<groupId>org.apache.maven.extensions</groupId>
<artifactId>maven-build-cache-extension</artifactId>
<version>1.2.0</version>
</extension>
</extensions>
65 changes: 65 additions & 0 deletions .mvn/maven-build-cache-config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<cache xmlns="http://maven.apache.org/BUILD-CACHE-CONFIG/1.0.0">
<configuration>
<enabled>true</enabled>
<hashAlgorithm>SHA-256</hashAlgorithm>
<validateXml>true</validateXml>
<local>
<maxBuildsCached>10</maxBuildsCached>
</local>
</configuration>

<input>
<global>
<excludes>
<exclude glob="**/target/**" />
<exclude glob="**/.git/**" />
<exclude glob="**/.DS_Store" />
<exclude glob="**/Thumbs.db" />
</excludes>
</global>
</input>

<executionControl>
<runAlways>
<goalsLists>
<goalsList>
<goals>
<goal>clean</goal>
</goals>
</goalsList>
</goalsLists>
</runAlways>

<reconcile>
<plugins>
<plugin artifactId="maven-compiler-plugin">
<reconciles>
<reconcile propertyName="source"/>
<reconcile propertyName="target"/>
<reconcile propertyName="encoding"/>
</reconciles>
</plugin>
<plugin artifactId="tycho-compiler-plugin">
<reconciles>
<reconcile propertyName="source"/>
<reconcile propertyName="target"/>
<reconcile propertyName="showWarnings"/>
<reconcile propertyName="showDeprecation"/>
</reconciles>
</plugin>
<plugin artifactId="maven-surefire-plugin">
<reconciles>
<reconcile propertyName="forkCount"/>
<reconcile propertyName="reuseForks"/>
</reconciles>
</plugin>
<plugin artifactId="tycho-surefire-plugin">
<reconciles>
<reconcile propertyName="skip"/>
</reconciles>
</plugin>
</plugins>
</reconcile>
</executionControl>
</cache>