Kaynağa Gözat

增加配置文件设置

develop
林万龙 3 yıl önce
ebeveyn
işleme
d4f7faa112
1 değiştirilmiş dosya ile 4 ekleme ve 39 silme
  1. +4
    -39
      pom.xml

+ 4
- 39
pom.xml Dosyayı Görüntüle

@@ -153,57 +153,22 @@
</dependencies>

<build>
<finalName>${project.artifactId}</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
<!--mybatis自动生成代码插件-->
<plugin>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-maven-plugin</artifactId>
<version>1.3.7</version>
<configuration>
<!-- 是否覆盖,true表示会替换生成的JAVA文件,false则不覆盖 -->
<overwrite>false</overwrite>
<!--fork : 使用 devtools生效-->
<fork>true</fork>
</configuration>
<dependencies>
<!--mysql驱动包-->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.18</version>
</dependency>
<dependency>
<groupId>org.mybatis.generator</groupId>
<artifactId>mybatis-generator-core</artifactId>
<version>1.3.7</version>
</dependency>
</dependencies>

</plugin>
<!-- Dockerfile -->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>dockerfile-maven-plugin</artifactId>
<version>1.4.10</version>
<executions>
<execution>
<id>default</id>
<goals>
<goal>build</goal>
<goal>push</goal>
<goal>repackage</goal><!--可以把依赖的包都打包到生成的Jar包中-->
</goals>
</execution>
</executions>
<configuration>
<skip>false</skip>
<repository>${project.artifactId}</repository>
<!--tag>${project.version}</tag -->
<buildArgs>
<JAR_FILE>gd202101.jar</JAR_FILE>
</buildArgs>
</configuration>
</plugin>
</plugins>
</build>


Yükleniyor…
İptal
Kaydet