Hi, and called it like that:mvn package -P myflag >
Not sure but you have an extra space between -P and myflag try mvn package -Pmyflag If it is not working, first try without profile in order to be sure that the exclusion configuration is working. HTH, Rémy