Skip to content
Merged
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
14 changes: 8 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
SCRIPT_DIR=$(cd -P "$(dirname "$0")" >/dev/null 2>&1 && pwd)
SCRIPT_FILE="${SCRIPT_DIR}/$(basename "$0")"

mvn_cmd=$SCRIPT_DIR/mvnw

##
## Local Development
##
Expand All @@ -26,12 +28,12 @@ SCRIPT_FILE="${SCRIPT_DIR}/$(basename "$0")"

## clean - Cleans the build output
function clean() {
mvn clean
$mvn_cmd clean
}

## build - Builds the project without running tests.
function build() {
mvn install -DskipTests=true
$mvn_cmd install -DskipTests=true
}

## test - Runs local unit tests.
Expand All @@ -42,7 +44,7 @@ function test() {
sudo ifconfig lo0 alias 127.0.0.2 up
sudo ifconfig lo0 alias 127.0.0.3 up
fi
mvn -P coverage test
$mvn_cmd -P coverage test
}

## e2e - Runs end-to-end integration tests.
Expand All @@ -66,18 +68,18 @@ function e2e_graalvm() {

## fix - Fixes java code format.
function fix() {
mvn com.coveo:fmt-maven-plugin:format
$mvn_cmd com.coveo:fmt-maven-plugin:format
}

## lint - runs the java lint
function lint() {
mvn -P lint install -DskipTests=true
$mvn_cmd -P lint install -DskipTests=true
}


## deps - updates dependencies to the latest version
function deps() {
mvn versions:use-latest-versions
$mvn_cmd versions:use-latest-versions
find . -name 'pom.xml.versionsBackup' -print0 | xargs -0 rm -f
}

Expand Down
4 changes: 2 additions & 2 deletions core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@
<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-enxio</artifactId>
<version>0.32.18</version>
<version>0.32.19</version>
</dependency>

<dependency>
<groupId>com.github.jnr</groupId>
<artifactId>jnr-unixsocket</artifactId>
<version>0.38.23</version>
<version>0.38.24</version>
<exclusions>
<exclusion>
<groupId>org.ow2.asm</groupId>
Expand Down
6 changes: 3 additions & 3 deletions jdbc/mariadb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.5</version>
<version>3.5.7</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down Expand Up @@ -87,7 +87,7 @@
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.5</version>
<version>3.5.7</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -101,7 +101,7 @@
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.5.5</version>
<version>3.5.7</version>
</dependency>
</dependencies>
</profile>
Expand Down
6 changes: 3 additions & 3 deletions jdbc/mysql-j-8/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>9.4.0</version>
<version>9.5.0</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>9.4.0</version>
<version>9.5.0</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -100,7 +100,7 @@
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
<version>9.4.0</version>
<version>9.5.0</version>
</dependency>
</dependencies>
</profile>
Expand Down
6 changes: 3 additions & 3 deletions jdbc/postgres/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.7</version>
<version>42.7.8</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -86,7 +86,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.7</version>
<version>42.7.8</version>
</dependency>
</dependencies>
</profile>
Expand All @@ -100,7 +100,7 @@
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.7.7</version>
<version>42.7.8</version>
</dependency>
</dependencies>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions jdbc/sqlserver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.2.0.jre8</version>
<version>13.2.1.jre8</version>
<scope>provided</scope>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -96,7 +96,7 @@
<dependency>
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
<version>13.2.0.jre8</version>
<version>13.2.1.jre8</version>
</dependency>
</dependencies>
</profile>
Expand Down
Loading
Loading