Skip to content

Commit 7285f43

Browse files
ACANXgithub-actions[bot]dependabot[bot]
authored
feat: 添加模块model-mail (#1534)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 3a59ec4 commit 7285f43

9 files changed

Lines changed: 219 additions & 36 deletions

File tree

meta-bom/bom-aio/pom.xml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -146,61 +146,61 @@
146146
<dependency>
147147
<groupId>com.acanx.meta.model</groupId>
148148
<artifactId>model-quote</artifactId>
149-
<version>0.8.2.7</version>
149+
<version>0.8.3</version>
150150
<scope>compile</scope>
151151
</dependency>
152152
<dependency>
153153
<groupId>com.acanx.meta.model</groupId>
154154
<artifactId>model-security</artifactId>
155-
<version>0.8.2.7</version>
155+
<version>0.8.3</version>
156156
<scope>compile</scope>
157157
</dependency>
158158
<dependency>
159159
<groupId>com.acanx.meta.model</groupId>
160160
<artifactId>model-sonatype</artifactId>
161-
<version>0.8.2.7</version>
161+
<version>0.8.3</version>
162162
<scope>compile</scope>
163163
</dependency>
164164
<dependency>
165165
<groupId>com.acanx.meta.model</groupId>
166166
<artifactId>model-deepseek</artifactId>
167-
<version>0.8.2.7</version>
167+
<version>0.8.3</version>
168168
<scope>compile</scope>
169169
</dependency>
170170
<dependency>
171171
<groupId>com.acanx.meta.model</groupId>
172172
<artifactId>model-test</artifactId>
173-
<version>0.8.2.7</version>
173+
<version>0.8.3</version>
174174
<scope>compile</scope>
175175
</dependency>
176176
<dependency>
177177
<groupId>com.acanx.meta.model</groupId>
178178
<artifactId>model-dingtalk</artifactId>
179-
<version>0.8.2.7</version>
179+
<version>0.8.3</version>
180180
<scope>compile</scope>
181181
</dependency>
182182
<dependency>
183183
<groupId>com.acanx.meta.model</groupId>
184184
<artifactId>model-wechat-work</artifactId>
185-
<version>0.8.2.7</version>
185+
<version>0.8.3</version>
186186
<scope>compile</scope>
187187
</dependency>
188188
<dependency>
189189
<groupId>com.acanx.meta.model</groupId>
190190
<artifactId>model-rss</artifactId>
191-
<version>0.8.2.7</version>
191+
<version>0.8.3</version>
192192
<scope>compile</scope>
193193
</dependency>
194194
<dependency>
195195
<groupId>com.acanx.meta.model</groupId>
196196
<artifactId>model-gemini</artifactId>
197-
<version>0.8.2.7</version>
197+
<version>0.8.3</version>
198198
<scope>compile</scope>
199199
</dependency>
200200
<dependency>
201201
<groupId>com.acanx.meta.component</groupId>
202202
<artifactId>sdk-maven-artifact</artifactId>
203-
<version>0.8.2.7</version>
203+
<version>0.8.3</version>
204204
</dependency>
205205
<dependency>
206206
<groupId>org.apache.maven</groupId>
@@ -2399,13 +2399,13 @@
23992399
<dependency>
24002400
<groupId>software.amazon.awssdk</groupId>
24012401
<artifactId>ses</artifactId>
2402-
<version>2.44.1</version>
2402+
<version>2.44.2</version>
24032403
<scope>compile</scope>
24042404
</dependency>
24052405
<dependency>
24062406
<groupId>software.amazon.awssdk</groupId>
24072407
<artifactId>auth</artifactId>
2408-
<version>2.44.1</version>
2408+
<version>2.44.2</version>
24092409
<scope>compile</scope>
24102410
</dependency>
24112411
<dependency>
@@ -2666,58 +2666,58 @@
26662666
<dependency>
26672667
<groupId>software.amazon.awssdk</groupId>
26682668
<artifactId>s3</artifactId>
2669-
<version>2.44.1</version>
2669+
<version>2.44.2</version>
26702670
<scope>compile</scope>
26712671
</dependency>
26722672
<dependency>
26732673
<groupId>software.amazon.awssdk</groupId>
26742674
<artifactId>lambda</artifactId>
2675-
<version>2.44.1</version>
2675+
<version>2.44.2</version>
26762676
</dependency>
26772677
<dependency>
26782678
<groupId>software.amazon.awssdk</groupId>
26792679
<artifactId>cloudwatch</artifactId>
2680-
<version>2.44.1</version>
2680+
<version>2.44.2</version>
26812681
</dependency>
26822682
<dependency>
26832683
<groupId>software.amazon.awssdk</groupId>
26842684
<artifactId>costexplorer</artifactId>
2685-
<version>2.44.1</version>
2685+
<version>2.44.2</version>
26862686
</dependency>
26872687
<dependency>
26882688
<groupId>software.amazon.awssdk</groupId>
26892689
<artifactId>regions</artifactId>
2690-
<version>2.44.1</version>
2690+
<version>2.44.2</version>
26912691
</dependency>
26922692
<dependency>
26932693
<groupId>software.amazon.awssdk</groupId>
26942694
<artifactId>aws-core</artifactId>
2695-
<version>2.44.1</version>
2695+
<version>2.44.2</version>
26962696
</dependency>
26972697
<dependency>
26982698
<groupId>software.amazon.awssdk</groupId>
26992699
<artifactId>sqs</artifactId>
2700-
<version>2.44.1</version>
2700+
<version>2.44.2</version>
27012701
</dependency>
27022702
<dependency>
27032703
<groupId>software.amazon.awssdk</groupId>
27042704
<artifactId>sns</artifactId>
2705-
<version>2.44.1</version>
2705+
<version>2.44.2</version>
27062706
</dependency>
27072707
<dependency>
27082708
<groupId>software.amazon.awssdk</groupId>
27092709
<artifactId>dynamodb</artifactId>
2710-
<version>2.44.1</version>
2710+
<version>2.44.2</version>
27112711
</dependency>
27122712
<dependency>
27132713
<groupId>software.amazon.awssdk</groupId>
27142714
<artifactId>sdk-core</artifactId>
2715-
<version>2.44.1</version>
2715+
<version>2.44.2</version>
27162716
</dependency>
27172717
<dependency>
27182718
<groupId>software.amazon.awssdk</groupId>
27192719
<artifactId>scheduler</artifactId>
2720-
<version>2.44.1</version>
2720+
<version>2.44.2</version>
27212721
</dependency>
27222722
<dependency>
27232723
<groupId>com.aliyun</groupId>
@@ -2732,18 +2732,18 @@
27322732
<dependency>
27332733
<groupId>org.graalvm.buildtools</groupId>
27342734
<artifactId>native-maven-plugin</artifactId>
2735-
<version>1.1.0</version>
2735+
<version>1.0.0</version>
27362736
</dependency>
27372737
<dependency>
27382738
<groupId>org.graalvm.buildtools</groupId>
27392739
<artifactId>utils</artifactId>
2740-
<version>1.1.0</version>
2740+
<version>1.0.0</version>
27412741
<scope>runtime</scope>
27422742
</dependency>
27432743
<dependency>
27442744
<groupId>org.graalvm.buildtools</groupId>
27452745
<artifactId>graalvm-reachability-metadata</artifactId>
2746-
<version>1.1.0</version>
2746+
<version>1.0.0</version>
27472747
<scope>runtime</scope>
27482748
</dependency>
27492749
</dependencies>
@@ -2802,4 +2802,4 @@
28022802
</plugins>
28032803
</build>
28042804

2805-
</project>
2805+
</project>

meta-bom/bom-mod/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
<!-- 日志框架版本 -->
6363
<logback.version>1.5.32</logback.version>
64-
<log4j2.version>2.25.4</log4j2.version>
64+
<log4j2.version>2.26.0</log4j2.version>
6565
<slf4j-api.version>2.0.17</slf4j-api.version>
6666

6767

meta-bom/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,16 +265,16 @@
265265
<selenium-devtools.version>4.41.0</selenium-devtools.version>
266266
<selenium-htmlunit.version>4.29.0</selenium-htmlunit.version>
267267

268-
<awssdk.version>2.44.2</awssdk.version>
269-
<huaweicloud-sdk.version>3.1.194</huaweicloud-sdk.version>
268+
<awssdk.version>2.44.4</awssdk.version>
269+
<huaweicloud-sdk.version>3.1.195</huaweicloud-sdk.version>
270270

271271
<!-- 日志依赖 -->
272272
<slf4j.version>2.0.18</slf4j.version>
273273
<slf4j-api.version>2.0.178</slf4j-api.version>
274274
<jul-to-slf4j>2.0.18</jul-to-slf4j>
275275
<log4j-over-slf4j>2.0.18</log4j-over-slf4j>
276-
<log4j.version>2.25.4</log4j.version>
277-
<log4j-to-slf4j>2.25.4</log4j-to-slf4j>
276+
<log4j.version>2.26.0</log4j.version>
277+
<log4j-to-slf4j>2.26.0</log4j-to-slf4j>
278278
<logback.version>1.5.32</logback.version>
279279
<!-- 日志依赖 -->
280280

meta-model/model-mail/pom.xml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<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">
3+
<modelVersion>4.0.0</modelVersion>
4+
<parent>
5+
<groupId>com.acanx.meta</groupId>
6+
<artifactId>meta-model</artifactId>
7+
<version>${revision}</version>
8+
</parent>
9+
10+
<groupId>com.acanx.meta.model</groupId>
11+
<artifactId>model-mail</artifactId>
12+
<version>${revision}</version>
13+
<packaging>jar</packaging>
14+
<name>Model-Mail</name>
15+
<description>Mail Model Module</description>
16+
<url>https://acanx.com</url>
17+
18+
<scm>
19+
<tag>V0.5.x</tag>
20+
<url>git@github.com:ACANX/MetaOpen.git</url>
21+
<connection>scm:git:git@github.com:ACANX/MetaOpen.git</connection>
22+
<developerConnection>scm:git:git@github.com:ACANX/MetaOpen.git</developerConnection>
23+
</scm>
24+
<organization>
25+
<name>ACANX</name>
26+
<url>https://acanx.com</url>
27+
</organization>
28+
<developers>
29+
<developer>
30+
<name>ACANX</name>
31+
<email>acanx@qq.com</email>
32+
<organization>ACANX</organization>
33+
</developer>
34+
</developers>
35+
<licenses>
36+
<license>
37+
<name>The Apache Software License, Version 2.0</name>
38+
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
39+
<distribution>repo</distribution>
40+
</license>
41+
</licenses>
42+
43+
<properties>
44+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
45+
</properties>
46+
47+
<dependencies>
48+
<dependency>
49+
<groupId>org.projectlombok</groupId>
50+
<artifactId>lombok</artifactId>
51+
<version>${lombok.version}</version>
52+
<scope>provided</scope>
53+
</dependency>
54+
</dependencies>
55+
56+
<build>
57+
<plugins>
58+
<plugin>
59+
<groupId>org.apache.maven.plugins</groupId>
60+
<artifactId>maven-compiler-plugin</artifactId>
61+
<version>${maven-compiler-plugin.version}</version>
62+
<configuration>
63+
<source>${java.version}</source>
64+
<target>${java.version}</target>
65+
</configuration>
66+
</plugin>
67+
</plugins>
68+
</build>
69+
</project>
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
package com.acanx.meta.model.email;
2+
3+
import lombok.Data;
4+
5+
/**
6+
* EmailAddress
7+
*
8+
* @author ACANX
9+
* @since 20260507
10+
*/
11+
@Data
12+
public class EmailAddress {
13+
14+
private String name;
15+
16+
private String address;
17+
18+
19+
public EmailAddress(String name, String address) {
20+
this.name = name;
21+
this.address = address;
22+
}
23+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
package com.acanx.meta.model.email;
2+
3+
import lombok.Builder;
4+
import lombok.Data;
5+
6+
import java.util.List;
7+
8+
/**
9+
* EmailMessage
10+
*
11+
* @author ACANX
12+
* @since 20260507
13+
*/
14+
//@Builder
15+
@Data
16+
public class EmailMessage {
17+
18+
private EmailSender sender;
19+
20+
private List<EmailAddress> receivers;
21+
22+
// private String name;
23+
24+
private String subject;
25+
26+
private List<String> tags;
27+
28+
private String htmlContent;
29+
30+
private List<String> attachments;
31+
32+
public EmailMessage() {
33+
}
34+
}

0 commit comments

Comments
 (0)