Skip to content

Commit 052647e

Browse files
committed
project restart
1 parent 49be9bb commit 052647e

File tree

2 files changed

+389
-59
lines changed

2 files changed

+389
-59
lines changed

ARCHITECTURE.md

Lines changed: 219 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,223 @@
11

2+
3+
## 依赖
4+
5+
```xml
6+
<?xml version="1.0" encoding="UTF-8"?>
7+
<project xmlns="http://maven.apache.org/POM/4.0.0"
8+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
10+
<modelVersion>4.0.0</modelVersion>
11+
<packaging>pom</packaging>
12+
<modules>
13+
<module>luna-commons-file</module>
14+
<module>luna-commons-common</module>
15+
<module>luna-commons-baidu</module>
16+
<module>luna-commons-ali</module>
17+
<module>luna-commons-tencent</module>
18+
<module>luna-commons-message</module>
19+
<module>luna-commons-api</module>
20+
<module>luna-commons-media</module>
21+
</modules>
22+
23+
<parent>
24+
<groupId>org.springframework.boot</groupId>
25+
<artifactId>spring-boot-starter-parent</artifactId>
26+
<version>2.2.2.RELEASE</version>
27+
<relativePath/> <!-- lookup parent from repository -->
28+
</parent>
29+
30+
<groupId>com.luna</groupId>
31+
<artifactId>luna-commons</artifactId>
32+
<version>1.0-SNAPSHOT</version>
33+
34+
<properties>
35+
<java.version>1.8</java.version>
36+
<!-- github server corresponds to entry in ~/.m2/settings.xml -->
37+
<github.global.server>github</github.global.server>
38+
</properties>
39+
40+
<repositories>
41+
<repository>
42+
<id>luna-commons-mvn-repo</id>
43+
<url>https://raw.github.com/czy1024/luna-commons/mvn-repo-luna-commons/</url>
44+
<snapshots>
45+
<enabled>true</enabled>
46+
<updatePolicy>always</updatePolicy>
47+
</snapshots>
48+
</repository>
49+
</repositories>
50+
51+
<dependencyManagement>
52+
<dependencies>
53+
<!-- Mysql驱动包 -->
54+
<dependency>
55+
<groupId>mysql</groupId>
56+
<artifactId>mysql-connector-java</artifactId>
57+
<version>8.0.19</version>
58+
</dependency>
59+
60+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-text -->
61+
<dependency>
62+
<groupId>org.apache.commons</groupId>
63+
<artifactId>commons-text</artifactId>
64+
<version>1.8</version>
65+
</dependency>
66+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-collections4 -->
67+
<dependency>
68+
<groupId>org.apache.commons</groupId>
69+
<artifactId>commons-collections4</artifactId>
70+
<version>4.3</version>
71+
</dependency>
72+
<!-- https://mvnrepository.com/artifact/commons-validator/commons-validator -->
73+
<dependency>
74+
<groupId>commons-validator</groupId>
75+
<artifactId>commons-validator</artifactId>
76+
<version>1.6</version>
77+
</dependency>
78+
<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
79+
<dependency>
80+
<groupId>org.apache.commons</groupId>
81+
<artifactId>commons-lang3</artifactId>
82+
<version>3.9</version>
83+
</dependency>
84+
<!-- https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient -->
85+
<dependency>
86+
<groupId>org.apache.httpcomponents</groupId>
87+
<artifactId>httpclient</artifactId>
88+
<version>4.5.11</version>
89+
</dependency>
90+
<!-- https://mvnrepository.com/artifact/commons-io/commons-io -->
91+
<dependency>
92+
<groupId>commons-io</groupId>
93+
<artifactId>commons-io</artifactId>
94+
<version>2.6</version>
95+
</dependency>
96+
<!-- https://mvnrepository.com/artifact/commons-net/commons-net -->
97+
<dependency>
98+
<groupId>commons-net</groupId>
99+
<artifactId>commons-net</artifactId>
100+
<version>3.6</version>
101+
</dependency>
102+
<!-- https://mvnrepository.com/artifact/com.google.guava/guava -->
103+
<dependency>
104+
<groupId>com.google.guava</groupId>
105+
<artifactId>guava</artifactId>
106+
<version>27.0.1-jre</version>
107+
</dependency>
108+
<!-- JSON工具类 -->
109+
<dependency>
110+
<groupId>com.fasterxml.jackson.core</groupId>
111+
<artifactId>jackson-databind</artifactId>
112+
<version>2.10.3</version>
113+
</dependency>
114+
<!-- https://mvnrepository.com/artifact/com.alibaba/fastjson -->
115+
<dependency>
116+
<groupId>com.alibaba</groupId>
117+
<artifactId>fastjson</artifactId>
118+
<version>1.2.72</version>
119+
</dependency>
120+
<dependency>
121+
<groupId>org.mybatis.spring.boot</groupId>
122+
<artifactId>mybatis-spring-boot-starter</artifactId>
123+
<version>2.1.1</version>
124+
</dependency>
125+
<dependency>
126+
<groupId>junit</groupId>
127+
<artifactId>junit</artifactId>
128+
<version>4.13</version>
129+
<scope>test</scope>
130+
</dependency>
131+
</dependencies>
132+
</dependencyManagement>
133+
134+
<dependencies>
135+
<dependency>
136+
<groupId>org.springframework.boot</groupId>
137+
<artifactId>spring-boot-starter-data-redis</artifactId>
138+
</dependency>
139+
140+
<dependency>
141+
<groupId>org.springframework.boot</groupId>
142+
<artifactId>spring-boot-starter-validation</artifactId>
143+
</dependency>
144+
145+
<dependency>
146+
<groupId>org.springframework.boot</groupId>
147+
<artifactId>spring-boot-starter-test</artifactId>
148+
<!-- <exclusions>-->
149+
<!-- <exclusion>-->
150+
<!-- <groupId>com.vaadin.external.google</groupId>-->
151+
<!-- <artifactId>android-json</artifactId>-->
152+
<!-- </exclusion>-->
153+
<!-- </exclusions>-->
154+
<scope>test</scope>
155+
</dependency>
156+
</dependencies>
157+
158+
<distributionManagement>
159+
<repository>
160+
<id>luna.repo</id>
161+
<name>Temporary Staging Repository</name>
162+
<url>file://${project.build.directory}/mvn-repo</url>
163+
</repository>
164+
</distributionManagement>
165+
166+
<build>
167+
<plugins>
168+
<plugin>
169+
<groupId>org.apache.maven.plugins</groupId>
170+
<artifactId>maven-compiler-plugin</artifactId>
171+
<version>3.8.1</version>
172+
<configuration>
173+
<source>8</source>
174+
<target>8</target>
175+
</configuration>
176+
</plugin>
177+
178+
<plugin>
179+
<artifactId>maven-deploy-plugin</artifactId>
180+
<version>2.8.1</version>
181+
<configuration>
182+
<altDeploymentRepository>internal.repo::default::file://${project.build.directory}/mvn-repo
183+
</altDeploymentRepository>
184+
</configuration>
185+
</plugin>
186+
187+
<plugin>
188+
<groupId>com.github.github</groupId>
189+
<artifactId>site-maven-plugin</artifactId>
190+
<version>0.12</version>
191+
<configuration>
192+
<message>Maven artifacts for ${project.version}</message> <!-- git commit message -->
193+
<noJekyll>true</noJekyll> <!-- disable webpage processing -->
194+
<outputDirectory>${project.build.directory}/mvn-repo
195+
</outputDirectory> <!-- matches distribution management repository url above -->
196+
<branch>refs/heads/mvn-repo-luna-commons
197+
</branch> <!-- remote branch name -->
198+
<includes>
199+
<include>**/*</include>
200+
</includes>
201+
<repositoryName>luna-commons</repositoryName> <!-- github repo name -->
202+
<repositoryOwner>czy1024</repositoryOwner> <!-- github username -->
203+
</configuration>
204+
<executions>
205+
<!-- run site-maven-plugin's 'site' target as part of the build's normal 'deploy' phase -->
206+
<execution>
207+
<goals>
208+
<goal>site</goal>
209+
</goals>
210+
<phase>deploy</phase>
211+
</execution>
212+
</executions>
213+
</plugin>
214+
</plugins>
215+
</build>
216+
217+
</project>
218+
219+
```
220+
2221
## 更新日志
3222

4223
### 1.0--SNAPSHOT

0 commit comments

Comments
 (0)