Skip to content

Commit

Permalink
Fix maven packaging syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
wgzhao committed Aug 11, 2021
1 parent 1d738a8 commit 7fc16c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ jobs:
distribution: 'adopt'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
- run: mvn deploy -pl ":dbffilereader" -am
- run: mvn -B -V -T C1 -DskipTests deploy -pl '!:addax-docs'

- name: Publish to GitHub Packages Apache Maven
run: mvn deploy -s $GITHUB_WORKSPACE/settings.xml
run: mvn -B -V -T C1 -DskipTests deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,15 +183,15 @@ other plug-ins need to be downloaded separately, the download shared directory l
```shell
git clone https://github.com/wgzhao/addax.git addax
cd addax
./mvnw clean package -pl '!:docs'
./mvnw package assembly:single
mvn clean package -pl '!:addax-docs'
mvn package assembly:single
```

If you want to compile the doc, you can execute the following instructions.

```shell
cd docs
../mvnw clean package
mvn clean package
```

After successful compilation and packaging, a `addax-<version>` folder will be created in the `target/datax` directory of the project directory, where `<version` indicates the version.
Expand Down
6 changes: 3 additions & 3 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ docker run -ti --rm --name addax wgzhao/addax:latest /opt/addax/bin/addax.sh /op
```shell
git clone https://github.com/wgzhao/addax.git addax
cd addax
./mvnw clean package -pl '!:docs'
./mvnw package assembly:single
mvn clean package -pl '!:addax-docs'
mvn package assembly:single
```

如果需要编译文档,请执行下面的命令

```shell
cd docs
../mvnw clean package
mvn clean package
```

编译打包成功后,会在项目目录的`target/addax` 目录下创建一个 `addax-<version>`的 文件夹,其中 `<version>` 表示版本。
Expand Down

0 comments on commit 7fc16c4

Please sign in to comment.