tsurumure před 10 měsíci
rodič
revize
74064bb8da
3 změnil soubory, kde provedl 150 přidání a 9 odebrání
  1. 8 2
      README.md
  2. 135 0
      configuration/.m2/settings.xml
  3. 7 7
      pom.xml

+ 8 - 2
README.md

@@ -1,11 +1,17 @@
-# 后台管理系统 
 
-## 环境
+#### 架构
 * Ubuntu 22.04 + JDK 19.0.2 + Maven 3.8.1
 * Docker 25.0.4 + Docker-Compose 2.6.1 + Gogs + Drone
 * MySQL 8.0.31 + Redis 5.0.14.1
 * Springboot 3.1.1
 
+#### 配置
+Maven settings 用户配置
+```
+./configuration/.m2/settings.xml
+```
+
+
 ## 打包
 使用 maven 打包应用程序 .jar
 ```bash

+ 135 - 0
configuration/.m2/settings.xml

@@ -0,0 +1,135 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
+          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+          xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
+    <mirrors>
+        <!-- <mirror>
+            <id>mirror</id>
+            <mirrorOf>central,jcenter,!rdc-releases,!rdc-snapshots</mirrorOf>
+            <name>mirror</name>
+            <url>https://maven.aliyun.com/nexus/content/groups/public</url>
+        </mirror> -->
+    </mirrors>
+    <servers>
+        <server>
+            <id>rdc-releases</id>
+            <username>611f1356fa25fa3e24fe0a16</username>
+            <password>076cb0ZdJkdm</password>
+        </server>
+        <server>
+            <id>rdc-snapshots</id>
+            <username>611f1356fa25fa3e24fe0a16</username>
+            <password>076cb0ZdJkdm</password>
+        </server>
+    </servers>
+    <profiles>
+        <profile>
+            <id>rdc</id>
+            <properties>
+                <altReleaseDeploymentRepository>
+                    rdc-releases::default::https://packages.aliyun.com/maven/repository/2390498-release-I0JIZp/
+                </altReleaseDeploymentRepository>
+                <altSnapshotDeploymentRepository>
+                    rdc-snapshots::default::https://packages.aliyun.com/maven/repository/2390498-snapshot-JsYheC/
+                </altSnapshotDeploymentRepository>
+            </properties>
+            <repositories>
+                <repository>
+                    <id>central</id>
+                    <url>https://maven.aliyun.com/nexus/content/groups/public</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>snapshots</id>
+                    <url>https://maven.aliyun.com/nexus/content/groups/public</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>rdc-releases</id>
+                    <url>https://packages.aliyun.com/maven/repository/2390498-release-I0JIZp/</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </repository>
+                <repository>
+                    <id>rdc-snapshots</id>
+                    <url>https://packages.aliyun.com/maven/repository/2390498-snapshot-JsYheC/</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </repository>
+            </repositories>
+            <pluginRepositories>
+                <pluginRepository>
+                    <id>central</id>
+                    <url>https://maven.aliyun.com/nexus/content/groups/public</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </pluginRepository>
+                <pluginRepository>
+                    <id>snapshots</id>
+                    <url>https://maven.aliyun.com/nexus/content/groups/public</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+                <pluginRepository>
+                    <id>rdc-releases</id>
+                    <url>https://packages.aliyun.com/maven/repository/2390498-release-I0JIZp/</url>
+                    <releases>
+                        <enabled>true</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>false</enabled>
+                    </snapshots>
+                </pluginRepository>
+                <pluginRepository>
+                    <id>rdc-snapshots</id>
+                    <url>https://packages.aliyun.com/maven/repository/2390498-snapshot-JsYheC/</url>
+                    <releases>
+                        <enabled>false</enabled>
+                    </releases>
+                    <snapshots>
+                        <enabled>true</enabled>
+                    </snapshots>
+                </pluginRepository>
+            </pluginRepositories>
+        </profile>
+
+        <repositories>
+            <repository>
+                <id>douyincloud</id>
+                <name>douyincloud</name>
+                <url>https://artifacts-cn-beijing.volces.com/repository/douyincloud/</url>
+            </repository>
+        </repositories>
+
+
+    </profiles>
+    <activeProfiles>
+        <activeProfile>rdc</activeProfile>
+    </activeProfiles>
+</settings>

+ 7 - 7
pom.xml

@@ -328,18 +328,18 @@
 
         <!-- 引用 紫鸟JavaSDK (上传阿里云 Maven 私有仓库)-->
         <!-- https://packages.aliyun.com/repos/2390498-release-I0JIZp/packages -->
-<!--        <dependency>-->
-<!--            <groupId>com.ziniao</groupId>-->
-<!--            <artifactId>ziniao-sdk-java</artifactId>-->
-<!--            <version>5.1.0</version>-->
-<!--        </dependency>-->
         <dependency>
             <groupId>com.ziniao</groupId>
             <artifactId>ziniao-sdk-java</artifactId>
             <version>5.1.0</version>
-            <scope>system</scope>
-            <systemPath>${project.basedir}/libs/ziniao-sdk-java-5.1.0.jar</systemPath>
         </dependency>
+<!--        <dependency>-->
+<!--            <groupId>com.ziniao</groupId>-->
+<!--            <artifactId>ziniao-sdk-java</artifactId>-->
+<!--            <version>5.1.0</version>-->
+<!--            <scope>system</scope>-->
+<!--            <systemPath>${project.basedir}/libs/ziniao-sdk-java-5.1.0.jar</systemPath>-->
+<!--        </dependency>-->
 
 
         <!-- 火山AI SDK 测试-->