Skip to content

Commit

Permalink
Merge branch 'main' into spatial-bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
leoger committed Dec 14, 2024
2 parents fa2ed69 + 59ea065 commit 5fce4a6
Show file tree
Hide file tree
Showing 13 changed files with 35 additions and 90 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn -B -ff -ntp clean install -Dgpg.skip=true
run: mvn -B -ff -ntp clean install

- name: Publish Code Coverage
if: github.ref == 'refs/heads/main' && matrix.java == '11'
Expand Down Expand Up @@ -70,7 +70,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn -B -ff -ntp clean install -Dgpg.skip=true
run: mvn -B -ff -ntp clean install

build_windows:
runs-on: windows-latest
Expand All @@ -93,7 +93,7 @@ jobs:
cache: 'maven'

- name: Build with Maven
run: mvn -B -ff -ntp clean install --% -Dgpg.skip=true
run: mvn -B -ff -ntp clean install

verify-native:
name: Verify GraalVM ${{ matrix.java }} compatibility on ${{ matrix.os }}
Expand All @@ -111,7 +111,7 @@ jobs:
distribution: 'graalvm-community'

- name: Install nitrite
run: mvn -B -ff -ntp clean install "-Dgpg.skip=true" -DskipTests
run: mvn -B -ff -ntp clean install -DskipTests

- name: Run native tests
working-directory: ./nitrite-native-tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}

- name: Deploy Release
run: mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
run: mvn -P deploy -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
shell: bash
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
PGP_KEY_PASSWORD: ${{ secrets.PGP_KEY_PASSWORD }}

- name: Deploy Snapshot
run: mvn -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
run: mvn -P deploy -B -ff -ntp deploy -DskipTests -Dgpg.passphrase="$PGP_KEY_PASSWORD"
shell: bash
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USER }}
Expand Down
13 changes: 0 additions & 13 deletions nitrite-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,17 +67,4 @@
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
8 changes: 0 additions & 8 deletions nitrite-jackson-mapper/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -132,18 +132,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions nitrite-mvstore-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion nitrite-native-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<assertj.version>3.26.3</assertj.version>
<junit.version>5.11.3</junit.version>
<native-build-tools-plugin.version>0.10.3</native-build-tools-plugin.version>
<native-build-tools-plugin.version>0.10.4</native-build-tools-plugin.version>
</properties>

<dependencyManagement>
Expand Down
8 changes: 0 additions & 8 deletions nitrite-rocksdb-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
4 changes: 0 additions & 4 deletions nitrite-spatial/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions nitrite-support/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
8 changes: 0 additions & 8 deletions nitrite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -206,18 +206,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
46 changes: 28 additions & 18 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,24 +52,24 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jackson.version>2.18.1</jackson.version>
<jackson.version>2.18.2</jackson.version>
<slf4j.version>2.0.16</slf4j.version>
<jasypt.version>1.9.3</jasypt.version>
<h2.version>2.3.232</h2.version>
<rocksdb.version>9.7.3</rocksdb.version>
<kryo5.version>5.6.2</kryo5.version>
<jts.version>1.20.0</jts.version>
<commons-codec.version>1.17.1</commons-codec.version>
<commons-io.version>2.17.0</commons-io.version>
<kotlin.version>2.0.21</kotlin.version>
<commons-io.version>2.18.0</commons-io.version>
<kotlin.version>2.1.0</kotlin.version>
<kotlinx-serialization.version>1.7.3</kotlinx-serialization.version>
<kotlinx-datetime.version>0.6.1</kotlinx-datetime.version>
<lombok.version>1.18.34</lombok.version>
<lombok.version>1.18.36</lombok.version>
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
<junit.version>4.13.2</junit.version>
<mockito.version>5.14.2</mockito.version>
<podam.version>8.0.2.RELEASE</podam.version>
<log4j.version>2.24.1</log4j.version>
<log4j.version>2.24.3</log4j.version>
<awaitility.version>4.2.2</awaitility.version>
<joda-time.version>2.13.0</joda-time.version>
<meanbean.version>2.0.3</meanbean.version>
Expand All @@ -80,11 +80,13 @@
<guava.version>33.3.1-jre</guava.version>
<threetenbp.version>1.7.0</threetenbp.version>

<error-prone.version>2.35.1</error-prone.version>
<!-- Error Prone version > 2.31.0 can't run on JDK 11. see https://errorprone.info/docs/installation -->
<error-prone.version>2.31.0</error-prone.version>

<jacoco.version>0.8.12</jacoco.version>
<surefire.version>3.5.2</surefire.version>
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-javadoc-plugin.version>3.11.1</maven-javadoc-plugin.version>
<maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
<dokka.version>1.9.20</dokka.version>
<animal-sniffer.version>1.24</animal-sniffer.version>
Expand Down Expand Up @@ -522,19 +524,27 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>deploy</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</profile>

</profiles>

<distributionManagement>
<!-- Repository for snapshots -->
<snapshotRepository>
Expand Down
8 changes: 0 additions & 8 deletions potassium-nitrite/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,6 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>animal-sniffer-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down

0 comments on commit 5fce4a6

Please sign in to comment.