diff --git a/pom.xml b/pom.xml index 0516e47e..ba21d381 100644 --- a/pom.xml +++ b/pom.xml @@ -2,29 +2,6 @@ 4.0.0 - - - dev - - dev - - - true - - - - test - - test - - - - prod - - prod - - - com.jsh jshERP 2.0.2-SNAPSHOT diff --git a/src/main/assembly/package.xml b/src/main/assembly/package.xml index c10a94c7..d191bf29 100644 --- a/src/main/assembly/package.xml +++ b/src/main/assembly/package.xml @@ -27,7 +27,11 @@ http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 "> - src/main/resources/application.yml + src/main/resources/application.properties + /conf + + + src/main/resources/logback-spring.xml /conf diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties deleted file mode 100644 index 463f95a6..00000000 --- a/src/main/resources/application-dev.properties +++ /dev/null @@ -1,4 +0,0 @@ -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 diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties deleted file mode 100644 index e69de29b..00000000 diff --git a/src/main/resources/application-test.properties b/src/main/resources/application-test.properties deleted file mode 100644 index 463f95a6..00000000 --- a/src/main/resources/application-test.properties +++ /dev/null @@ -1,4 +0,0 @@ -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 diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 5e36727f..6afb2970 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,5 +1,8 @@ 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 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml deleted file mode 100644 index e69de29b..00000000