Bladeren bron

upgrade springboot v1.5.15.RELEASE

deason 6 jaren geleden
bovenliggende
commit
0ab27cf392
1 gewijzigde bestanden met toevoegingen van 25 en 5 verwijderingen
  1. 25 5
      pom.xml

+ 25 - 5
pom.xml

@@ -13,7 +13,7 @@
         <version>2.0-SNAPSHOT</version>-->
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
-        <version>1.5.14.RELEASE</version>
+        <version>1.5.15.RELEASE</version>
     </parent>
 
     <properties>
@@ -25,7 +25,7 @@
     <repositories>
         <repository>
             <id>qmth-public</id>
-            <url>http://192.168.10.30:8081/repository/maven-public/</url>
+            <url>http://ecs-dev.qmth.com.cn:8081/repository/maven-public/</url>
         </repository>
         <repository>
             <id>central-repository</id>
@@ -35,7 +35,7 @@
     <pluginRepositories>
         <pluginRepository>
             <id>qmth-public</id>
-            <url>http://192.168.10.30:8081/repository/maven-public/</url>
+            <url>http://ecs-dev.qmth.com.cn:8081/repository/maven-public/</url>
         </pluginRepository>
         <pluginRepository>
             <id>central-repository</id>
@@ -44,10 +44,14 @@
     </pluginRepositories>
     <distributionManagement>
         <repository>
-            <id>qmth-snapshots</id>
+            <id>qmth-releases</id>
             <name>Snapshots Repository</name>
-            <url>http://192.168.10.30:8081/repository/maven-snapshots/</url>
+            <url>http://ecs-dev.qmth.com.cn:8081/repository/maven-releases/</url>
         </repository>
+        <snapshotRepository>
+            <id>qmth-snapshots</id>
+            <url>http://ecs-dev.qmth.com.cn:8081/repository/maven-snapshots/</url>
+        </snapshotRepository>
     </distributionManagement>
 
     <dependencies>
@@ -140,6 +144,22 @@
                     <skipTests>true</skipTests>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-source-plugin</artifactId>
+                <configuration>
+                    <attach>true</attach>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>attach-sources</id>
+                        <phase>install</phase>
+                        <goals>
+                            <goal>jar-no-fork</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-deploy-plugin</artifactId>