commit d8aaa44931bb2685d173d33989194ad9f1ba1f67 Author: geek Date: Mon Dec 11 12:46:15 2017 +0900 project shared diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 0000000..565c347 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..8543495 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml new file mode 100644 index 0000000..67ce0f0 --- /dev/null +++ b/.idea/dbnavigator.xml @@ -0,0 +1,453 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..b26911b --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml new file mode 100644 index 0000000..6fec8f4 --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml new file mode 100644 index 0000000..9eb8596 --- /dev/null +++ b/.idea/libraries/Maven__ch_qos_logback_logback_core_1_2_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__junit_junit_4_12.xml b/.idea/libraries/Maven__junit_junit_4_12.xml new file mode 100644 index 0000000..d411041 --- /dev/null +++ b/.idea/libraries/Maven__junit_junit_4_12.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml new file mode 100644 index 0000000..f58bbc1 --- /dev/null +++ b/.idea/libraries/Maven__org_hamcrest_hamcrest_core_1_3.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml new file mode 100644 index 0000000..20e8163 --- /dev/null +++ b/.idea/libraries/Maven__org_slf4j_slf4j_api_1_7_25.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..e8942bd --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,13 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..077175f --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/maven_archetype_spring_boot.iml b/maven_archetype_spring_boot.iml new file mode 100644 index 0000000..9133397 --- /dev/null +++ b/maven_archetype_spring_boot.iml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..0dc3f91 --- /dev/null +++ b/pom.xml @@ -0,0 +1,55 @@ + + + 4.0.0 + + + com.loafle + maven_parent_jar + 1.0.0-RELEASE + + + + com.loafle + maven_archetype_spring_boot + 1.5.9-RELEASE + maven-archetype + + + UTF-8 + 3.0.1 + 3.0.1 + 3.0.2 + + + + + + org.apache.maven.archetype + archetype-packaging + ${maven.archetype-packaging.version} + + + + + + + org.apache.maven.plugins + maven-archetype-plugin + ${maven.maven-archetype-plugin.version} + true + + + org.apache.maven.plugins + maven-resources-plugin + ${maven.maven-resources-plugin.version} + + true + + + + + + + \ No newline at end of file diff --git a/src/main/resources/META-INF/maven/archetype-metadata.xml b/src/main/resources/META-INF/maven/archetype-metadata.xml new file mode 100644 index 0000000..5eaefa0 --- /dev/null +++ b/src/main/resources/META-INF/maven/archetype-metadata.xml @@ -0,0 +1,32 @@ + + + + + + + .gitignore + + + + src/main/java + + **/*.java + + + + src/main/resources + + + src/test/java + + **/*.java + + + + src/test/resources + + + diff --git a/src/main/resources/archetype-resources/.gitignore b/src/main/resources/archetype-resources/.gitignore new file mode 100644 index 0000000..4c59dc4 --- /dev/null +++ b/src/main/resources/archetype-resources/.gitignore @@ -0,0 +1,59 @@ +# Mac +._* +.DS_Store +.Spotlight-V100 +.Trashes + +# Windows +Thumbs.db +Desktop.ini + +# Eclipse +.buildpath +.classpath +*.launch +.loadpath +.metadata +.project +*.pydevproject +.settings/ +.springBeans + +# Intellij +.idea/ +*.iml +*.iws +*.ipr +*.ids +*.orig + +# Node +/**/node/ +/**/node_modules/ + +# SASS +/**/.sass-cache/ + +# Bower +/**/vendor/ + +# Maven +log/ +target/ + +# Package Files +*.jar +*.war +*.ear + +# Java +*.class + +# Directories +/build/ +/bin/ +/out/ +/deploy/ + +# Logs +*.log \ No newline at end of file diff --git a/src/main/resources/archetype-resources/pom.xml b/src/main/resources/archetype-resources/pom.xml new file mode 100644 index 0000000..409fea5 --- /dev/null +++ b/src/main/resources/archetype-resources/pom.xml @@ -0,0 +1,36 @@ +#set( $symbol_pound = '#' ) +#set( $symbol_dollar = '$' ) +#set( $symbol_escape = '\' ) + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 1.5.9.RELEASE + + + + ${groupId} + ${artifactId} + ${version} + jar + + ${groupId}.${artifactId} + ${artifactId} project for Spring Boot + + + 3.0.0 + + + + 1.8 + UTF-8 + UTF-8 + ${java.version} + ${java.version} + + + \ No newline at end of file diff --git a/src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/__artifactId__/Application.java b/src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/__artifactId__/Application.java new file mode 100644 index 0000000..26ee376 --- /dev/null +++ b/src/main/resources/archetype-resources/src/main/java/__packageInPathFormat__/__artifactId__/Application.java @@ -0,0 +1,13 @@ +package ${package}.${artifactId}; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class Application { + + public static void main(String[] args) { + SpringApplication.run(Application.class, args); + } + +} diff --git a/src/main/resources/archetype-resources/src/main/resources/application.properties b/src/main/resources/archetype-resources/src/main/resources/application.properties new file mode 100644 index 0000000..e69de29 diff --git a/src/main/resources/archetype-resources/src/test/java/__packageInPathFormat__/__artifactId__/ApplicationTests.java b/src/main/resources/archetype-resources/src/test/java/__packageInPathFormat__/__artifactId__/ApplicationTests.java new file mode 100644 index 0000000..af99444 --- /dev/null +++ b/src/main/resources/archetype-resources/src/test/java/__packageInPathFormat__/__artifactId__/ApplicationTests.java @@ -0,0 +1,24 @@ +package ${package}.${artifactId}; + +import org.junit.Before; +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.boot.test.SpringApplicationConfiguration; +import org.springframework.context.ApplicationContext; +import org.springframework.test.context.junit4.SpringJUnit4ClassRunner; +import org.springframework.web.context.WebApplicationContext; + +@RunWith(SpringJUnit4ClassRunner.class) +@SpringApplicationConfiguration(classes = Application.class) +public class ApplicationTests { + + @Autowired + private ApplicationContext applicationContext; + + @Test + public void testStart() throws Exception { + + } + +} \ No newline at end of file diff --git a/src/main/resources/archetype-resources/src/test/resources/_ b/src/main/resources/archetype-resources/src/test/resources/_ new file mode 100644 index 0000000..e69de29