Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1e5c102f
Commit
1e5c102f
authored
Feb 21, 2019
by
季圣华
Browse files
更改配置文件
parent
05021281
Changes
7
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
1e5c102f
...
...
@@ -2,29 +2,6 @@
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
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>
<profiles>
<profile>
<id>
dev
</id>
<properties>
<activatedProperties>
dev
</activatedProperties>
</properties>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
</profile>
<profile>
<id>
test
</id>
<properties>
<activatedProperties>
test
</activatedProperties>
</properties>
</profile>
<profile>
<id>
prod
</id>
<properties>
<activatedProperties>
prod
</activatedProperties>
</properties>
</profile>
</profiles>
<groupId>
com.jsh
</groupId>
<artifactId>
jshERP
</artifactId>
<version>
2.0.2-SNAPSHOT
</version>
...
...
src/main/assembly/package.xml
View file @
1e5c102f
...
...
@@ -27,7 +27,11 @@ http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 ">
</fileSets>
<files>
<file>
<source>
src/main/resources/application.yml
</source>
<source>
src/main/resources/application.properties
</source>
<outputDirectory>
/conf
</outputDirectory>
</file>
<file>
<source>
src/main/resources/logback-spring.xml
</source>
<outputDirectory>
/conf
</outputDirectory>
</file>
</files>
...
...
src/main/resources/application-dev.properties
deleted
100644 → 0
View file @
05021281
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.username
=
root
spring.datasource.password
=
123456
\ No newline at end of file
src/main/resources/application-prod.properties
deleted
100644 → 0
View file @
05021281
src/main/resources/application-test.properties
deleted
100644 → 0
View file @
05021281
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.username
=
root
spring.datasource.password
=
123456
\ No newline at end of file
src/main/resources/application.properties
View file @
1e5c102f
server.port
=
8080
spring.profiles.active
=
@activatedProperties@
spring.datasource.url
=
jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false
spring.datasource.driverClassName
=
com.mysql.jdbc.Driver
spring.datasource.username
=
root
spring.datasource.password
=
1234
#generatorConfig专用属性
project
=
src/main/java
resource
=
src/main/resources
...
...
src/main/resources/application.yml
deleted
100644 → 0
View file @
05021281
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment