diff --git a/mavendockerplugindemo/pom_3_inner_server.xml b/mavendockerplugindemo/pom_3_inner_server.xml new file mode 100644 index 000000000..1a6278ff6 --- /dev/null +++ b/mavendockerplugindemo/pom_3_inner_server.xml @@ -0,0 +1,73 @@ + + + 4.0.0 + + com.bolingcavalry + mavendockerplugindemo + 0.0.1-SNAPSHOT + jar + + mavendockerplugindemo + maven docker plugin demo + + + org.springframework.boot + spring-boot-starter-parent + 1.5.9.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + org.springframework.boot + spring-boot-starter-web + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + com.spotify + docker-maven-plugin + 0.4.12 + + + + 192.168.119.148:5000/${project.artifactId}:${project.version} + + + ${project.version} + + + java:8u111-jdk + + ["java", "-jar", "/${project.build.finalName}.jar"] + + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + 192.168.119.148:5000 + true + + + + + + diff --git a/mavendockerplugindemo/pom_4_ali_server.xml b/mavendockerplugindemo/pom_4_ali_server.xml new file mode 100644 index 000000000..89916ff28 --- /dev/null +++ b/mavendockerplugindemo/pom_4_ali_server.xml @@ -0,0 +1,77 @@ + + + 4.0.0 + + com.bolingcavalry + mavendockerplugindemo + 0.0.1-SNAPSHOT + jar + + mavendockerplugindemo + maven docker plugin demo + + + org.springframework.boot + spring-boot-starter-parent + 1.5.9.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + registry.cn-shenzhen.aliyuncs.com + bolingcavalry + + + + + org.springframework.boot + spring-boot-starter-web + + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + com.spotify + docker-maven-plugin + 0.4.12 + + + + ${docker.repostory}/${docker.registry.name}/${project.artifactId}:${project.version} + + + ${project.version} + + + java:8u111-jdk + + ["java", "-jar", "/${project.build.finalName}.jar"] + + + + / + ${project.build.directory} + ${project.build.finalName}.jar + + + docker-aliyun + ${docker.repostory} + true + + + + + + +