mvn打包带依赖

 

 

依赖打包到里面

 


		

			
				maven-assembly-plugin
				
					
						
							true
							
							cn.qzqd.idx.accident.StreamIdxAccident
						
					

					
						jar-with-dependencies
					
				
				
					
						make-my-jar-with-dependencies
						package
						
							single
						
					
				
			


			

				org.apache.maven.plugins
				maven-compiler-plugin
				
					1.8
					1.8
					
				
			

		
	

 

 

lib打包到外面


	
		
			
				org.apache.maven.plugins
				maven-jar-plugin
				
					
						
							true
							lib/
							cn.qzqd.idx.accident.StreamIdxAccident
						
					
				
			
			
				org.apache.maven.plugins
				maven-dependency-plugin
				
					
						copy-dependencies
						prepare-package
						
							copy-dependencies
						
						
							
							${project.build.directory}/lib
							false
							false
							true
						
					
				
			
		
	

 

你可能感兴趣的:(mvn)