How to eliminate the “maven-enforcer-plugin (goal ”enforce“) is ignored by m2e” warning by eclipse?

后端 未结 6 1937

I am configuring a multi-module parent child maven project using maven and eclipse m2e, I am using the latest stuff from eclipse Juno SR1 which is m2e 1.2.0

the par

6条回答
  •  抹茶落季
    2020-12-23 20:32

    For me it was similar issue

    I had maven 3.0.3 and java 1.5

    and my pom had

    
                        
                            enforce-versions
                            
                                enforce
                            
                            
                                
                                    
                                        [3.0.3,2.2.1,)
                                    
                                    
                                        [1.7, 1.8)
                                    
                                
                            
                        
                    
                
    

    As you can see I dont really have met rules, hence I updated Java and got mvn going and I was all set. Hope this helps someone.

提交回复
热议问题