maven引入本地jar包

 1.项目下新建lib目录

maven引入本地jar包_第1张图片

2. pom引入以来

		
			com.oracle
			ojdbc6
			11.2.0.3
			system
			${basedir}/lib/ojdbc6-11.2.0.3.jar
		

3. 打war包


    org.apache.maven.plugins
    maven-dependency-plugin
    2.10
    
        
            copy-dependencies
            compile
            
                copy-dependencies
            
            
                ${project.build.directory}/${project.build.finalName}/WEB-INF/lib
                system
            
        
    

springboot


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

 

你可能感兴趣的:(java)