Skip to content

Commit eeaa699

Browse files
authored
[Improve] streampark-shaded module improvement (#2717)
* [Improve] streampark-shaded module improvement * [Improve] ApiAlertException improvement
1 parent b26b36f commit eeaa699

File tree

3 files changed

+9
-41
lines changed
  • streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception
  • streampark-shaded

3 files changed

+9
-41
lines changed

streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
*
2626
*
2727
* <pre>
28-
* An exception message that needs to be notified to front-end,
29-
* usually a <strong>simple</strong>, clear</strong> message, e.g:
30-
* <p>1. Username already exists</p>
31-
* <p>2. No permission, please contact the administrator</p>
28+
* To notify the frontend of an exception message,
29+
* it is usually a <strong> clear </strong> and <strong> concise </strong> message, e.g:
30+
* <p> 1. The username already exists.</p>
31+
* <p> 2. No permission, please contact the administrator.</p>
3232
* ...
3333
* </pre>
3434
*/

streampark-shaded/pom.xml

Lines changed: 5 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
1919
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2020
<modelVersion>4.0.0</modelVersion>
21+
<parent>
22+
<groupId>org.apache.streampark</groupId>
23+
<artifactId>streampark</artifactId>
24+
<version>2.1.0</version>
25+
</parent>
2126

22-
<groupId>org.apache.streampark</groupId>
2327
<artifactId>streampark-shaded</artifactId>
2428
<version>1.0.0</version>
2529
<name>StreamPark : Shaded Parent</name>
@@ -34,14 +38,9 @@
3438
<slf4j.version>1.7.32</slf4j.version>
3539
<logback.version>1.2.11</logback.version>
3640
<jackson.version>2.13.5</jackson.version>
37-
<scala.version>2.12.8</scala.version>
38-
<scala.binary.version>2.12</scala.binary.version>
39-
<maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
40-
<streampark.shaded.package>org.apache.streampark.shaded</streampark.shaded.package>
4141
</properties>
4242

4343
<dependencyManagement>
44-
4544
<dependencies>
4645
<!--slf4j -->
4746
<dependency>
@@ -88,34 +87,4 @@
8887
</dependencies>
8988
</dependencyManagement>
9089

91-
<profiles>
92-
<profile>
93-
<id>scala-2.11</id>
94-
<properties>
95-
<scala.version>2.11.12</scala.version>
96-
<scala.binary.version>2.11</scala.binary.version>
97-
</properties>
98-
</profile>
99-
100-
<profile>
101-
<id>scala-2.12</id>
102-
<properties>
103-
<scala.version>2.12.8</scala.version>
104-
<scala.binary.version>2.12</scala.binary.version>
105-
</properties>
106-
</profile>
107-
</profiles>
108-
109-
<build>
110-
<pluginManagement>
111-
<plugins>
112-
<plugin>
113-
<groupId>org.apache.maven.plugins</groupId>
114-
<artifactId>maven-shade-plugin</artifactId>
115-
<version>${maven-shade-plugin.version}</version>
116-
</plugin>
117-
</plugins>
118-
</pluginManagement>
119-
</build>
120-
12190
</project>

streampark-shaded/streampark-shaded-jackson/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<artifactId>jackson-core</artifactId>
4040
<optional>true</optional>
4141
</dependency>
42-
4342
</dependencies>
4443

4544
<build>

0 commit comments

Comments
 (0)