maven项目打包成jar包的pom.xml的写法



    4.0.0

    BiliBiliDownload
    bilibili
    1.0-SNAPSHOT

    
        UTF-8
        1.8
        1.8
        1.8
    

    

    


    
        bilibliDownload
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                3.8.1
                
                    ${maven.compiler.source}
                    ${maven.compiler.target}
                
            
            
                org.apache.maven.plugins
                maven-assembly-plugin
                3.2.0
                
                    
                        jar-with-dependencies
                    
                    
                        
                            Startup
                        
                    

                
                
                    
                        make-assembly
                        package
                        
                            single
                        
                    
                
            
        
    

 

你可能感兴趣的:(Java,maven)