From 0737fe6ae12d246841a5cc5f5bb5e782cc1aebcd Mon Sep 17 00:00:00 2001
From: zhouwei <zhouweiwansui@gmail.com>
Date: 星期日, 26 四月 2020 09:47:51 +0800
Subject: [PATCH] 1.01版本调整

---
 boot-parent/pom.xml |   43 ++++++++++++++++++++++++++++++-------------
 1 files changed, 30 insertions(+), 13 deletions(-)

diff --git a/boot-parent/pom.xml b/boot-parent/pom.xml
index 405c27e..00c9a96 100644
--- a/boot-parent/pom.xml
+++ b/boot-parent/pom.xml
@@ -10,7 +10,7 @@
     </parent>
     <groupId>com.safeluck</groupId>
     <artifactId>springboot-maven-root</artifactId>
-    <version>1.0</version>
+    <version>1.01</version>
     <packaging>pom</packaging>
 
     <properties>
@@ -196,36 +196,39 @@
         </dependency>
 
     </dependencies>
-    <repositories>
-        <repository>
-            <id>central</id>
-            <name>Central Repository</name>
-            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
-            <snapshots>
-                <enabled>false</enabled>
-            </snapshots>
-        </repository>
-    </repositories>
+    <!--<repositories>-->
+        <!--<repository>-->
+            <!--<id>central</id>-->
+            <!--<name>Central Repository</name>-->
+            <!--<url>http://maven.aliyun.com/nexus/content/groups/public/</url>-->
+            <!--<snapshots>-->
+                <!--<enabled>false</enabled>-->
+            <!--</snapshots>-->
+        <!--</repository>-->
+    <!--</repositories>-->
 
     <build>
         <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
         <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
         <plugins>
-            <plugin>
+            <plugin >
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
+                <inherited>false</inherited>
             </plugin>
             <plugin>
                 <groupId>org.jetbrains.kotlin</groupId>
                 <artifactId>kotlin-maven-plugin</artifactId>
+
                 <configuration>
+
                     <args>
                         <arg>-Xjsr305=strict</arg>
                     </args>
                     <compilerPlugins>
                         <plugin>spring</plugin>
-
                     </compilerPlugins>
+
                 </configuration>
                 <dependencies>
                     <dependency>
@@ -235,7 +238,21 @@
                     </dependency>
                 </dependencies>
             </plugin>
+
         </plugins>
     </build>
 
+    <distributionManagement>
+        <repository>
+            <id>nexus-releases</id>
+            <name>libs-releases</name>
+            <url>http://192.168.0.36:10010/repository/maven-releases/</url>
+        </repository>
+        <snapshotRepository>
+            <id>nexus-snapshots</id>
+            <name>libs-snapshots</name>
+            <url>http://192.168.0.36:10010/repository/maven-snapshots/</url>
+        </snapshotRepository>
+    </distributionManagement>
+
 </project>

--
Gitblit v1.8.0