Merge pull request 'upload sources jar and enable maven cache on ci' (#37) from sources into main
All checks were successful
Build / build (push) Successful in 2m12s

Reviewed-on: phoenix/quarkus-commons#37
This commit is contained in:
Jorge Bornhausen 2025-01-07 10:42:31 +00:00
commit 019b0f8b17
3 changed files with 17 additions and 0 deletions

View file

@ -31,6 +31,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Configure Maven CI/CD settings
uses: https://github.com/s4u/maven-settings-action@v3.1.0

View file

@ -59,6 +59,7 @@ jobs:
with:
distribution: 'temurin'
java-version: '21'
cache: 'maven'
- name: Make maven wrapper executable
run: chmod +x mvnw

15
pom.xml
View file

@ -28,6 +28,7 @@
<jacoco-plugin.version>0.8.12</jacoco-plugin.version> <!-- Match with version from Quarkus BOM -->
<jandex-plugin.version>3.2.3</jandex-plugin.version>
<release-plugin.version>3.1.1</release-plugin.version>
<source-plugin.version>3.3.1</source-plugin.version>
<!-- Build properties -->
<maven.compiler.release>21</maven.compiler.release>
@ -196,6 +197,20 @@
<autoVersionSubmodules>true</autoVersionSubmodules>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>${source-plugin.version}</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>