You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by ki...@apache.org on 2022/10/14 09:52:05 UTC
[incubator-seatunnel] branch dev updated: [Improve][Docs][setup] Add Building sub module (#3088)
This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-seatunnel.git
The following commit(s) were added to refs/heads/dev by this push:
new 475622138 [Improve][Docs][setup] Add Building sub module (#3088)
475622138 is described below
commit 475622138194cd45e2e8bcea4e62893ab31e4cf0
Author: liugddx <80...@qq.com>
AuthorDate: Fri Oct 14 17:52:00 2022 +0800
[Improve][Docs][setup] Add Building sub module (#3088)
* add Building sub module doc
---
docs/en/contribution/setup.md | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
diff --git a/docs/en/contribution/setup.md b/docs/en/contribution/setup.md
index 5191d39ea..bf7c9b99c 100644
--- a/docs/en/contribution/setup.md
+++ b/docs/en/contribution/setup.md
@@ -35,12 +35,24 @@ Otherwise, your code could not start in JetBrains IntelliJ IDEA correctly.
./mvnw install -Dmaven.test.skip
```
-### Building SeaTunnel from source
+### Building seaTunnel from source
+
After you install the maven, you can use the follow command to compile and package.
+
```
mvn clean package -pl seatunnel-dist -am -Dmaven.test.skip=true
```
+### Building sub module
+
+If you want to build submodules separately,you can use the follow command to compile and package.
+
+```ssh
+# This is an example of building the redis connector separately
+
+ mvn clean package -pl seatunnel-connectors-v2/connector-redis -am -DskipTest -T1C
+```
+
### Install JetBrains IDEA Scala Plugin
Now, you can open your JetBrains IntelliJ IDEA and explore the source code, but allow building Scala code in IDEA,