This is an automated email from the ASF dual-hosted git repository.

muchunjin pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git


The following commit(s) were added to refs/heads/dev by this push:
     new eeaa69999 [Improve] streampark-shaded module improvement (#2717)
eeaa69999 is described below

commit eeaa6999976adde0fdf6159f041036ff65ab9121
Author: benjobs <[email protected]>
AuthorDate: Tue May 2 09:55:10 2023 +0800

    [Improve] streampark-shaded module improvement (#2717)
    
    * [Improve] streampark-shaded module improvement
    
    * [Improve] ApiAlertException improvement
---
 .../console/base/exception/ApiAlertException.java  |  8 ++---
 streampark-shaded/pom.xml                          | 41 +++-------------------
 .../streampark-shaded-jackson/pom.xml              |  1 -
 3 files changed, 9 insertions(+), 41 deletions(-)

diff --git 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java
 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java
index 34cccf7e3..03b29452f 100644
--- 
a/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java
+++ 
b/streampark-console/streampark-console-service/src/main/java/org/apache/streampark/console/base/exception/ApiAlertException.java
@@ -25,10 +25,10 @@ import java.util.Objects;
  *
  *
  * <pre>
- * An exception message that needs to be notified to front-end,
- * usually a <strong>simple</strong>, clear</strong> message, e.g:
- * <p>1. Username already exists</p>
- * <p>2. No permission, please contact the administrator</p>
+ * To notify the frontend of an exception message,
+ * it is usually a <strong> clear </strong> and <strong> concise </strong> 
message, e.g:
+ * <p> 1. The username already exists.</p>
+ * <p> 2. No permission, please contact the administrator.</p>
  * ...
  * </pre>
  */
diff --git a/streampark-shaded/pom.xml b/streampark-shaded/pom.xml
index 5a80dfb0a..44faf3d46 100644
--- a/streampark-shaded/pom.xml
+++ b/streampark-shaded/pom.xml
@@ -18,8 +18,12 @@
 <project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
          xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>
     <modelVersion>4.0.0</modelVersion>
+    <parent>
+        <groupId>org.apache.streampark</groupId>
+        <artifactId>streampark</artifactId>
+        <version>2.1.0</version>
+    </parent>
 
-    <groupId>org.apache.streampark</groupId>
     <artifactId>streampark-shaded</artifactId>
     <version>1.0.0</version>
     <name>StreamPark : Shaded Parent</name>
@@ -34,14 +38,9 @@
         <slf4j.version>1.7.32</slf4j.version>
         <logback.version>1.2.11</logback.version>
         <jackson.version>2.13.5</jackson.version>
-        <scala.version>2.12.8</scala.version>
-        <scala.binary.version>2.12</scala.binary.version>
-        <maven-shade-plugin.version>3.2.4</maven-shade-plugin.version>
-        
<streampark.shaded.package>org.apache.streampark.shaded</streampark.shaded.package>
     </properties>
 
     <dependencyManagement>
-
         <dependencies>
             <!--slf4j -->
             <dependency>
@@ -88,34 +87,4 @@
         </dependencies>
     </dependencyManagement>
 
-    <profiles>
-        <profile>
-            <id>scala-2.11</id>
-            <properties>
-                <scala.version>2.11.12</scala.version>
-                <scala.binary.version>2.11</scala.binary.version>
-            </properties>
-        </profile>
-
-        <profile>
-            <id>scala-2.12</id>
-            <properties>
-                <scala.version>2.12.8</scala.version>
-                <scala.binary.version>2.12</scala.binary.version>
-            </properties>
-        </profile>
-    </profiles>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-shade-plugin</artifactId>
-                    <version>${maven-shade-plugin.version}</version>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-
 </project>
diff --git a/streampark-shaded/streampark-shaded-jackson/pom.xml 
b/streampark-shaded/streampark-shaded-jackson/pom.xml
index 433cf8bbe..d2e98b8ba 100644
--- a/streampark-shaded/streampark-shaded-jackson/pom.xml
+++ b/streampark-shaded/streampark-shaded-jackson/pom.xml
@@ -39,7 +39,6 @@
             <artifactId>jackson-core</artifactId>
             <optional>true</optional>
         </dependency>
-
     </dependencies>
 
     <build>

Reply via email to