Compare commits
2 Commits
3eb441d41c
...
58c1975b05
Author | SHA1 | Date |
---|---|---|
|
58c1975b05 | |
|
906928ea0f |
22
pom.xml
22
pom.xml
|
@ -191,13 +191,13 @@
|
|||
</manifestEntries>
|
||||
</archive>
|
||||
<!-- 打包时从jar包里排除资源文件 -->
|
||||
<!-- <excludes>-->
|
||||
<!-- <exclude>*.yml</exclude>-->
|
||||
<!-- <exclude>*.xml</exclude>-->
|
||||
<!-- <exclude>templates/**</exclude>-->
|
||||
<!-- <exclude>win32-x86-64/**</exclude>-->
|
||||
<!-- <exclude>win32-x86/**</exclude>-->
|
||||
<!-- </excludes>-->
|
||||
<excludes>
|
||||
<!--<exclude>*.yml</exclude>
|
||||
<exclude>*.xml</exclude>
|
||||
<exclude>templates/**</exclude>
|
||||
<exclude>win32-x86-64/**</exclude>
|
||||
<exclude>win32-x86/**</exclude>-->
|
||||
</excludes>
|
||||
<!-- 指定项目打成jar包输出位置 -->
|
||||
<outputDirectory>${project.build.directory}/output</outputDirectory>
|
||||
</configuration>
|
||||
|
@ -220,7 +220,7 @@
|
|||
</executions>
|
||||
</plugin>
|
||||
<!--拷贝资源文件! 插件maven-jar-plugin只负责打包时排除文件, 而把资源文件拷贝到外部resource目录就需要maven-dependency-plugin插件-->
|
||||
<plugin>
|
||||
<!--<plugin>
|
||||
<artifactId>maven-resources-plugin</artifactId>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -232,16 +232,16 @@
|
|||
<configuration>
|
||||
<resources>
|
||||
<resource>
|
||||
<!--拷贝此目录下的所有文件到指定的外部目录。只负责拷贝,而不是从jar包中排除!-->
|
||||
<!–拷贝此目录下的所有文件到指定的外部目录。只负责拷贝,而不是从jar包中排除!–>
|
||||
<directory>src/main/resources</directory>
|
||||
</resource>
|
||||
</resources>
|
||||
<!-- 把“<resource><directory>”指定目录中的文件输出到此处指定目录 -->
|
||||
<!– 把“<resource><directory>”指定目录中的文件输出到此处指定目录 –>
|
||||
<outputDirectory>${project.build.directory}/output/resources</outputDirectory>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
</plugin>-->
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
server:
|
||||
port: 5946
|
||||
|
||||
dpkj:
|
||||
# 医保配置
|
||||
chs:
|
||||
|
@ -19,4 +22,9 @@ dpkj:
|
|||
# 波特率 串口连接下使用
|
||||
baud-rate:
|
||||
|
||||
# 自定义app参数
|
||||
app:
|
||||
custom:
|
||||
lexMarkServiceIp: http://127.0.0.1
|
||||
lexMarkServicePort: 12346
|
||||
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
server:
|
||||
port: 5946
|
||||
|
||||
dpkj:
|
||||
# 医保配置
|
||||
chs:
|
||||
|
@ -18,3 +21,9 @@ dpkj:
|
|||
port-name:
|
||||
# 波特率 串口连接下使用
|
||||
baud-rate:
|
||||
|
||||
# 自定义app参数
|
||||
app:
|
||||
custom:
|
||||
lexMarkServiceIp: http://127.0.0.1
|
||||
lexMarkServicePort: 12346
|
||||
|
|
|
@ -1,18 +1,4 @@
|
|||
spring:
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
max-request-size: 10MB
|
||||
resource:
|
||||
static-locations: classpath:/static/,classpath:/public/
|
||||
application:
|
||||
name: ems-express-bridge
|
||||
profiles:
|
||||
#active: '@profile.name@'
|
||||
active: pro
|
||||
|
||||
server:
|
||||
port: 5946
|
||||
servlet:
|
||||
context-path: /api
|
||||
tomcat:
|
||||
|
@ -26,11 +12,14 @@ server:
|
|||
min-response-size: 1024
|
||||
mime-types: application/javascript,application/json,application/xml,text/html,text/xml,text/plain,text/css,image/*
|
||||
|
||||
|
||||
# 自定义app参数
|
||||
app:
|
||||
custom:
|
||||
lexMarkServiceIp: http://127.0.0.1
|
||||
lexMarkServicePort: 12346
|
||||
|
||||
|
||||
spring:
|
||||
servlet:
|
||||
multipart:
|
||||
max-file-size: 10MB
|
||||
max-request-size: 10MB
|
||||
resource:
|
||||
static-locations: classpath:/static/,classpath:/public/
|
||||
application:
|
||||
name: ems-express-bridge
|
||||
profiles:
|
||||
active: pro
|
||||
|
|
Loading…
Reference in New Issue