Maven/AJDT project in Eclipse

后端 未结 6 1756
北荒
北荒 2020-12-24 03:05

I need to use aspectj in a maven project. I installed the maven plugin for eclipse (m2e), the maven aspectj plugin, and also AJDT for Eclipse. So now, when i open a new proj

6条回答
  •  长情又很酷
    2020-12-24 03:45

    You should add the maven-aspectj-plugin to your build plugins section in your pom.xml as in:

      
        org.codehaus.mojo
        aspectj-maven-plugin
        
          
            
              
              compile
            
          
        
        
          1.6
        
      
    

提交回复
热议问题