Browse Source

fix - pom.xml 依赖定义和版本冲突

deason 2 months ago
parent
commit
b9ef4d7461
1 changed files with 17 additions and 3 deletions
  1. 17 3
      pom.xml

+ 17 - 3
pom.xml

@@ -14,16 +14,15 @@
         <maven.compiler.source>1.8</maven.compiler.source>
         <maven.compiler.target>1.8</maven.compiler.target>
         <qmth.boot.version>1.0.5</qmth.boot.version>
+        <spring.boot.version>2.3.7.RELEASE</spring.boot.version>
     </properties>
 
-    <!--
     <parent>
         <groupId>org.springframework.boot</groupId>
         <artifactId>spring-boot-starter-parent</artifactId>
         <version>2.3.7.RELEASE</version>
         <relativePath/>
     </parent>
-    -->
 
     <dependencies>
         <dependency>
@@ -136,9 +135,24 @@
             <plugin>
                 <groupId>org.springframework.boot</groupId>
                 <artifactId>spring-boot-maven-plugin</artifactId>
-                <version>2.3.7.RELEASE</version>
+                <version>${spring.boot.version}</version>
             </plugin>
         </plugins>
     </build>
 
+    <!--<repositories>
+        <repository>
+            <id>nexus-public</id>
+            <name>nexus-public</name>
+            <url>http://192.168.10.201:8081/repository/maven-public/</url>
+        </repository>
+    </repositories>
+    <pluginRepositories>
+        <pluginRepository>
+            <id>nexus-public</id>
+            <name>nexus-public</name>
+            <url>http://192.168.10.201:8081/repository/maven-public/</url>
+        </pluginRepository>
+    </pluginRepositories>-->
+
 </project>