Browse Source

first commit

hanqingsong 3 years ago
commit
d09e6cef61
2 changed files with 130 additions and 0 deletions
  1. 33 0
      .gitignore
  2. 97 0
      pom.xml

+ 33 - 0
.gitignore

@@ -0,0 +1,33 @@
1
+HELP.md
2
+target/
3
+!.mvn/wrapper/maven-wrapper.jar
4
+!**/src/main/**/target/
5
+!**/src/test/**/target/
6
+
7
+### STS ###
8
+.apt_generated
9
+.classpath
10
+.factorypath
11
+.project
12
+.settings
13
+.springBeans
14
+.sts4-cache
15
+
16
+### IntelliJ IDEA ###
17
+.idea
18
+*.iws
19
+*.iml
20
+*.ipr
21
+
22
+### NetBeans ###
23
+/nbproject/private/
24
+/nbbuild/
25
+/dist/
26
+/nbdist/
27
+/.nb-gradle/
28
+build/
29
+!**/src/main/**/build/
30
+!**/src/test/**/build/
31
+
32
+### VS Code ###
33
+.vscode/

+ 97 - 0
pom.xml

@@ -0,0 +1,97 @@
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"
3
+         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4
+    <modelVersion>4.0.0</modelVersion>
5
+    <parent>
6
+        <groupId>org.springframework.boot</groupId>
7
+        <artifactId>spring-boot-starter-parent</artifactId>
8
+        <version>2.3.12.RELEASE</version>
9
+        <relativePath/> <!-- lookup parent from repository -->
10
+    </parent>
11
+    <groupId>com.unitssoft</groupId>
12
+    <artifactId>smart-grp-nof-pom</artifactId>
13
+    <version>0.0.1-SNAPSHOT</version>
14
+    <name>smart-grp-nof-pom</name>
15
+    <packaging>pom</packaging>
16
+    <description>parent pom of version</description>
17
+    <properties>
18
+        <!-- encoding -->
19
+        <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
20
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
21
+        <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
22
+        <!-- cloud version -->
23
+        <spring-cloud.version>Hoxton.SR12</spring-cloud.version>
24
+        <!-- jdk -->
25
+        <java.version>1.8</java.version>
26
+        <!-- skip test -->
27
+        <skipTests>true</skipTests>
28
+        <!-- dependencies version control -->
29
+        <mybatisPlus.version>3.4.1</mybatisPlus.version>
30
+        <swagger.version>2.9.2</swagger.version>
31
+        <fastjson.version>1.2.83</fastjson.version>
32
+    </properties>
33
+
34
+    <dependencies>
35
+        <!-- aams 金蝶 have to exclude spring-boot-starter-web tomcat's starter  -->
36
+        <dependency>
37
+            <groupId>com.apusic</groupId>
38
+            <artifactId>aams-spring-boot-starter</artifactId>
39
+            <version>2.1.7.RELEASE</version>
40
+        </dependency>
41
+        <dependency>
42
+            <groupId>org.springframework.boot</groupId>
43
+            <artifactId>spring-boot-starter-web</artifactId>
44
+            <!-- exclude tomcat's starter -->
45
+            <exclusions>
46
+                <exclusion>
47
+                    <groupId>org.springframework.boot</groupId>
48
+                    <artifactId>spring-boot-starter-tomcat</artifactId>
49
+                </exclusion>
50
+            </exclusions>
51
+        </dependency>
52
+        <dependency>
53
+            <groupId>org.springframework.boot</groupId>
54
+            <artifactId>spring-boot-starter-test</artifactId>
55
+            <scope>test</scope>
56
+        </dependency>
57
+    </dependencies>
58
+    <!-- springCloud version -->
59
+    <dependencyManagement>
60
+        <dependencies>
61
+            <dependency>
62
+                <groupId>org.springframework.cloud</groupId>
63
+                <artifactId>spring-cloud-dependencies</artifactId>
64
+                <version>${spring-cloud.version}</version>
65
+                <type>pom</type>
66
+                <scope>import</scope>
67
+            </dependency>
68
+        </dependencies>
69
+    </dependencyManagement>
70
+    <build>
71
+        <plugins>
72
+            <plugin>
73
+                <groupId>org.springframework.boot</groupId>
74
+                <artifactId>spring-boot-maven-plugin</artifactId>
75
+            </plugin>
76
+        </plugins>
77
+    </build>
78
+    <!-- 有些依赖可能下载不到,用这个地址试下 -->
79
+    <repositories>
80
+        <repository>
81
+            <id>spring-snapshots</id>
82
+            <name>Spring Snapshots</name>
83
+            <url>https://repo.spring.io/snapshot</url>
84
+            <snapshots>
85
+                <enabled>false</enabled>
86
+            </snapshots>
87
+        </repository>
88
+        <repository>
89
+            <id>spring-milestones</id>
90
+            <name>Spring Milestones</name>
91
+            <url>https://repo.spring.io/milestone</url>
92
+            <snapshots>
93
+                <enabled>false</enabled>
94
+            </snapshots>
95
+        </repository>
96
+    </repositories>
97
+</project>