配置修改
This commit is contained in:
parent
92ec94cfad
commit
a138e491b2
1
bushu/config.properties
Normal file
1
bushu/config.properties
Normal file
@ -0,0 +1 @@
|
||||
config.file=classpath:/application_local.yml,${CONFIG_FILE:config/app.properties}
|
||||
128
bushu/config/app.properties
Normal file
128
bushu/config/app.properties
Normal file
@ -0,0 +1,128 @@
|
||||
#extend config
|
||||
spring.application.name=bizsvr
|
||||
server.port=11089
|
||||
|
||||
logging.config=logback-spring.xml
|
||||
|
||||
#instance.ip=127.0.0.1
|
||||
# 配置中心url
|
||||
server.servlet.context-path=/api/bizsvr
|
||||
#server.servlet.context-path=/
|
||||
server.tomcat.uri-encoding=UTF-8
|
||||
server.tomcat.accept-count=1000
|
||||
server.tomcat.threads.max=800
|
||||
server.tomcat.threads.min-spare=100
|
||||
|
||||
#undertow
|
||||
server.undertow.direct-buffers=true
|
||||
server.undertow.threads.io=8
|
||||
server.undertow.threads.worker=258
|
||||
|
||||
#DataSource
|
||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.url=jdbc:mysql://rm-uf61f7vi74nqis6q6fo.mysql.rds.aliyuncs.com:3306/tnuat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.url=jdbc:mysql://192.168.88.23:31306/tnuat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.username=tnuat
|
||||
spring.datasource.password=Tnuat123#@!
|
||||
|
||||
#spring.datasource.url=jdbc:mysql://192.168.88.58:3307/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
#spring.datasource.username=xdadan
|
||||
#spring.datasource.password=xdadan123#@!
|
||||
##spring.datasource.password=XDDENC#ukKw8FenW3YMeSQPlar5Y+PGpb+VgonP
|
||||
|
||||
|
||||
spring.datasource.druid.initialSize=5
|
||||
spring.datasource.druid.minIdle=10
|
||||
spring.datasource.druid.maxActive=20
|
||||
spring.datasource.druid.maxWait=60000
|
||||
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
|
||||
spring.datasource.druid.minEvictableIdleTimeMillis=300000
|
||||
spring.datasource.druid.maxEvictableIdleTimeMillis=900000
|
||||
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
|
||||
spring.datasource.druid.testWhileIdle=true
|
||||
spring.datasource.druid.testOnBorrow=false
|
||||
spring.datasource.druid.testOnReturn=false
|
||||
spring.datasource.druid.webStatFilter.enabled=true
|
||||
spring.datasource.druid.statViewServlet.enabled=true
|
||||
spring.datasource.druid.statViewServlet.allow.url-pattern=/druid/*
|
||||
spring.datasource.druid.statViewServlet.allow.login-username=xdadan
|
||||
spring.datasource.druid.statViewServlet.allow.login-password=123456
|
||||
spring.datasource.druid.filter.stat.enabled=true
|
||||
spring.datasource.druid.filter.stat.log-slow-sql=true
|
||||
spring.datasource.druid.filter.stat.slow-sql-millis=1000
|
||||
spring.datasource.druid.filter.stat.merge-sql=true
|
||||
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
|
||||
|
||||
|
||||
spring.datasource.max-wait=30000
|
||||
spring.datasource.max-active=200
|
||||
spring.datasource.initial-size=20
|
||||
spring.datasource.max-idle=20
|
||||
spring.datasource.min-idle=10
|
||||
spring.datasource.test-on-borrow=true
|
||||
spring.datasource.test-while-idle=true
|
||||
spring.datasource.validationQuery=select 1 from dual
|
||||
spring.datasource.connection-test-query=select 1 from dual
|
||||
|
||||
|
||||
#redis
|
||||
spring.redis.database=0
|
||||
spring.redis.host=192.168.88.58
|
||||
#spring.redis.cluster.nodes=192.168.88.58
|
||||
spring.redis.port=6379
|
||||
spring.redis.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
spring.redis.pool.max-active=8
|
||||
spring.redis.pool.max-wait=-1
|
||||
spring.redis.pool.max-idle=8
|
||||
spring.redis.pool.min-idle=0
|
||||
spring.redis.timeout=10s
|
||||
spring.redis.lettuce.pool.min-idle=0
|
||||
spring.redis.lettuce.pool.max-idle=8
|
||||
spring.redis.lettuce.pool.max-active=8
|
||||
spring.redis.lettuce.pool.max-wait=-1ms
|
||||
|
||||
redisson.address=redis://192.168.88.58:6379
|
||||
redisson.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
redisson.timeout=3000
|
||||
redisson.database=0
|
||||
redisson.connectionPoolSize=10
|
||||
redisson.connectionMinimumIdleSize=10
|
||||
|
||||
#rabbitmq
|
||||
spring.rabbitmq.host=192.168.88.57
|
||||
spring.rabbitmq.port=5672
|
||||
spring.rabbitmq.username=ccloud
|
||||
spring.rabbitmq.password=123#@!
|
||||
spring.rabbitmq.virtual-host=/pushcus
|
||||
# 是否启动mq监听
|
||||
mq.isStartListener=true
|
||||
|
||||
|
||||
#DXP001_SEND
|
||||
|
||||
#MVC
|
||||
spring.mvc.static-path-pattern=/**
|
||||
#spring.resources.static-locations = classpath:/templates/,classpath:/resources/,classpath:/static/,classpath:/html/
|
||||
spring.resources.static-locations=classpath:/static/,classpath:/html/
|
||||
spring.mvc.view.prefix=/WEB-INF/views/
|
||||
spring.mvc.view.suffix=.jsp
|
||||
|
||||
spring.http.multipart.maxFileSize=10000Mb
|
||||
spring.http.multipart.maxRequestSize=10000Mb
|
||||
|
||||
pay.temp.dir=tmp
|
||||
pay.profile=.
|
||||
|
||||
xdd.enc.key=
|
||||
#X20230103080
|
||||
|
||||
pay.api-online-url=https://papi.tanex56.com/router/online
|
||||
pay.app-id=26150000179
|
||||
pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff
|
||||
|
||||
erp.api.base-url=https://api-emis.tanex56.com/api/bizsvr
|
||||
erp.api.pay.notify-url=https://api-emis.tanex56.com/api/bizsvr/common/payNotifyCallback
|
||||
|
||||
system.fontPath=/usr/share/fonts
|
||||
|
||||
135
bushu/config/app_dev.properties
Normal file
135
bushu/config/app_dev.properties
Normal file
@ -0,0 +1,135 @@
|
||||
#extend config
|
||||
spring.application.name=bizsvr
|
||||
server.port=11089
|
||||
|
||||
logging.config=logback-spring.xml
|
||||
|
||||
#instance.ip=127.0.0.1
|
||||
# \u914D\u7F6E\u4E2D\u5FC3url
|
||||
server.servlet.context-path=/api/bizsvr
|
||||
#server.servlet.context-path=/
|
||||
server.tomcat.uri-encoding=UTF-8
|
||||
server.tomcat.accept-count=1000
|
||||
server.tomcat.threads.max=800
|
||||
server.tomcat.threads.min-spare=100
|
||||
|
||||
#undertow
|
||||
server.undertow.direct-buffers=true
|
||||
server.undertow.threads.io=8
|
||||
server.undertow.threads.worker=258
|
||||
|
||||
#DataSource
|
||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.url=jdbc:mysql://rm-uf61f7vi74nqis6q6fo.mysql.rds.aliyuncs.com:3306/tnuat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.url=jdbc:mysql://localhost:3306/tunat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=root
|
||||
spring.datasource.password=335453955
|
||||
|
||||
#spring.datasource.url=jdbc:mysql://192.168.88.58:3307/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
#spring.datasource.username=xdadan
|
||||
#spring.datasource.password=xdadan123#@!
|
||||
##spring.datasource.password=XDDENC#ukKw8FenW3YMeSQPlar5Y+PGpb+VgonP
|
||||
|
||||
|
||||
spring.datasource.druid.initialSize=5
|
||||
spring.datasource.druid.minIdle=10
|
||||
spring.datasource.druid.maxActive=20
|
||||
spring.datasource.druid.maxWait=60000
|
||||
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
|
||||
spring.datasource.druid.minEvictableIdleTimeMillis=300000
|
||||
spring.datasource.druid.maxEvictableIdleTimeMillis=900000
|
||||
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
|
||||
spring.datasource.druid.testWhileIdle=true
|
||||
spring.datasource.druid.testOnBorrow=false
|
||||
spring.datasource.druid.testOnReturn=false
|
||||
spring.datasource.druid.webStatFilter.enabled=true
|
||||
spring.datasource.druid.statViewServlet.enabled=true
|
||||
spring.datasource.druid.statViewServlet.allow.url-pattern=/druid/*
|
||||
spring.datasource.druid.statViewServlet.allow.login-username=xdadan
|
||||
spring.datasource.druid.statViewServlet.allow.login-password=123456
|
||||
spring.datasource.druid.filter.stat.enabled=true
|
||||
spring.datasource.druid.filter.stat.log-slow-sql=true
|
||||
spring.datasource.druid.filter.stat.slow-sql-millis=1000
|
||||
spring.datasource.druid.filter.stat.merge-sql=true
|
||||
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
|
||||
|
||||
|
||||
spring.datasource.max-wait=30000
|
||||
spring.datasource.max-active=200
|
||||
spring.datasource.initial-size=20
|
||||
spring.datasource.max-idle=20
|
||||
spring.datasource.min-idle=10
|
||||
spring.datasource.test-on-borrow=true
|
||||
spring.datasource.test-while-idle=true
|
||||
spring.datasource.validationQuery=select 1 from dual
|
||||
spring.datasource.connection-test-query=select 1 from dual
|
||||
|
||||
|
||||
#redis
|
||||
spring.redis.database=0
|
||||
spring.redis.host=127.0.0.1
|
||||
#spring.redis.cluster.nodes=192.168.88.58
|
||||
spring.redis.port=6379
|
||||
#spring.redis.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
spring.redis.pool.max-active=8
|
||||
spring.redis.pool.max-wait=-1
|
||||
spring.redis.pool.max-idle=8
|
||||
spring.redis.pool.min-idle=0
|
||||
spring.redis.timeout=100s
|
||||
spring.redis.lettuce.pool.min-idle=30
|
||||
spring.redis.lettuce.pool.max-idle=10
|
||||
spring.redis.lettuce.pool.max-active=30
|
||||
spring.redis.lettuce.pool.max-wait=10000
|
||||
|
||||
redisson.address=redis://127.0.0.1:6379
|
||||
#redisson.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
redisson.timeout=3000
|
||||
redisson.database=0
|
||||
redisson.connectionPoolSize=10
|
||||
redisson.connectionMinimumIdleSize=10
|
||||
|
||||
#rabbitmq
|
||||
spring.rabbitmq.host=127.0.0.1
|
||||
spring.rabbitmq.port=5672
|
||||
spring.rabbitmq.username=guest
|
||||
spring.rabbitmq.password=guest
|
||||
spring.rabbitmq.virtual-host=/pushcus
|
||||
# \u662F\u542F\u52A8mq\u76D1\u542C
|
||||
mq.isStartListener=true
|
||||
|
||||
|
||||
#DXP001_SEND
|
||||
|
||||
#MVC
|
||||
spring.mvc.static-path-pattern=/**
|
||||
#spring.resources.static-locations = classpath:/templates/,classpath:/resources/,classpath:/static/,classpath:/html/
|
||||
spring.resources.static-locations=classpath:/static/,classpath:/html/
|
||||
spring.mvc.view.prefix=/WEB-INF/views/
|
||||
spring.mvc.view.suffix=.jsp
|
||||
|
||||
spring.http.multipart.maxFileSize=10000Mb
|
||||
spring.http.multipart.maxRequestSize=10000Mb
|
||||
|
||||
pay.temp.dir=tmp
|
||||
pay.profile=.
|
||||
|
||||
xdd.enc.key=
|
||||
#X20230103080
|
||||
|
||||
pay.api-online-url=http://api.pay.xdadan.com/api/gateway/router/online
|
||||
pay.app-id=26150000179
|
||||
pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff
|
||||
|
||||
erp.api.base-url=http://api.erp2.xdadan.com/api/microsvr
|
||||
erp.api.pay.notify-url=http://api.erp2.xdadan.com/api/microsvr/common/payNotifyCallback
|
||||
|
||||
system.fontPath=/usr/share/fonts
|
||||
|
||||
xss.excludes=/system/notice
|
||||
xss.urlPatterns=/system/*,/monitor/*,/tool/*
|
||||
|
||||
token.header=X-Token
|
||||
token.secret=10942fd6f30d45a567e7ec84b18f9ca7c1
|
||||
token.expireTime=4320
|
||||
|
||||
128
bushu/config/app_sit.properties
Normal file
128
bushu/config/app_sit.properties
Normal file
@ -0,0 +1,128 @@
|
||||
#extend config
|
||||
spring.application.name=bizsvr
|
||||
server.port=11089
|
||||
|
||||
logging.config=logback-spring.xml
|
||||
|
||||
#instance.ip=127.0.0.1
|
||||
# 配置中心url
|
||||
server.servlet.context-path=/api/bizsvr
|
||||
#server.servlet.context-path=/
|
||||
server.tomcat.uri-encoding=UTF-8
|
||||
server.tomcat.accept-count=1000
|
||||
server.tomcat.threads.max=800
|
||||
server.tomcat.threads.min-spare=100
|
||||
|
||||
#undertow
|
||||
server.undertow.direct-buffers=true
|
||||
server.undertow.threads.io=8
|
||||
server.undertow.threads.worker=258
|
||||
|
||||
#DataSource
|
||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||
#spring.datasource.url=jdbc:mysql://rm-uf61f7vi74nqis6q6fo.mysql.rds.aliyuncs.com:3306/tnuat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.url=jdbc:mysql://192.168.88.23:31306/tnuat?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
spring.datasource.username=tnuat
|
||||
spring.datasource.password=Tnuat123#@!
|
||||
|
||||
#spring.datasource.url=jdbc:mysql://192.168.88.58:3307/tnemis?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
#spring.datasource.username=xdadan
|
||||
#spring.datasource.password=xdadan123#@!
|
||||
##spring.datasource.password=XDDENC#ukKw8FenW3YMeSQPlar5Y+PGpb+VgonP
|
||||
|
||||
|
||||
spring.datasource.druid.initialSize=5
|
||||
spring.datasource.druid.minIdle=10
|
||||
spring.datasource.druid.maxActive=20
|
||||
spring.datasource.druid.maxWait=60000
|
||||
spring.datasource.druid.timeBetweenEvictionRunsMillis=60000
|
||||
spring.datasource.druid.minEvictableIdleTimeMillis=300000
|
||||
spring.datasource.druid.maxEvictableIdleTimeMillis=900000
|
||||
spring.datasource.druid.validationQuery=SELECT 1 FROM DUAL
|
||||
spring.datasource.druid.testWhileIdle=true
|
||||
spring.datasource.druid.testOnBorrow=false
|
||||
spring.datasource.druid.testOnReturn=false
|
||||
spring.datasource.druid.webStatFilter.enabled=true
|
||||
spring.datasource.druid.statViewServlet.enabled=true
|
||||
spring.datasource.druid.statViewServlet.allow.url-pattern=/druid/*
|
||||
spring.datasource.druid.statViewServlet.allow.login-username=xdadan
|
||||
spring.datasource.druid.statViewServlet.allow.login-password=123456
|
||||
spring.datasource.druid.filter.stat.enabled=true
|
||||
spring.datasource.druid.filter.stat.log-slow-sql=true
|
||||
spring.datasource.druid.filter.stat.slow-sql-millis=1000
|
||||
spring.datasource.druid.filter.stat.merge-sql=true
|
||||
spring.datasource.druid.filter.wall.config.multi-statement-allow=true
|
||||
|
||||
|
||||
spring.datasource.max-wait=30000
|
||||
spring.datasource.max-active=200
|
||||
spring.datasource.initial-size=20
|
||||
spring.datasource.max-idle=20
|
||||
spring.datasource.min-idle=10
|
||||
spring.datasource.test-on-borrow=true
|
||||
spring.datasource.test-while-idle=true
|
||||
spring.datasource.validationQuery=select 1 from dual
|
||||
spring.datasource.connection-test-query=select 1 from dual
|
||||
|
||||
|
||||
#redis
|
||||
spring.redis.database=0
|
||||
spring.redis.host=127.0.0.1
|
||||
#spring.redis.cluster.nodes=192.168.88.58
|
||||
spring.redis.port=6379
|
||||
#spring.redis.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
spring.redis.pool.max-active=8
|
||||
spring.redis.pool.max-wait=-1
|
||||
spring.redis.pool.max-idle=8
|
||||
spring.redis.pool.min-idle=0
|
||||
spring.redis.timeout=100s
|
||||
spring.redis.lettuce.pool.min-idle=30
|
||||
spring.redis.lettuce.pool.max-idle=10
|
||||
spring.redis.lettuce.pool.max-active=30
|
||||
spring.redis.lettuce.pool.max-wait=10000
|
||||
|
||||
redisson.address=redis://127.0.0.1:6379
|
||||
#redisson.password=TNL9910Aksd&5$(((*sd88sdsds99asdsa8
|
||||
redisson.timeout=3000
|
||||
redisson.database=0
|
||||
redisson.connectionPoolSize=10
|
||||
redisson.connectionMinimumIdleSize=10
|
||||
|
||||
#rabbitmq
|
||||
spring.rabbitmq.host=192.168.88.57
|
||||
spring.rabbitmq.port=5672
|
||||
spring.rabbitmq.username=ccloud
|
||||
spring.rabbitmq.password=123#@!
|
||||
spring.rabbitmq.virtual-host=/pushcus
|
||||
# 是否启动mq监听
|
||||
mq.isStartListener=true
|
||||
|
||||
|
||||
#DXP001_SEND
|
||||
|
||||
#MVC
|
||||
spring.mvc.static-path-pattern=/**
|
||||
#spring.resources.static-locations = classpath:/templates/,classpath:/resources/,classpath:/static/,classpath:/html/
|
||||
spring.resources.static-locations=classpath:/static/,classpath:/html/
|
||||
spring.mvc.view.prefix=/WEB-INF/views/
|
||||
spring.mvc.view.suffix=.jsp
|
||||
|
||||
spring.http.multipart.maxFileSize=10000Mb
|
||||
spring.http.multipart.maxRequestSize=10000Mb
|
||||
|
||||
pay.temp.dir=tmp
|
||||
pay.profile=.
|
||||
|
||||
xdd.enc.key=
|
||||
#X20230103080
|
||||
|
||||
pay.api-online-url=https://papi.tanex56.com/router/online
|
||||
pay.app-id=26150000179
|
||||
pay.app-secret=91be0b54ba41f71f8e0506a7da95a8ff
|
||||
|
||||
erp.api.base-url=https://api-emis.tanex56.com/api/bizsvr
|
||||
erp.api.pay.notify-url=https://api-emis.tanex56.com/api/bizsvr/common/payNotifyCallback
|
||||
|
||||
system.fontPath=/usr/share/fonts
|
||||
|
||||
27
pom.xml
27
pom.xml
@ -3,7 +3,7 @@
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
|
||||
<groupId>com.xdadan</groupId>
|
||||
<artifactId>emis</artifactId>
|
||||
<version>1.0.0</version>
|
||||
@ -11,7 +11,7 @@
|
||||
<name>emis-server</name>
|
||||
<url>http://www.tanex56.com</url>
|
||||
<description>emis-server</description>
|
||||
|
||||
|
||||
<properties>
|
||||
<pay.version>1.0.0</pay.version>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -238,6 +238,14 @@
|
||||
<enabled>true</enabled>
|
||||
</releases>
|
||||
</repository>
|
||||
<!-- <repository>-->
|
||||
<!-- <id>releases</id>-->
|
||||
<!-- <name>Nexus Release Repository</name>-->
|
||||
<!-- <url>http://47.109.179.210:8888/repository/maven-releases/</url>-->
|
||||
<!-- <releases>-->
|
||||
<!-- <enabled>true</enabled>-->
|
||||
<!-- </releases>-->
|
||||
<!-- </repository>-->
|
||||
</repositories>
|
||||
|
||||
<pluginRepositories>
|
||||
@ -254,4 +262,17 @@
|
||||
</pluginRepository>
|
||||
</pluginRepositories>
|
||||
|
||||
</project>
|
||||
<!-- <distributionManagement>-->
|
||||
<!-- <repository>-->
|
||||
<!-- <id>releases</id>-->
|
||||
<!-- <name>Nexus Release Repository</name>-->
|
||||
<!-- <url>http://47.109.179.210:8888/repository/maven-releases/</url>-->
|
||||
<!-- </repository>-->
|
||||
<!-- <snapshotRepository>-->
|
||||
<!-- <id>snapshots</id>-->
|
||||
<!-- <name>Nexus Snapshot Repository</name>-->
|
||||
<!-- <url>http://47.109.179.210:8888/repository/maven-snapshots/</url>-->
|
||||
<!-- </snapshotRepository>-->
|
||||
<!-- </distributionManagement>-->
|
||||
|
||||
</project>
|
||||
|
||||
30
settings.xml
Normal file
30
settings.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
|
||||
|
||||
<servers>
|
||||
<!-- 你的私有仓库账号密码 -->
|
||||
<server>
|
||||
<id>releases</id>
|
||||
<username>admin</username>
|
||||
<password>335453955</password>
|
||||
</server>
|
||||
<server>
|
||||
<id>snapshots</id>
|
||||
<username>admin</username>
|
||||
<password>335453955</password>
|
||||
</server>
|
||||
</servers>
|
||||
|
||||
<mirrors>
|
||||
<!-- 关键配置:公共依赖走阿里云,你的私有依赖不走镜像! -->
|
||||
<mirror>
|
||||
<id>aliyunmaven</id>
|
||||
<mirrorOf>external:*,!releases,!snapshots</mirrorOf>
|
||||
<name>Aliyun Maven</name>
|
||||
<url>https://maven.aliyun.com/repository/public</url>
|
||||
</mirror>
|
||||
</mirrors>
|
||||
|
||||
</settings>
|
||||
Loading…
Reference in New Issue
Block a user