Pārlūkot izejas kodu

项目初始化

lixing 4 gadi atpakaļ
vecāks
revīzija
eb9535fab8
2 mainītis faili ar 85 papildinājumiem un 5 dzēšanām
  1. 59 2
      fm-person/pom.xml
  2. 26 3
      pom.xml

+ 59 - 2
fm-person/pom.xml

@@ -3,18 +3,75 @@
          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">
     <parent>
-        <artifactId>integrated-platform</artifactId>
+        <artifactId>fm-cloud</artifactId>
         <groupId>com.persagy</groupId>
-        <version>1.0.0</version>
+        <version>3.0.0</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <artifactId>fm-person</artifactId>
+    <version>3.0.0</version>
     <packaging>jar</packaging>
+
+    <properties>
+        <platform.version>1.0.0</platform.version>
+    </properties>
+
     <dependencies>
+        <!-- 配置中心(包含注册中心) -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>integrated-config-client</artifactId>
+            <version>${platform.version}</version>
+        </dependency>
+
+        <!-- 日志 -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>integrated-log-spring-boot-starter</artifactId>
+        </dependency>
+
+        <!-- feign -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>integrated-ribbon-spring-boot-starter</artifactId>
+            <version>${platform.version}</version>
+        </dependency>
+
+        <!-- swagger -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>integrated-swagger2-spring-boot-starter</artifactId>
+            <version>${platform.version}</version>
+        </dependency>
+
+        <!-- web -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-web</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>org.springframework</groupId>
+            <artifactId>spring-context-support</artifactId>
+        </dependency>
+
+        <!-- prometheus -->
+        <dependency>
+            <groupId>org.springframework.boot</groupId>
+            <artifactId>spring-boot-starter-actuator</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>io.micrometer</groupId>
+            <artifactId>micrometer-registry-prometheus</artifactId>
+        </dependency>
+
+        <!-- lombok -->
         <dependency>
             <groupId>org.projectlombok</groupId>
             <artifactId>lombok</artifactId>
             <optional>true</optional>
         </dependency>
     </dependencies>
+
+
 </project>

+ 26 - 3
pom.xml

@@ -2,15 +2,20 @@
 <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>
-        <artifactId>integrated-platform</artifactId>
         <groupId>com.persagy</groupId>
-        <version>1.0.0</version>
+        <artifactId>fm-parent</artifactId>
+        <version>3.0.0</version>
     </parent>
-    <modelVersion>4.0.0</modelVersion>
+
     <packaging>pom</packaging>
     <description>FM基础服务</description>
+    <groupId>com.persagy</groupId>
     <artifactId>fm-cloud</artifactId>
+
     <modules>
         <module>fm-calendar</module>
         <module>fm-device</module>
@@ -19,4 +24,22 @@
         <module>fm-scheduling</module>
         <module>fm-supplier</module>
     </modules>
+
+    <dependencies>
+        <!-- 项目启动 -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>fm-server</artifactId>
+        </dependency>
+        <!-- fm 工具包 -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>fm-common</artifactId>
+        </dependency>
+        <!-- 集成框架工具包 -->
+        <dependency>
+            <groupId>com.persagy</groupId>
+            <artifactId>integrated-common-core</artifactId>
+        </dependency>
+    </dependencies>
 </project>