From 8a1a99359f196704147c36468af8a5134714c1e4 Mon Sep 17 00:00:00 2001 From: ym981102 <74576474+ym981102@users.noreply.github.com> Date: Mon, 18 Jan 2021 17:05:59 +0800 Subject: [PATCH] Add files via upload --- .gitignore | 28 ++++---- .travis.yml | 33 +++++++++ HELP.md | 14 ++-- LICENSE | 42 ++++++------ README.md | 16 ++--- imperator-content.iml | 22 +++--- pom.xml | 152 +++++++++++++++++++++--------------------- 7 files changed, 170 insertions(+), 137 deletions(-) create mode 100644 .travis.yml diff --git a/.gitignore b/.gitignore index fe57bc2..24e2e48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,14 @@ -# Created by .ignore support plugin (hsz.mobi) -### Maven template -target/ -pom.xml.tag -pom.xml.releaseBackup -pom.xml.versionsBackup -pom.xml.next -release.properties -dependency-reduced-pom.xml -buildNumber.properties -.mvn/timing.properties -.mvn/wrapper/maven-wrapper.jar - -.idea/ +# Created by .ignore support plugin (hsz.mobi) +### Maven template +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar + +.idea/ diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..fceb542 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +language: java + +jdk: + - openjdk8 + +cache: + directories: + - '$HOME/.m2/repository' + +before_install: + +script: + + - mvn clean package -DskipTests=true + - mvn cobertura:cobertura + +after_success: + - bash <(curl -s https://codecov.io/bash) + - cd ./target + - git init + - git config user.name "Starrier" + - git config user.email "starrier@starrier.com" + - git add . + - git commit -m "travis-ci" + - git push --force --quiet "https://${GITHUB_TOKEN}@${GH_REF}" master:master + +branches: + only: + - master + +env: + global: + - GH_REF=https://github.com/Starrier/Imperator-content.git \ No newline at end of file diff --git a/HELP.md b/HELP.md index 322216b..69a88d2 100644 --- a/HELP.md +++ b/HELP.md @@ -1,7 +1,7 @@ -# Getting Started - -### Reference Documentation -For further reference, please consider the following sections: - -* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) - +# Getting Started + +### Reference Documentation +For further reference, please consider the following sections: + +* [Official Apache Maven documentation](https://maven.apache.org/guides/index.html) + diff --git a/LICENSE b/LICENSE index 0fd4532..e8b9a5f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,21 +1,21 @@ -MIT License - -Copyright (c) 2018 Starrier - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. +MIT License + +Copyright (c) 2018 Starrier + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 5b85e33..3103dc5 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ -# Imperator Content - -## 环境要求 - -- Redis -- Consul -- MySQL - +# Imperator Content + +## 环境要求 + +- Redis +- Consul +- MySQL + diff --git a/imperator-content.iml b/imperator-content.iml index f409c0e..36ec37c 100644 --- a/imperator-content.iml +++ b/imperator-content.iml @@ -1,12 +1,12 @@ - - - - - - - - - - - + + + + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 30047af..a18699b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,76 +1,76 @@ - - - 4.0.0 - - - org.springframework.boot - spring-boot-starter-parent - 2.3.5.RELEASE - - - org.starrier - imperator-content - 0.0.1-SNAPSHOT - - imperator-content - Imperator content - pom - - - 1.8 - Hoxton.SR4 - - - - imperator-contents - imperator-content-entity - - - - - - org.projectlombok - lombok - 1.18.6 - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - com.alibaba - transmittable-thread-local - 2.11.5 - - - - com.google.guava - guava - 30.0-jre - - - org.springframework.cloud - spring-cloud-consul-dependencies - 2.1.1.RELEASE - pom - import - - - - - - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.5.0.1254 - - - - - + + + 4.0.0 + + + org.springframework.boot + spring-boot-starter-parent + 2.3.5.RELEASE + + + org.starrier + imperator-content + 0.0.1-SNAPSHOT + + imperator-content + Imperator content + pom + + + 1.8 + Hoxton.SR4 + + + + imperator-contents + imperator-content-entity + + + + + + org.projectlombok + lombok + 1.18.6 + + + org.springframework.cloud + spring-cloud-dependencies + ${spring-cloud.version} + pom + import + + + com.alibaba + transmittable-thread-local + 2.11.5 + + + + com.google.guava + guava + 30.0-jre + + + org.springframework.cloud + spring-cloud-consul-dependencies + 2.1.1.RELEASE + pom + import + + + + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.5.0.1254 + + + + +