Skip to content

Commit

Permalink
refactor: pom.xml (DataLinkDC#1919)
Browse files Browse the repository at this point in the history
* feat

Signed-off-by: Licho <lecho.sun@gmail.com>

* feat: pom

* feat: pom

* feat: pom

* refactor: pom

* refactor: reduce pom config

* refactor: reduce pom config

* refactor: exclude default profile

* Spotless Apply

* refactor: exclude default profile

* feat

Signed-off-by: licho <lecho.sun@gmail.com>

* remove: javafaker

* fix: prod envirmnment

* fix: prod environment

* fix

Signed-off-by: Licho <lecho.sun@gmail.com>

* Spotless Apply

* trigger build

* trigger build

* fix: udf compile

* refactor: plugin verson variable

Signed-off-by: Licho <lecho.sun@gmail.com>

* Spotless Apply

* refactor: version variable

* feat: add notAll profile

* Spotless Apply

* fix: special not-all

* Spotless Apply

* fix: function

* fix: not-all build action

Signed-off-by: licho <lecho.sun@gmail.com>

* fix: dinky-app module

---------

Signed-off-by: Licho <lecho.sun@gmail.com>
Signed-off-by: licho <lecho.sun@gmail.com>
Co-authored-by: leechor <leechor@users.noreply.github.com>
  • Loading branch information
leechor and leechor authored May 4, 2023
1 parent 02bd200 commit 6cf1681
Show file tree
Hide file tree
Showing 32 changed files with 182 additions and 1,064 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
-Dspotless.check.skip=true \
-Denforcer.skip=true \
-Dmaven.javadoc.skip=true \
-P prod,scala-2.12,flink-${{ matrix.flink }},maven-central \
-P prod,scala-2.12,not-all,flink-${{ matrix.flink }},maven-central \
--no-snapshot-updates
# 检查打包的大小
Expand Down
145 changes: 20 additions & 125 deletions dinky-admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,6 @@
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
Expand Down Expand Up @@ -155,14 +147,6 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>cn.dev33</groupId>-->
<!-- <artifactId>sa-token-dao-redis-jackson</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>redis.clients</groupId>-->
<!-- <artifactId>jedis</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
Expand All @@ -173,37 +157,42 @@
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-common</artifactId>
<artifactId>dinky-daemon</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-base</artifactId>
<artifactId>dinky-gateway</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-scheduler</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-base</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-base</artifactId>
<artifactId>dinky-executor</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-daemon</artifactId>
<artifactId>dinky-alert-base</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
<artifactId>dinky-client-base</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-gateway</artifactId>
<exclusions>
<exclusion>
<groupId>io.fabric8</groupId>
<artifactId>kubernetes-client</artifactId>
</exclusion>
</exclusions>
<artifactId>dinky-client-hadoop</artifactId>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
Expand All @@ -225,106 +214,18 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-aop</artifactId>
</dependency>
<!-- hadoop -->
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-hadoop</artifactId>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-scheduler</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-process</artifactId>
</dependency>
<dependency>
<groupId>io.prometheus.jmx</groupId>
<artifactId>jmx_prometheus_javaagent</artifactId>
<version>0.16.1</version>
</dependency>

<!-- expand metadata -->
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-clickhouse</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-doris</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-hive</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-mysql</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-oracle</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-phoenix</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-postgresql</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-presto</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-sqlserver</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-metadata-starrocks</artifactId>
<scope>${expand.scope}</scope>
</dependency>

<!-- expand alert -->
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-dingtalk</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-email</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-feishu</artifactId>
<scope>${expand.scope}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-alert-wechat</artifactId>
<scope>${expand.scope}</scope>
<groupId>com.github.jsqlparser</groupId>
<artifactId>jsqlparser</artifactId>
<version>4.4</version>
</dependency>

<!-- test dependencies -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
Expand Down Expand Up @@ -397,16 +298,10 @@
<artifactId>maven-invoker</artifactId>
<version>3.2.0</version>
</dependency>
<!--<dependency>-->
<!-- <groupId>org.apache.maven</groupId>-->
<!-- <artifactId>maven-model</artifactId>-->
<!-- <version>3.9.1</version>-->
<!--</dependency>-->
</dependencies>

<build>
<finalName>${project.artifactId}-${project.version}</finalName>

<resources>
<resource>
<filtering>true</filtering>
Expand Down
2 changes: 1 addition & 1 deletion dinky-app/dinky-app-1.12/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-flink-1.12</artifactId>
<scope>provided</scope>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
Expand Down
2 changes: 1 addition & 1 deletion dinky-app/dinky-app-1.13/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-flink-1.13</artifactId>
<scope>provided</scope>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
Expand Down
2 changes: 1 addition & 1 deletion dinky-app/dinky-app-1.14/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-flink-1.14</artifactId>
<scope>provided</scope>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
Expand Down
2 changes: 1 addition & 1 deletion dinky-app/dinky-app-1.15/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-flink-1.15</artifactId>
<scope>provided</scope>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
Expand Down
19 changes: 4 additions & 15 deletions dinky-app/dinky-app-1.16/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,15 @@
<groupId>org.dinky</groupId>
<artifactId>dinky-app-base</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-1.16</artifactId>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-flink-1.16</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-client-base</artifactId>
<artifactId>dinky-client-${dinky.flink.version}</artifactId>
<scope>${scope.runtime}</scope>
</dependency>
<dependency>
<groupId>org.dinky</groupId>
<artifactId>dinky-executor</artifactId>
<artifactId>dinky-flink-${dinky.flink.version}</artifactId>
<scope>${scope.runtime}</scope>
</dependency>
</dependencies>

Expand Down
Loading

0 comments on commit 6cf1681

Please sign in to comment.