Explorar el Código

feat : 项目pom文件整理修改

bilingfeng hace 2 años
padre
commit
02465a01b8

+ 0 - 1
game-module/game-common-redis/pom.xml

@@ -10,7 +10,6 @@
     <modelVersion>4.0.0</modelVersion>
     <artifactId>game-common-redis</artifactId>
     <description>redis相关</description>
-    <packaging>pom</packaging>
 
     <dependencies>
         <!-- SpringBoot Boot aspectj -->

+ 2 - 2
game-module/game-common/pom.xml

@@ -3,14 +3,14 @@
          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>game-center</artifactId>
+        <artifactId>game-module</artifactId>
         <groupId>com.zanxiang.game</groupId>
         <version>0.0.1-SNAPSHOT</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
     <artifactId>game-common</artifactId>
-    <packaging>pom</packaging>
+
     <dependencies>
         <dependency>
             <groupId>org.springframework.boot</groupId>

+ 5 - 0
game-module/game-manage/src/main/resources/bootstrap.yml

@@ -29,6 +29,11 @@ spring:
         shared-dataids: application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
         max-retry: 10
 
+  #redis数据库配置
+  redis:
+    host: 118.178.187.109
+    port: 6379
+    password: zx$2020ddd
   #数据库配置
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver

+ 1 - 6
game-module/game-mybatis/pom.xml

@@ -3,7 +3,7 @@
          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>game-center</artifactId>
+        <artifactId>game-module</artifactId>
         <groupId>com.zanxiang.game</groupId>
         <version>0.0.1-SNAPSHOT</version>
     </parent>
@@ -11,11 +11,6 @@
 
     <artifactId>game-mybatis</artifactId>
 
-    <properties>
-        <maven.compiler.source>18</maven.compiler.source>
-        <maven.compiler.target>18</maven.compiler.target>
-    </properties>
-
     <dependencies>
         <dependency>
             <artifactId>game-common</artifactId>

+ 1 - 0
game-module/pom.xml

@@ -11,6 +11,7 @@
 
     <artifactId>game-module</artifactId>
     <packaging>pom</packaging>
+
     <modules>
         <module>game-manage</module>
         <module>game-sdk</module>