Maven profiles are not considered in Eclipse

后端 未结 3 1102
遥遥无期
遥遥无期 2021-01-17 14:57

I have three profiles defined in my pom.xml:

   
    
        ABC
        
                     


        
3条回答
  •  孤独总比滥情好
    2021-01-17 15:18

    Go to

    Properties-->Maven-->Active Maven Profiles

    and type in only the profile name that you want to run.

    If you want to run your ABC profile type in ABC in the Active Maven Profile input box.

    The description(seperated by commas) given there is a bit confusing.

    Once you define your profile name or id in the input box. You can clean and run your project on your server. By doing so your mentioned active maven profile will be run.

提交回复
热议问题