Skip to content

Commit 001b593

Browse files
committed
Refactor to use Maven for building and publishing Java packages
1 parent c007dd1 commit 001b593

107 files changed

Lines changed: 1362 additions & 1062 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/install-maven/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ runs:
44
steps:
55
- name: Install Maven
66
run: |
7-
wget --no-check-certificate https://archive.apache.org/dist/maven/maven-3/3.9.11/binaries/apache-maven-3.9.11-bin.tar.gz
8-
tar zxf apache-maven-3.9.11-bin.tar.gz
9-
echo "export M2_HOME=$(pwd)/apache-maven-3.9.11" >> $GITHUB_ENV
10-
echo "$(pwd)/apache-maven-3.9.11/bin" >> $GITHUB_PATH
7+
wget --no-check-certificate https://archive.apache.org/dist/maven/maven-3/3.9.12/binaries/apache-maven-3.9.12-bin.tar.gz
8+
tar zxf apache-maven-3.9.12-bin.tar.gz
9+
echo "export M2_HOME=$(pwd)/apache-maven-3.9.12" >> $GITHUB_ENV
10+
echo "$(pwd)/apache-maven-3.9.12/bin" >> $GITHUB_PATH
1111
shell: bash

.gitignore

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ io_tracer_parser
6161
.vscode
6262
.clangd
6363

64-
java/out
64+
java/pom.xml
6565
java/target
66-
java/test-libs
6766
java/*.log
68-
java/include/org_rocksdb_*.h
6967

7068
.idea/
7169
*.iml
@@ -75,8 +73,6 @@ rocksdb.h
7573
unity.cc
7674
java/crossbuild/.vagrant
7775
.vagrant/
78-
java/**/*.asc
79-
java/javadoc
8076

8177
scan_build_report/
8278
t

INSTALL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ most processors made since roughly 2013.
149149
* Install the dependencies for RocksJava (optional):
150150

151151
export BATCH=yes
152-
cd /usr/ports/java/openjdk7 && make install
152+
cd /usr/ports/java/openjdk8 && make install
153153

154154
* Build RocksDB from source:
155155
cd ~
@@ -159,7 +159,7 @@ most processors made since roughly 2013.
159159

160160
* Build RocksJava from source (optional):
161161
cd rocksdb
162-
export JAVA_HOME=/usr/local/openjdk7
162+
export JAVA_HOME=/usr/local/openjdk8
163163
gmake rocksdbjava
164164

165165
* **OpenBSD** (6.3/-current):

Makefile

Lines changed: 53 additions & 107 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)