diff --git a/.drone.yml b/.drone.yml index 42a26b3..659829c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,10 +8,13 @@ steps: - name: test image: maven:3.6.3-openjdk-8 commands: - - pwd - - ls + - java -version + - mvn -v - mvn test - # - mvnw clean package + - name: build + image: maven:3.6.3-openjdk-8 + commands: + - mvnw clean package # - name: publish # image: plugins/docker:19.03.8 diff --git a/pom.xml b/pom.xml index 13f23f2..4f38d7b 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,13 @@ - + 4.0.0 org.springframework.boot spring-boot-starter-parent 2.4.3 - + + com.example rest-service @@ -37,5 +38,33 @@ - + + + aliyun + aliyun + http://maven.aliyun.com/nexus/content/groups/public/ + default + + true + never + + + true + never + + + + + + aliyun + aliyun + http://maven.aliyun.com/nexus/content/groups/public/ + + true + + + false + + +