|
@@ -36,6 +36,8 @@
|
|
|
<swagger.version>2.7.0</swagger.version>
|
|
<swagger.version>2.7.0</swagger.version>
|
|
|
<feign.form.version>3.0.3</feign.form.version>
|
|
<feign.form.version>3.0.3</feign.form.version>
|
|
|
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
|
<commons.fileupload.version>1.3.3</commons.fileupload.version>
|
|
|
|
|
+ <docker.repository>192.168.0.181:5000</docker.repository>
|
|
|
|
|
+ <docker.registry.name>saas</docker.registry.name>
|
|
|
</properties>
|
|
</properties>
|
|
|
|
|
|
|
|
<repositories>
|
|
<repositories>
|
|
@@ -197,6 +199,16 @@
|
|
|
<artifactId>file-api</artifactId>
|
|
<artifactId>file-api</artifactId>
|
|
|
<version>${project.version}</version>
|
|
<version>${project.version}</version>
|
|
|
</dependency>
|
|
</dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.usoftchina.saas</groupId>
|
|
|
|
|
+ <artifactId>mail-dto</artifactId>
|
|
|
|
|
+ <version>${project.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
|
|
+ <dependency>
|
|
|
|
|
+ <groupId>com.usoftchina.saas</groupId>
|
|
|
|
|
+ <artifactId>mail-api</artifactId>
|
|
|
|
|
+ <version>${project.version}</version>
|
|
|
|
|
+ </dependency>
|
|
|
<dependency>
|
|
<dependency>
|
|
|
<groupId>com.usoftchina.saas</groupId>
|
|
<groupId>com.usoftchina.saas</groupId>
|
|
|
<artifactId>account-dto</artifactId>
|
|
<artifactId>account-dto</artifactId>
|
|
@@ -276,6 +288,32 @@
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
</plugin>
|
|
</plugin>
|
|
|
|
|
+ <!-- Docker maven plugin -->
|
|
|
|
|
+ <plugin>
|
|
|
|
|
+ <groupId>com.spotify</groupId>
|
|
|
|
|
+ <artifactId>docker-maven-plugin</artifactId>
|
|
|
|
|
+ <version>1.0.0</version>
|
|
|
|
|
+ <configuration>
|
|
|
|
|
+ <dockerDirectory>src/main/docker</dockerDirectory>
|
|
|
|
|
+ <registryUrl>${docker.repository}</registryUrl>
|
|
|
|
|
+ <pushImage>true</pushImage>
|
|
|
|
|
+ <dockerDirectory>target/docker</dockerDirectory>
|
|
|
|
|
+ <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>
|
|
|
|
|
+ </plugin>
|
|
|
|
|
+ <!-- Docker maven plugin -->
|
|
|
</plugins>
|
|
</plugins>
|
|
|
</pluginManagement>
|
|
</pluginManagement>
|
|
|
</build>
|
|
</build>
|