diff options
| author | fengjunfeng <[email protected]> | 2021-12-30 10:30:14 +0800 |
|---|---|---|
| committer | fengjunfeng <[email protected]> | 2021-12-30 10:30:14 +0800 |
| commit | 326a16625e8165853bc471c7c1c6074a173d62af (patch) | |
| tree | b93c07c386cff6c0b155a311ca3279e1bbc3377a | |
| parent | faf75cc57b088b3a31c4d114dd96ebfea9765b47 (diff) | |
xjar打包
| -rw-r--r-- | pom.xml | 35 | ||||
| -rw-r--r-- | src/main/resources/application.properties | 8 |
2 files changed, 42 insertions, 1 deletions
@@ -62,12 +62,45 @@ </dependencies> <build> + <finalName>license-admin-api</finalName> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> + <configuration> + <mainClass>com.sentinel.license.LicenseApplication</mainClass> + </configuration> + <executions> + <execution> + <goals> + <goal>repackage</goal> + </goals> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>com.mesalab.xjar-maven-plugin</groupId> + <artifactId>mesalab-xjar-maven-plugin</artifactId> + <version>1.0.0</version> + <executions> + <execution> + <goals> + <goal>build</goal> + </goals> + <phase>package</phase> + + <configuration> + <password>io.xjar</password> + <includes> + <include>com/sentinel/**</include> + </includes> + </configuration> + </execution> + </executions> +<!-- <groupId>org.springframework.boot</groupId>--> +<!-- <artifactId>spring-boot-maven-plugin</artifactId>--> </plugin> </plugins> </build> - </project> diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 54a4717..e68636a 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,2 +1,10 @@ #端口 server.port=8088 + +server.tomcat.max-threads=500 + +server.tomcat.accept-count=1000 + +server.tomcat.min-spare-threads=100 + +#server.address=127.0.0.1 |
