|
|
@@ -52,10 +52,7 @@
|
|
|
<groupId>com.zd</groupId>
|
|
|
<artifactId>zd-common-swagger</artifactId>
|
|
|
</dependency>
|
|
|
- <!--<dependency>
|
|
|
- <groupId>arcsoft</groupId>
|
|
|
- <artifactId>arcsoft-sdk-face</artifactId>
|
|
|
- </dependency>-->
|
|
|
+
|
|
|
<dependency>
|
|
|
<groupId>arcsoft</groupId>
|
|
|
<artifactId>arcsoft-sdk-face</artifactId>
|
|
|
@@ -96,31 +93,48 @@
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
|
|
|
- <!-- docker的maven插件 -->
|
|
|
- <!-- <plugin>-->
|
|
|
-<!-- <groupId>com.spotify</groupId>-->
|
|
|
-<!-- <artifactId>dockerfile-maven-plugin</artifactId>-->
|
|
|
+<!-- docker的maven插件 -->
|
|
|
+<!-- <plugin>-->
|
|
|
+<!-- <groupId>io.fabric8</groupId>-->
|
|
|
+<!-- <artifactId>docker-maven-plugin</artifactId>-->
|
|
|
<!-- <version>${docker.maven.verion}</version>-->
|
|
|
-
|
|
|
<!-- <executions>-->
|
|
|
<!-- <!–执行 mvn package 时 自动构建docker镜像并推送到仓库 –>-->
|
|
|
<!-- <execution>-->
|
|
|
<!-- <id>default</id>-->
|
|
|
<!-- <phase>package</phase>-->
|
|
|
<!-- <goals>-->
|
|
|
+<!-- <goal>remove</goal>-->
|
|
|
<!-- <goal>build</goal>-->
|
|
|
<!-- <goal>push</goal>-->
|
|
|
<!-- </goals>-->
|
|
|
<!-- </execution>-->
|
|
|
<!-- </executions>-->
|
|
|
<!-- <configuration>-->
|
|
|
-<!-- <repository>${docker.registry}/${docker.namespace}/${project.artifactId}</repository>-->
|
|
|
-<!-- <tag>latest</tag>-->
|
|
|
-<!-- <!– 镜像服务器账号密码 –>-->
|
|
|
-<!-- <username>admin</username>-->
|
|
|
-<!-- <password>zd123456..</password>-->
|
|
|
-<!-- <!– 构建参数,指定jar包名称 –>-->
|
|
|
+<!-- <!– docker主机 –>-->
|
|
|
+<!-- <dockerHost>tcp://192.168.1.88:2375</dockerHost>-->
|
|
|
+<!-- <dockerfile>${project.basedir}/Dockerfile</dockerfile>-->
|
|
|
+<!-- <authConfig>-->
|
|
|
+<!-- <!– registry服务的认证–>-->
|
|
|
+<!-- <username>${docker.registry.username}</username>-->
|
|
|
+<!-- <password>${docker.registry.password}</password>-->
|
|
|
+<!-- </authConfig>-->
|
|
|
+<!-- <images>-->
|
|
|
+<!-- <image>-->
|
|
|
+<!-- <!– [命名空间] / [镜像名称:版本号] –>-->
|
|
|
+<!-- <name>${docker.registry}/${docker.namespace}/${project.artifactId}</name>-->
|
|
|
+<!-- <!– 仓库地址 –>-->
|
|
|
+<!-- <registry>${docker.registry}</registry>-->
|
|
|
+<!-- <build>-->
|
|
|
+<!-- <dockerFile>${project.basedir}/Dockerfile</dockerFile>-->
|
|
|
+<!-- <tags>-->
|
|
|
+<!-- <tag>${project.version}</tag>-->
|
|
|
+<!-- </tags>-->
|
|
|
+<!-- </build>-->
|
|
|
+<!-- </image>-->
|
|
|
+<!-- </images>-->
|
|
|
<!-- <buildArgs>-->
|
|
|
+<!-- <!– dockerfile参数,指定jar路径 –>-->
|
|
|
<!-- <JAR_FILE>${project.artifactId}.jar</JAR_FILE>-->
|
|
|
<!-- </buildArgs>-->
|
|
|
<!-- </configuration>-->
|