Skip to content
Merged
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
20 changes: 13 additions & 7 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,22 @@ jobs:
fetch-depth: 0
- name: "Install apt dependencies"
run: "sudo apt-get install -y graphviz wget curl"
- name: "Cache SonarCloud packages"
uses: "actions/cache@v3"
- name: Cache SonarQube packages
uses: actions/cache@v4
with:
path: "~/.sonar/cache"
key: "${{ runner.os }}-sonar"
restore-keys: "${{ runner.os }}-sonar"
- name: "Set up JDK 17"
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: "Set up JDK 21"
uses: "actions/setup-java@v2"
with:
java-version: "17"
java-version: "21"
distribution: "adopt"
cache: maven
- name: "Build artifacts"
Expand Down
36 changes: 17 additions & 19 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<connection>scm:git:git@github.com:tmorin/archicode.git</connection>
<developerConnection>scm:git:git@github.com:tmorin/archicode.git</developerConnection>
<url>https://github.com/tmorin/archicode</url>
<tag>HEAD</tag>
</scm>
<tag>HEAD</tag>
</scm>
<ciManagement>
<system>GitHub Actions</system>
<url>https://github.com/tmorin/archicode/actions</url>
Expand All @@ -38,17 +38,17 @@
</repository>
</distributionManagement>
<properties>
<compiler-plugin.version>3.12.1</compiler-plugin.version>
<maven.compiler.release>17</maven.compiler.release>
<compiler-plugin.version>3.14.0</compiler-plugin.version>
<maven.compiler.release>21</maven.compiler.release>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
<quarkus.platform.group-id>io.quarkus.platform</quarkus.platform.group-id>
<quarkus.platform.version>3.7.3</quarkus.platform.version>
<quarkus.platform.version>3.21.1</quarkus.platform.version>
<skipITs>true</skipITs>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.organization>tmorin</sonar.organization>
<surefire-plugin.version>3.2.3</surefire-plugin.version>
<surefire-plugin.version>3.5.2</surefire-plugin.version>
<plugin.asciidoctor.skip>false</plugin.asciidoctor.skip>
</properties>
<dependencyManagement>
Expand Down Expand Up @@ -96,7 +96,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.30</version>
<version>1.18.34</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -156,9 +156,7 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>${compiler-plugin.version}</version>
<configuration>
<compilerArgs>
<arg>-parameters</arg>
</compilerArgs>
<parameters>true</parameters>
</configuration>
</plugin>
<plugin>
Expand All @@ -180,16 +178,16 @@
<goal>integration-test</goal>
<goal>verify</goal>
</goals>
<configuration>
<systemPropertyVariables>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner
</native.image.path>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<maven.home>${maven.home}</maven.home>
</systemPropertyVariables>
</configuration>
</execution>
</executions>
<configuration>
<systemPropertyVariables>
<native.image.path>${project.build.directory}/${project.build.finalName}-runner
</native.image.path>
<java.util.logging.manager>org.jboss.logmanager.LogManager</java.util.logging.manager>
<maven.home>${maven.home}</maven.home>
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
Expand Down Expand Up @@ -241,7 +239,7 @@
</activation>
<properties>
<skipITs>false</skipITs>
<quarkus.package.type>native</quarkus.package.type>
<quarkus.native.enabled>true</quarkus.native.enabled>
</properties>
</profile>
</profiles>
Expand Down