seatunnel icon indicating copy to clipboard operation
seatunnel copied to clipboard

[Feature][connector] How to compile the specified connectors from the source code?

Open zhangm365 opened this issue 1 year ago • 1 comments

Search before asking

  • [X] I had searched in the feature and found no similar feature requirement.

Description

How to compile the specified connectors from source code? For example, I have just needed to build the connector-cdc connector module and package it to the target tar file named apache-seatunnel-2.3.4/connectors/.

Usage Scenario

build from source code

Related issues

no

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

zhangm365 avatar Feb 22 '24 11:02 zhangm365

if you compile jar from the source code, there has some way to reduce the connector jars:

  1. added one more maven profile
  2. update the current profile (by default using seatunnel profile), remove some connectors all the above operation is in this file https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml

liunaijie avatar Feb 23 '24 09:02 liunaijie

if you compile jar from the source code, there has some way to reduce the connector jars:

  1. added one more maven profile
  2. update the current profile (by default using seatunnel profile), remove some connectors all the above operation is in this file https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml

What is the maven profile?, Where is it?

zhangm365 avatar Feb 26 '24 03:02 zhangm365

https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml this file

if you compile jar from the source code, there has some way to reduce the connector jars:

  1. added one more maven profile
  2. update the current profile (by default using seatunnel profile), remove some connectors all the above operation is in this file https://github.com/apache/seatunnel/blob/dev/seatunnel-dist/pom.xml

What is the maven profile?, Where is it?

liunaijie avatar Feb 26 '24 08:02 liunaijie