Skip to content

Commit

Permalink
chore: fix mvn package args
Browse files Browse the repository at this point in the history
  • Loading branch information
VGalaxies committed Aug 23, 2023
1 parent ff7a779 commit 880d283
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To build without executing tests:

```
mvn clean
mvn package -DskipTests
mvn package -DskipTests -Passembly-hugegraph,tar-package
```

## Building on Eclipse IDE
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ FROM maven:3.9.0-eclipse-temurin-11 AS build

COPY . /pkg
WORKDIR /pkg
RUN mvn package -e -B -ntp -DskipTests -Dmaven.javadoc.skip=true && pwd && ls -l
RUN mvn package -e -B -ntp -DskipTests -Passembly-hugegraph,tar-package -Dmaven.javadoc.skip=true \
&& pwd && ls -l

# 2nd stage: runtime env
FROM openjdk:11-slim
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-dist/src/assembly/jenkins/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ OUTPUT="hugegraph-release-*.tar.gz"

echo "Start publish..."

mvn clean package -DskipTests
mvn clean package -DskipTests -Passembly-hugegraph,tar-package
if [ $? -ne 0 ]; then
echo "Failed to package."
exit 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ JACOCO_PORT=36320
RAFT_TOOLS=$RAFT1_DIR/bin/raft-tools.sh
RAFT_LEADER="127.0.0.1:8091"

mvn package -DskipTests
mvn package -DskipTests -Passembly-hugegraph,tar-package

# mkdir for each raft-server
cp -r $SERVER_DIR $RAFT1_DIR
Expand Down
2 changes: 1 addition & 1 deletion hugegraph-dist/src/assembly/travis/run-api-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ REST_SERVER_CONF=$SERVER_DIR/conf/rest-server.properties
GREMLIN_SERVER_CONF=$SERVER_DIR/conf/gremlin-server.yaml
JACOCO_PORT=36320

mvn package -DskipTests -ntp
mvn package -DskipTests -Passembly-hugegraph,tar-package -ntp


# add mysql dependency
Expand Down

0 comments on commit 880d283

Please sign in to comment.