How do I disable the maven-compiler-plugin?

前端 未结 4 2033
南笙
南笙 2021-01-03 20:53

I have a maven project that uses the aspectj-compiler-plugin. I use intertype declarations so there are references to Aspect code in my Java code. Because of this, the mav

4条回答
  •  甜味超标
    2021-01-03 21:00

    You can disable the a plugin by set the phase of the plugin to none.

    
        
            
                org.apache.maven.plugins
                maven-compiler-plugin
                
                    
                        default-compile
                        none
                    
                
            
        
    
    

提交回复
热议问题