Browse Source

修改 Spring 版本

Young 2 years ago
parent
commit
b4f7fb3571
1 changed files with 32 additions and 2 deletions
  1. 32 2
      pom.xml

+ 32 - 2
pom.xml

@@ -6,7 +6,7 @@
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>2.4.1</version>
+        <version>2.1.2.RELEASE</version>
         <relativePath/>
     </parent>
 
@@ -34,6 +34,20 @@
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 
+
+    <distributionManagement>
+        <snapshotRepository>
+            <id>htsc-snapshots</id>
+            <name>snapshot</name>
+            <url>http://repo.htzq.htsc.com.cn/nexus/content/repositories/CRM-Snapshots/</url>
+        </snapshotRepository>
+        <repository>
+            <id>htsc-releases</id>
+            <name>Internal Releases</name>
+            <url>http://repo.htzq.htsc.com.cn/nexus/content/repositories/CRM/</url>
+        </repository>
+    </distributionManagement>
+
     <dependencies>
         <dependency>
             <groupId>javax.annotation</groupId>
@@ -57,5 +71,21 @@
             </dependency>
         </dependencies>
     </dependencyManagement>
-
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <version>3.2.1</version>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <goals>
+                            <goal>jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
 </project>