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
All checks were successful
Build / build (push) Successful in 2m12s
Reviewed-on: phoenix/quarkus-commons#37
This commit is contained in:
commit
019b0f8b17
3 changed files with 17 additions and 0 deletions
1
.github/workflows/build.yaml
vendored
1
.github/workflows/build.yaml
vendored
|
@ -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
|
||||
|
|
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
|
@ -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
15
pom.xml
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue