xjar打包
This commit is contained in:
35
pom.xml
35
pom.xml
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user