update
This commit is contained in:
parent
76d7fd5d4d
commit
6dfc9901ab
19
pom.xml
19
pom.xml
@ -112,25 +112,6 @@
|
||||
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
|
||||
<testSourceDirectory>${project.basedir}/src/test/java</testSourceDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-antrun-plugin</artifactId>
|
||||
<version>1.8</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<phase>test</phase>
|
||||
<goals>
|
||||
<goal>run</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
<tasks>
|
||||
<echo>复制正式文件</echo>
|
||||
<copy file="src/main/resources/application.properties.release" tofile="${project.build.outputDirectory}/application.properties" overwrite="true"/>
|
||||
</tasks>
|
||||
</configuration>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
|
10
src/main/resources/application.properties.debug
Normal file
10
src/main/resources/application.properties.debug
Normal file
@ -0,0 +1,10 @@
|
||||
server.port=8000
|
||||
spring.datasource.url=jdbc:mysql://127.0.0.1/databases?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true
|
||||
spring.datasource.username=user
|
||||
spring.datasource.password=password
|
||||
mybatis.mapper-locations=classpath:mapper/*.xml
|
||||
#mybatis.config-location=classpath:mybatis-config.xml
|
||||
mybatis.type-aliases-package=com.yutou.tools.mybatis
|
||||
#<23><>ӡmybatis<69><73>־
|
||||
#logging.level.com.yutou.tools=debug
|
||||
#server.servlet.session.timeout=10s
|
Loading…
Reference in New Issue
Block a user