Is there a way to hide Maven 2 “target/” folder in Eclipse 3?

前端 未结 12 980
[愿得一人]
[愿得一人] 2021-01-30 04:58

I\'m using maven 2.0.9 with Eclipse 3.3.2.

I\'m used to launching a fresh build once per day by a mvn clean install. Then, if I refresh my Eclipse project,

12条回答
  •  花落未央
    2021-01-30 05:57

    Reconfigure "clean" in Maven not to delete target directory:

    
        maven-clean-plugin
        
            true
            
                
                
                    target
                    
                        **/*
                    
                
            
        
    
    

    (found at: http://maven.40175.n5.nabble.com/how-to-NOT-delete-target-dir-td3389739.html#a3413930)

提交回复
热议问题