-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to Java 22 (no preview needed), deploy snapshots to OSSRH
- Loading branch information
Showing
11 changed files
with
142 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
# For more information see: | ||
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-maven | ||
# https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md | ||
|
||
name: Java CI with Maven | ||
|
||
|
@@ -15,10 +16,29 @@ jobs: | |
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '21' | ||
java-version: '22' | ||
distribution: 'temurin' | ||
cache: maven | ||
- name: Build with Maven | ||
run: mvn -B package --file pom.xml | ||
- name: Update dependency graph # Improve the quality of Dependabot alerts | ||
uses: advanced-security/[email protected] | ||
|
||
deploy: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: github.repository_owner == 'alveolo' && github.ref == 'refs/heads/main' | ||
|
||
steps: | ||
- uses: actions/[email protected] | ||
- name: Set up JDK | ||
uses: actions/[email protected] | ||
with: | ||
java-version: '22' | ||
distribution: 'temurin' | ||
cache: maven | ||
server-id: ossrh | ||
server-username: ${{ secrets.OSSRH_USERNAME }} | ||
server-password: ${{ secrets.OSSRH_PASSWORD }} | ||
- name: Deploy to Sonatype OSSRH | ||
run: mvn -B deploy --file pom.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,14 +5,42 @@ http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd | |
"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>org.alveolo.ffm</groupId> | ||
<artifactId>alveolo-ffm-aggregate</artifactId> | ||
<version>0.0.2-SNAPSHOT</version> | ||
<parent> | ||
<groupId>org.alveolo.ffm</groupId> | ||
<artifactId>alveolo-ffm-parent</artifactId> | ||
<version>0.0.2-SNAPSHOT</version> | ||
<relativePath>parent/pom.xml</relativePath> | ||
</parent> | ||
|
||
<artifactId>alveolo-ffm-root</artifactId> | ||
<packaging>pom</packaging> | ||
<name>Alveolo FFM - Root</name> | ||
<description>Alveolo FFM - Root</description> | ||
<url>https://github.com/alveolo/alveolo-ffm</url> | ||
|
||
<licenses> | ||
<license> | ||
<name>Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
|
||
<developers> | ||
<developer> | ||
<name>Igor Malinin</name> | ||
<email>[email protected]</email> | ||
<organization>Alveolo</organization> | ||
<organizationUrl>https://github.com/alveolo/</organizationUrl> | ||
</developer> | ||
</developers> | ||
|
||
<scm> | ||
<connection>scm:git:git://github.com/alveolo/alveolo-ffm.git</connection> | ||
<developerConnection>scm:git:ssh://github.com:alveolo/alveolo-ffm.git</developerConnection> | ||
<url>https://github.com/alveolo/alveolo-ffm/tree/main</url> | ||
</scm> | ||
|
||
<properties> | ||
<maven.compiler.release>21</maven.compiler.release> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
|
@@ -27,11 +55,16 @@ http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd | |
<plugins> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>3.12.1</version> | ||
<artifactId>maven-deploy-plugin</artifactId> | ||
<configuration> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-install-plugin</artifactId> | ||
<configuration> | ||
<enablePreview>true</enablePreview> | ||
<proc>none</proc> | ||
<skip>true</skip> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters