码迷,mamicode.com
首页 > 其他好文 > 详细

maven help:system

时间:2018-05-24 13:59:46      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:html   splay   detail   img   def   border   clu   com   docke   

lifecycle:http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

bindings:http://maven.apache.org/ref/3.5.0/maven-core/default-bindings.html

技术分享图片  技术分享图片

mvn docker:help –Ddetail | less

mvn docker:build –DskipDocker=false

技术分享图片

 

 

 

<skipDocker>true</skipDocker>
<docker.plugin.version>0.4.13</docker.plugin.version>
<docker.image.prefix>spring-boot-cloud</docker.image.prefix>
<plugin>
    <groupId>com.spotify</groupId>
    <artifactId>docker-maven-plugin</artifactId>
    <version>${docker.plugin.version}</version>
    <executions>
        <execution>
            <phase>package</phase>
            <goals>
                <goal>build</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <imageName>${docker.image.prefix}/${project.artifactId}</imageName>
        <dockerDirectory>${project.basedir}/</dockerDirectory>
        <skipDocker>${skipDocker}</skipDocker>
        <resources>
            <resource>
                <targetPath>/</targetPath>
                <directory>${project.build.directory}</directory>
                <include>${project.build.finalName}.jar</include>
            </resource>
        </resources>
    </configuration>
</plugin>

 

maven help:system

标签:html   splay   detail   img   def   border   clu   com   docke   

原文地址:https://www.cnblogs.com/xingqi/p/9082365.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!