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
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ on:
- master
- develop
pull_request:
types: [ opened, synchronize, reopened ]
types: [opened, synchronize, reopened]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4.2.2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 17
uses: actions/setup-java@v3.9.0
uses: actions/setup-java@v4.7.1
with:
java-version: 17
distribution: 'temurin'
- name: Cache Maven packages
uses: actions/cache@v3.0.11
uses: actions/cache@v4.2.3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/javadoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@v4.1.1
uses: actions/checkout@v4.2.2

- name: Set up JDK 17
uses: actions/setup-java@v4.0.0
uses: actions/setup-java@v4.7.1
with:
java-version: 17
distribution: 'temurin'

- name: Cache Maven packages
uses: actions/cache@v4.0.0
uses: actions/cache@v4.2.3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
Expand All @@ -41,14 +41,14 @@ jobs:
run: mvn clean javadoc:aggregate -DskipTests

- name: Setup Pages
uses: actions/configure-pages@v4.0.0
uses: actions/configure-pages@v5.0.0

- name: Upload artifact
uses: actions/upload-pages-artifact@v3.0.0
uses: actions/upload-pages-artifact@v3.0.1
with:
# Upload entire repository
path: 'target/site/apidocs'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4.0.3
uses: actions/deploy-pages@v4.0.5
28 changes: 17 additions & 11 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>fr.ght1pc9kc</groupId>
Expand Down Expand Up @@ -58,9 +59,10 @@
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version>
<mongodb-driver.version>4.11.5</mongodb-driver.version>
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
<central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version>
<sonar-maven-plugin.version>5.1.0.4751</sonar-maven-plugin.version>

<surefire.argline.opens />
<surefire.argline.opens/>
</properties>


Expand Down Expand Up @@ -190,6 +192,11 @@
</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.sonarsource.scanner.maven</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar-maven-plugin.version}</version>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down Expand Up @@ -365,9 +372,13 @@
</configuration>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>${nexus-staging-maven-plugin.version}</version>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>ossrh</publishingServerId>
</configuration>
<executions>
<execution>
<id>default-deploy</id>
Expand All @@ -377,11 +388,6 @@
</goals>
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>
Expand Down