mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-11-04 09:01:40 +08:00 
			
		
		
		
	chore: 新增部分 Maven 插件版本锁定
This commit is contained in:
		@@ -54,6 +54,7 @@
 | 
				
			|||||||
    </scm>
 | 
					    </scm>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <properties>
 | 
					    <properties>
 | 
				
			||||||
 | 
					        <!-- 项目版本号 -->
 | 
				
			||||||
        <revision>1.2.0-SNAPSHOT</revision>
 | 
					        <revision>1.2.0-SNAPSHOT</revision>
 | 
				
			||||||
        <sa-token.version>1.37.0</sa-token.version>
 | 
					        <sa-token.version>1.37.0</sa-token.version>
 | 
				
			||||||
        <just-auth.version>1.16.6</just-auth.version>
 | 
					        <just-auth.version>1.16.6</just-auth.version>
 | 
				
			||||||
@@ -74,6 +75,9 @@
 | 
				
			|||||||
        <ttl.version>2.14.4</ttl.version>
 | 
					        <ttl.version>2.14.4</ttl.version>
 | 
				
			||||||
        <ip2region.version>3.1.6</ip2region.version>
 | 
					        <ip2region.version>3.1.6</ip2region.version>
 | 
				
			||||||
        <hutool.version>5.8.24</hutool.version>
 | 
					        <hutool.version>5.8.24</hutool.version>
 | 
				
			||||||
 | 
					        <!-- Maven Plugin Versions -->
 | 
				
			||||||
 | 
					        <flatten.version>1.5.0</flatten.version>
 | 
				
			||||||
 | 
					        <spotless.version>2.40.0</spotless.version>
 | 
				
			||||||
    </properties>
 | 
					    </properties>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <dependencyManagement>
 | 
					    <dependencyManagement>
 | 
				
			||||||
@@ -392,11 +396,10 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    <build>
 | 
					    <build>
 | 
				
			||||||
        <plugins>
 | 
					        <plugins>
 | 
				
			||||||
            <!-- 扁平化 Maven 插件(统一版本号) -->
 | 
					            <!-- 统一版本号插件 -->
 | 
				
			||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>org.codehaus.mojo</groupId>
 | 
					                <groupId>org.codehaus.mojo</groupId>
 | 
				
			||||||
                <artifactId>flatten-maven-plugin</artifactId>
 | 
					                <artifactId>flatten-maven-plugin</artifactId>
 | 
				
			||||||
                <version>1.5.0</version>
 | 
					 | 
				
			||||||
                <inherited>false</inherited>
 | 
					                <inherited>false</inherited>
 | 
				
			||||||
                <executions>
 | 
					                <executions>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
@@ -524,6 +527,22 @@
 | 
				
			|||||||
                </executions>
 | 
					                </executions>
 | 
				
			||||||
            </plugin>
 | 
					            </plugin>
 | 
				
			||||||
        </plugins>
 | 
					        </plugins>
 | 
				
			||||||
 | 
					        <pluginManagement>
 | 
				
			||||||
 | 
					            <plugins>
 | 
				
			||||||
 | 
					                <!-- 统一版本号插件 -->
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <groupId>org.codehaus.mojo</groupId>
 | 
				
			||||||
 | 
					                    <artifactId>flatten-maven-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>${flatten.version}</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					                <!-- 代码格式化插件 -->
 | 
				
			||||||
 | 
					                <plugin>
 | 
				
			||||||
 | 
					                    <groupId>com.diffplug.spotless</groupId>
 | 
				
			||||||
 | 
					                    <artifactId>spotless-maven-plugin</artifactId>
 | 
				
			||||||
 | 
					                    <version>${spotless.version}</version>
 | 
				
			||||||
 | 
					                </plugin>
 | 
				
			||||||
 | 
					            </plugins>
 | 
				
			||||||
 | 
					        </pluginManagement>
 | 
				
			||||||
    </build>
 | 
					    </build>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <profiles>
 | 
					    <profiles>
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										6
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								pom.xml
									
									
									
									
									
								
							@@ -98,7 +98,6 @@
 | 
				
			|||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>com.diffplug.spotless</groupId>
 | 
					                <groupId>com.diffplug.spotless</groupId>
 | 
				
			||||||
                <artifactId>spotless-maven-plugin</artifactId>
 | 
					                <artifactId>spotless-maven-plugin</artifactId>
 | 
				
			||||||
                <version>2.40.0</version>
 | 
					 | 
				
			||||||
                <executions>
 | 
					                <executions>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
                        <phase>compile</phase>
 | 
					                        <phase>compile</phase>
 | 
				
			||||||
@@ -119,11 +118,10 @@
 | 
				
			|||||||
                    </java>
 | 
					                    </java>
 | 
				
			||||||
                </configuration>
 | 
					                </configuration>
 | 
				
			||||||
            </plugin>
 | 
					            </plugin>
 | 
				
			||||||
            <!-- 扁平化 Maven 插件(统一版本号) -->
 | 
					            <!-- 统一版本号插件 -->
 | 
				
			||||||
            <plugin>
 | 
					            <plugin>
 | 
				
			||||||
                <groupId>org.codehaus.mojo</groupId>
 | 
					                <groupId>org.codehaus.mojo</groupId>
 | 
				
			||||||
                <artifactId>flatten-maven-plugin</artifactId>
 | 
					                <artifactId>flatten-maven-plugin</artifactId>
 | 
				
			||||||
                <version>1.5.0</version>
 | 
					 | 
				
			||||||
                <configuration>
 | 
					                <configuration>
 | 
				
			||||||
                    <updatePomFile>true</updatePomFile>
 | 
					                    <updatePomFile>true</updatePomFile>
 | 
				
			||||||
                    <flattenMode>oss</flattenMode>
 | 
					                    <flattenMode>oss</flattenMode>
 | 
				
			||||||
@@ -141,7 +139,7 @@
 | 
				
			|||||||
                        </goals>
 | 
					                        </goals>
 | 
				
			||||||
                    </execution>
 | 
					                    </execution>
 | 
				
			||||||
                    <execution>
 | 
					                    <execution>
 | 
				
			||||||
                        <id>flatten.clean</id>
 | 
					                        <id>flatten-clean</id>
 | 
				
			||||||
                        <phase>clean</phase>
 | 
					                        <phase>clean</phase>
 | 
				
			||||||
                        <goals>
 | 
					                        <goals>
 | 
				
			||||||
                            <goal>clean</goal>
 | 
					                            <goal>clean</goal>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user