appassembler 构建打包

配置pom


        
            
                org.codehaus.mojo
                appassembler-maven-plugin
                1.10
                
                    
                    ${project.build.directory}/analyzepotservice
                    
                    lib
                    
                    bin
                    
                    conf
                    
                    true
                    
                    src/main/resources
                    
                    flat
                    UTF-8
                    logs
                    tmp
                    
                        
                            analyzeservice
                            
                            com.cloud.AnalyzeApplication
                            
                                jsw
                            
                            
                                
                                    jsw
                                    
                                        linux-x86-32
                                        linux-x86-64
                                        windows-x86-32
                                        windows-x86-64
                                    
                                    
                                        
                                            configuration.directory.in.classpath.first
                                            conf
                                        
                                        
                                            wrapper.ping.timeout
                                            120
                                        
                                        
                                            set.default.REPO_DIR
                                            lib
                                        
                                        
                                            wrapper.logfile
                                            logs/wrapper.log
                                        
                                    
                                
                            
                      
                            
                                1024
                                2048
                                128
                            
                        
                    
                
            
        
    

构建命令

mvn clean package appassembler:generate-daemons

最终结构

生成产物目录.png

你可能感兴趣的:(appassembler 构建打包)