docker-maven-plugin插件打包配置

插件打包


        
            
                org.springframework.boot
                spring-boot-maven-plugin
            

            
            
                org.apache.maven.plugins
                maven-compiler-plugin
                3.8.0
                
                    11
                
            

            
                org.apache.maven.plugins
                maven-surefire-plugin
                
                    true
                
            


            
                com.spotify
                docker-maven-plugin
                1.0.0

                











                
                    
                    ${docker.image.prefix}/${project.artifactId}
                    
                    
                        latest
                    
                    
                    
                    ${project.basedir}

                    
                    http://192.168.1.7:2375

                    
                    
                        
                            /
                            
                            ${project.build.directory}
                            
                            ${project.artifactId}-${project.version}.jar
                        
                    

                    
                    
                

                
                    
                        javax.activation
                        activation
                        1.1.1
                    
                

            

        
    

你可能感兴趣的:(docker)