Browse Source

v1.1.1

(cherry picked from commit 0ae20f94de9e72aadb329b2134ff292a7bdf48db)
MOKASZ\lw12420 2 years ago
parent
commit
0f207fa9d9

+ 32 - 34
launch-admin/pom.xml

@@ -130,49 +130,47 @@
     <build>
         <plugins>
             <plugin>
-                <groupId>com.github.shalousun</groupId>
-                <artifactId>smart-doc-maven-plugin</artifactId>
-                <version>2.3.1</version>
-                <!--建议用最新版本-->
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>3.5.1</version>
+                <configuration>
+                    <source>21</source>
+                    <target>21</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <version>2.18.1</version>
+                <configuration>
+                    <skipTests>true</skipTests>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-deploy-plugin</artifactId>
+                <version>2.8.2</version>
                 <configuration>
-                    <!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
-                    <configFile>./src/main/resources/smart-doc.json</configFile>
-                    <!--指定项目名称-->
-                    <projectName>SmartDoc-Demo</projectName>
-                    <!--smart-doc实现自动分析依赖树加载第三方依赖的源码,如果一些框架依赖库加载不到导致报错,这时请使用excludes排除掉-->
-                    <excludes>
-                        <!--格式为:groupId:artifactId;参考如下-->
-                        <!--1.0.7版本开始你还可以用正则匹配排除,如:poi.* -->
-                        <exclude>com.alibaba:fastjson</exclude>
-                    </excludes>
-                    <!--自1.0.8版本开始,插件提供includes支持-->
-                    <!--smart-doc能自动分析依赖树加载所有依赖源码,原则上会影响文档构建效率,因此你可以使用includes来让插件加载你配置的组件-->
-                    <includes>
-                        <!--格式为:groupId:artifactId;参考如下-->
-                        <include>com.launch.system.controller.tool.product</include>
-                    </includes>
+                    <skip>true</skip>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.springframework.boot</groupId>
+                <artifactId>spring-boot-maven-plugin</artifactId>
+
+                <configuration>
+
+                    <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
+                    <includeSystemScope>true</includeSystemScope>
                 </configuration>
                 <executions>
                     <execution>
-                        <!--如果不需要在执行编译时启动smart-doc,则将phase注释掉-->
-                        <!--<phase>compile</phase>-->
                         <goals>
-                            <!--smart-doc提供了html、openapi、markdown等goal,可按需配置-->
-                            <!--<goal>html</goal>-->
+                            <goal>repackage</goal>
                         </goals>
                     </execution>
                 </executions>
             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.1</version>
-                <configuration>
-                    <source>${java.version}</source>
-                    <target>${java.version}</target>
-                    <encoding>${project.build.sourceEncoding}</encoding>
-                </configuration>
-            </plugin>
         </plugins>
     </build>
 

+ 1 - 1
launch-admin/src/main/java/com/webflux/launchadmin/dispatcher/MailTask.java

@@ -17,7 +17,7 @@ public class MailTask {
     }
 
     //清空用户Map数据 每天凌晨执行
-	@Scheduled(cron="1 0 0 * * ? * ")
+	@Scheduled(cron="1 1 0 * * ?")
 	public void clearUserContextMap(){
 		log.info("清空用户Map数据》》》》》》》》》》》》》》》》》》》》》》开始");
 		UserContext.cMap.clear();