diff --git a/pom.xml b/pom.xml index 3524a36..92a6056 100644 --- a/pom.xml +++ b/pom.xml @@ -22,28 +22,7 @@ udf-starter-core - udf-demo - - - - - dev - - true - - - dev - - - - - qa - - qa - - - @@ -102,15 +81,10 @@ - + - + @@ -122,12 +96,8 @@ http://maven.aliyun.com/nexus/content/groups/public/ - + @@ -145,17 +115,8 @@ - + diff --git a/udf-demo/.checkstyle b/udf-demo/.checkstyle deleted file mode 100644 index 5b35a1b..0000000 --- a/udf-demo/.checkstyle +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/udf-demo/.gitignore b/udf-demo/.gitignore deleted file mode 100644 index c541155..0000000 --- a/udf-demo/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/target/ -/bin/ -/.classpath -/.project diff --git a/udf-demo/.settings/.gitignore b/udf-demo/.settings/.gitignore deleted file mode 100644 index 6cb3d6d..0000000 --- a/udf-demo/.settings/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/org.eclipse.core.resources.prefs -/org.eclipse.jdt.core.prefs diff --git a/udf-demo/pom.xml b/udf-demo/pom.xml deleted file mode 100644 index 7c81d04..0000000 --- a/udf-demo/pom.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - 4.0.0 - - udf-demo - udf-demo - jar - http://www.egridcloud.com - - - com.egridcloud.udf - udf-starter - 1.0 - - - - 8080 - - - - - - com.egridcloud.udf - udf-starter-core - - - - - - - ${project.basedir}/src/main/resources/ - true - - - - - org.springframework.boot - spring-boot-maven-plugin - ${springboot.version} - - - - repackage - - - - - - - diff --git a/udf-demo/src/main/java/com/egridcloud/udf/demo/UdfDemoApplication.java b/udf-demo/src/main/java/com/egridcloud/udf/demo/UdfDemoApplication.java deleted file mode 100644 index 73bc6c8..0000000 --- a/udf-demo/src/main/java/com/egridcloud/udf/demo/UdfDemoApplication.java +++ /dev/null @@ -1,32 +0,0 @@ -/** - * BaseApplication.java - * Created at 2016-10-02 - * Created by wangkang - * Copyright (C) 2016 egridcloud.com, All rights reserved. - */ -package com.egridcloud.udf.demo; - -import org.springframework.boot.SpringApplication; -import org.springframework.cloud.client.SpringCloudApplication; - -import com.egridcloud.udf.core.BaseApplication; - -/** - * 描述 : 系统入口 - * - * @author wangkang - * - */ -@SpringCloudApplication -public class UdfDemoApplication extends BaseApplication { - - /** - * 描述 : spring boot的入口,在整个项目中,包括其子项目在内, 只能有一个main方法,否则spring boot启动不起来 - * - * @param args 参数 - */ - public static void main(String[] args) { - SpringApplication.run(UdfDemoApplication.class, args); - } - -} diff --git a/udf-demo/src/main/resources/bootstrap-dev.properties b/udf-demo/src/main/resources/bootstrap-dev.properties deleted file mode 100644 index b6fdc2a..0000000 --- a/udf-demo/src/main/resources/bootstrap-dev.properties +++ /dev/null @@ -1,4 +0,0 @@ -######################################################## -###com.egridcloud.application.config (ApplicationConfig) -######################################################## -com.egridcloud.application.config.outputExceptionStackTrace=true \ No newline at end of file diff --git a/udf-demo/src/main/resources/bootstrap-qa.properties b/udf-demo/src/main/resources/bootstrap-qa.properties deleted file mode 100644 index 335a7cf..0000000 --- a/udf-demo/src/main/resources/bootstrap-qa.properties +++ /dev/null @@ -1,4 +0,0 @@ -######################################################## -###com.egridcloud.application.config (ApplicationConfig) -######################################################## -com.egridcloud.application.config.outputExceptionStackTrace=false \ No newline at end of file diff --git a/udf-demo/src/main/resources/bootstrap.properties b/udf-demo/src/main/resources/bootstrap.properties deleted file mode 100644 index 2df7924..0000000 --- a/udf-demo/src/main/resources/bootstrap.properties +++ /dev/null @@ -1,50 +0,0 @@ -######################################################## -###com.egridcloud.application.config (ApplicationConfig) -######################################################## -com.egridcloud.application.config.encoding=UTF-8 -com.egridcloud.application.config.timeZone=Asia/Shanghai -com.egridcloud.application.config.dateFormat=yyyy-MM-dd'T'HH:mm:ss:SSSZ - -######################################################## -###INFO -######################################################## -info.build.group=${project.groupId} -info.build.artifact=${project.artifactId} -info.build.version=${project.version} -info.build.name=${project.name} - -######################################################## -###IDENTITY -######################################################## -spring.application.name=${project.name} -spring.application.systemTag=${project.name} - -######################################################## -###WEB PROPERTIES -######################################################## -server.port=${server.port} - -######################################################## -###PROFILES -######################################################## -spring.profiles.active=${profiles.activation} - -######################################################## -###SPRING MVC (WebMvcProperties) -######################################################## -spring.mandatory-file-encoding=${com.egridcloud.application.config.encoding} -spring.mvc.dateFormat=${com.egridcloud.application.config.dateFormat} -spring.mvc.throw-exception-if-no-handler-found=true -spring.resources.add-mappings=false - -######################################################## -###JACKSON ( JacksonProperties ) -######################################################## -spring.jackson.dateFormat=${com.egridcloud.application.config.dateFormat} -spring.jackson.jodaDateTimeFormat=${com.egridcloud.application.config.dateFormat} -spring.jackson.timeZone=${com.egridcloud.application.config.timeZone} -spring.jackson.serialization.INDENT_OUTPUT=true -spring.jackson.serialization.FAIL_ON_EMPTY_BEANS=true -spring.jackson.deserialization.FAIL_ON_UNKNOWN_PROPERTIES=true -spring.jackson.parser.ALLOW_SINGLE_QUOTES=true -spring.jackson.parser.ALLOW_UNQUOTED_CONTROL_CHARS=true