Skip to content

Commit b825b6f

Browse files
committed
[publish] update to version 1.0.0
1 parent 44d8c3c commit b825b6f

File tree

6 files changed

+15
-12
lines changed

6 files changed

+15
-12
lines changed

baihao/pom.xml

+2-8
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,20 @@
55
<parent>
66
<artifactId>goody-utils</artifactId>
77
<groupId>com.goody</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>baihao</artifactId>
1313
<name>baihao</name>
14+
<version>1.0.0</version>
1415

1516
<properties>
1617
<maven.compiler.source>8</maven.compiler.source>
1718
<maven.compiler.target>8</maven.compiler.target>
1819
</properties>
1920

2021
<dependencies>
21-
<dependency>
22-
<groupId>com.goody</groupId>
23-
<artifactId>qianliang</artifactId>
24-
<version>1.0.0-SNAPSHOT</version>
25-
<scope>compile</scope>
26-
<optional>true</optional>
27-
</dependency>
2822
<!-- AOP -->
2923
<dependency>
3024
<groupId>org.springframework.boot</groupId>

baihao/src/main/java/com/goody/utils/baihao/valuechecker/ValueCheckerAspect.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private void valueCheck(ValueCheckers.ValueChecker checker, ProceedingJoinPoint
6868
// catch the exception which has ValueIllegalException as cause.
6969
// otherwise throw exception as exception display in upside.
7070
if (e.getCause() instanceof ValueIllegalException) {
71-
throw new ValueIllegalException(e.getCause().getMessage());
71+
throw (ValueIllegalException) e.getCause();
7272
}
7373
LOGGER.error("method invoke exception", e);
7474
throw e;

baihao/src/main/java/com/goody/utils/baihao/valuechecker/ValueIllegalException.java

+7
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,11 @@ public class ValueIllegalException extends RuntimeException {
1212
public ValueIllegalException(String message) {
1313
super(message, null, true, false);
1414
}
15+
16+
public ValueIllegalException(String message,
17+
Throwable cause,
18+
boolean enableSuppression,
19+
boolean writableStackTrace) {
20+
super(message, cause, enableSuppression, writableStackTrace);
21+
}
1522
}

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<groupId>com.goody</groupId>
88
<artifactId>goody-utils</artifactId>
99
<packaging>pom</packaging>
10-
<version>1.0.0-SNAPSHOT</version>
10+
<version>1.0.0</version>
1111
<modules>
1212
<module>xueya</module>
1313
<module>qianliang</module>

qianliang/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
<parent>
66
<artifactId>goody-utils</artifactId>
77
<groupId>com.goody</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>qianliang</artifactId>
1313
<name>qianliang</name>
14+
<version>1.0.0</version>
1415

1516
<properties>
1617
<maven.compiler.source>8</maven.compiler.source>

xueya/pom.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
<parent>
66
<artifactId>goody-utils</artifactId>
77
<groupId>com.goody</groupId>
8-
<version>1.0.0-SNAPSHOT</version>
8+
<version>1.0.0</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>xueya</artifactId>
1313
<name>xueya</name>
14+
<version>1.0.0-SNAPSHOT</version>
1415

1516
<properties>
1617
<maven.compiler.source>8</maven.compiler.source>

0 commit comments

Comments
 (0)