guq 6 years ago
parent
commit
2e23c877df
1 changed files with 0 additions and 48 deletions
  1. 0 48
      pom.xml

+ 0 - 48
pom.xml

@@ -538,54 +538,6 @@
                 </pluginManagement>
             </build>
         </profile>
-        <profile>
-            <!-- mvn deploy -P docker-prod -->
-            <id>docker-test-cloud</id>
-            <properties>
-                <docker.repository>10.10.100.200:5000</docker.repository>
-            </properties>
-            <build>
-                <pluginManagement>
-                    <plugins>
-                        <!-- Docker maven plugin -->
-                        <plugin>
-                            <groupId>com.spotify</groupId>
-                            <artifactId>docker-maven-plugin</artifactId>
-                            <version>1.0.0</version>
-                            <configuration>
-                                <dockerDirectory>${project.basedir}/src/main/docker</dockerDirectory>
-                                <registryUrl>${docker.repository}</registryUrl>
-                                <pushImage>true</pushImage>
-                                <forceTags>true</forceTags>
-                                <imageName>
-                                    ${docker.repository}/${docker.registry.name}/${project.artifactId}:${project.version}
-                                </imageName>
-                                <imageTags>
-                                    <imageTag>latest</imageTag>
-                                </imageTags>
-                                <resources>
-                                    <resource>
-                                        <targetPath>/</targetPath>
-                                        <directory>${project.build.directory}</directory>
-                                        <include>${project.build.finalName}.jar</include>
-                                    </resource>
-                                </resources>
-                            </configuration>
-                            <executions>
-                                <execution>
-                                    <id>build-image</id>
-                                    <phase>package</phase>
-                                    <goals>
-                                        <goal>build</goal>
-                                    </goals>
-                                </execution>
-                            </executions>
-                        </plugin>
-                        <!-- Docker maven plugin -->
-                    </plugins>
-                </pluginManagement>
-            </build>
-        </profile>
     </profiles>
 
 </project>