From a12b015a8b6cf2aa4d40cff95b033fba168fac2c Mon Sep 17 00:00:00 2001 From: lsh <lsh123456> Date: 星期五, 23 九月 2022 14:02:27 +0800 Subject: [PATCH] #配置文件中${project.basedir}修改为${pom.basedir} --- pom.xml | 22 +++++++++++----------- src/main/resources/application.yml | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/pom.xml b/pom.xml index 2a93012..4af576b 100644 --- a/pom.xml +++ b/pom.xml @@ -110,77 +110,77 @@ <artifactId>5m3</artifactId> <scope>system</scope> <version>0.5.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/bx05-0.5.0-SNAPSHOT.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/bx05-0.5.0-SNAPSHOT.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>5m3message</artifactId> <scope>system</scope> <version>0.5.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/bx05.message-0.5.0-SNAPSHOT.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/bx05.message-0.5.0-SNAPSHOT.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>5m3doc</artifactId> <scope>system</scope> <version>0.5.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/bx05-0.5.0-SNAPSHOT-javadoc.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/bx05-0.5.0-SNAPSHOT-javadoc.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>rxtx</artifactId> <scope>system</scope> <version>2.1.7</version> - <systemPath>${project.basedir}/src/main/resources/lib/rxtx-2.1.7.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/rxtx-2.1.7.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>simple-xml</artifactId> <scope>system</scope> <version>2.7.1</version> - <systemPath>${project.basedir}/src/main/resources/lib/simple-xml-2.7.1.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/simple-xml-2.7.1.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>stax</artifactId> <scope>system</scope> <version>1.2.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/stax-1.2.0.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/stax-1.2.0.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>stax-api</artifactId> <scope>system</scope> <version>1.0.1</version> - <systemPath>${project.basedir}/src/main/resources/lib/stax-api-1.0.1.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/stax-api-1.0.1.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>uia-comm</artifactId> <scope>system</scope> <version>0.5.1</version> - <systemPath>${project.basedir}/src/main/resources/lib/uia-comm-0.5.1.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/uia-comm-0.5.1.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>uia-message</artifactId> <scope>system</scope> <version>0.6.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/uia-message-0.6.0.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/uia-message-0.6.0.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>uia-utils</artifactId> <scope>system</scope> <version>0.2.0</version> - <systemPath>${project.basedir}/src/main/resources/lib/uia-utils-0.2.0.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/uia-utils-0.2.0.jar</systemPath> </dependency> <dependency> <groupId>com.wcs.led</groupId> <artifactId>xpp3</artifactId> <scope>system</scope> <version>1.1.3.3</version> - <systemPath>${project.basedir}/src/main/resources/lib/xpp3-1.1.3.3.jar</systemPath> + <systemPath>${pom.basedir}/src/main/resources/lib/xpp3-1.1.3.3.jar</systemPath> </dependency> </dependencies> diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 9392b07..c0d7388 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -8,7 +8,7 @@ name: @pom.build.finalName@ datasource: driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver - url: jdbc:sqlserver://192.168.4.15:1433;databasename=gzynasrs + url: jdbc:sqlserver://localhost:1433;databasename=gzynasrs username: sa password: sa@123 mvc: -- Gitblit v1.9.1