This commit is contained in:
Yutousama 2022-05-16 00:53:12 +08:00
parent 76d7fd5d4d
commit 6dfc9901ab
2 changed files with 10 additions and 19 deletions

19
pom.xml
View File

@ -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>

View 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