Application Build
6/11/26About 1 minInstallation and Deployment
Environment Requirements
| Component | Version Requirement |
|---|---|
| IDEA | - |
| JDK | 1.8 |
| Node.js | 18+ |
| yarn | v1.22.22+ |
| Maven | 3.6+ |
1. qData
1.1 Backend
- Open the qData project in IDEA
1.2 Backend
- Package (jar)
# In the project root directory
mvn clean package -Dmaven.test.skip
# The startup jar is qdata-server/target/qdata-server.jar
# The data quality server startup jar is qdata-service-quality/target/qdata-service-quality.jar
# The jar uploaded for scheduling is qdata-executor-etl/target/qdata-executor-etl.jar
# From v1.6.6, ETL shared dependencies are in qdata-executor-etl/target/spark-libETL packaging changes (from v1.6.6)
The ETL application JAR and third-party dependencies are packaged separately:
qdata-executor-etl/target/
├── qdata-executor-etl.jar
└── spark-lib/To build only the ETL module, run mvn -pl qdata-executor-etl -am package -DskipTests in the project root. See Scheduler Deployment for deployment steps. v1.6.5 and earlier still use qdata-executor-etl-3.8.8.jar and do not require the new spark-lib directory.
- Package (jar + image)
⚠️ Before performing any Docker push, log in to the Alibaba Cloud image registry first:
sudo docker login --username=zhuzhuxia12138 crpi-kf13onfj0v8f6jax.cn-shanghai.personal.cr.aliyuncs.comThen enter the password as prompted to ensure you have push permission.
Package a single image separately (local, no push)
mvn clean package -pl qdata-service-quality -am -Dmaven.test.skip=true -Ddocker.print.skip=true -Ddocker.build.skip=false -Ddocker.push.skip=truePublish a single image separately (including push)
mvn -B clean deploy -pl qdata-service-quality -am -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.deploy.skip=true -Ddocker.build.skip=false -Ddocker.push.skip=falseBuild and push all images (run with caution)
mvn -B clean deploy -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -Dmaven.deploy.skip=true -Ddocker.build.skip=false -Ddocker.push.skip=false1.3 Frontend
- Install dependencies
cd qData/qdata-ui
yarn install- Build the production package
npm run build:prod- Copy build assets to Nginx
sudo mkdir -p ./www/qdata
sudo cp -r dist/* ./www/qdata2. Scheduler
2.1 Open the DolphinScheduler project in IDEA
2.2 Package the binary archive
# In the project root directory
mvnw.cmd clean install -Prelease -Dmaven.test.skip=true -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true -Dspotless.skip=true
# Binary archive directory: dolphinscheduler-dist/target/apache-dolphinscheduler-3.2.2-bin.tar.gz