Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Use mvn command to generate template project #16

Open
tjworks opened this issue Mar 16, 2022 · 1 comment
Open

Use mvn command to generate template project #16

tjworks opened this issue Mar 16, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tjworks
Copy link
Contributor

tjworks commented Mar 16, 2022

Instead of this:

./bin/tap template --group io.tapdata --name MyDataSourceConnector --version 0.0.1 --output ./connectors

Suggest using mvn statement which is common practice.

@tjworks tjworks added the enhancement New feature or request label Mar 16, 2022
@dobybros dobybros added this to the PDK support TDD framework milestone Mar 17, 2022
@dobybros
Copy link
Contributor

If use mvn command, it will be like below,
mvn -D archetypeArtifactId=target-connector-archetype archetype:generate -D archetypeGroupId=io.tapdata.pdk -D archetypeVersion=1.0.0 -D interactiveMode=false -D archetypeCatalog=local -D groupId=io.tapdata -D artifactId=xdb-connector -D package=io.tapdata.xdb -D libName=XDB -D outputDirectory="./connectors"

It is too many parameters that developer don't need to care about.
./bin/pdk template --group io.tapdata --name MyDataSourceConnector --version 0.0.1 --output ./connectors
This command look more simpler.

@dobybros dobybros assigned dobybros and unassigned dxtrzhang Apr 15, 2022
@dobybros dobybros removed this from the PDK support TDD framework milestone Apr 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants