Spring Maven clean error – The requested profile “pom.xml” could not be activated because it does not exist
The warning message [WARNING] The requested profile “pom.xml” could not be activated because it does not exist. means that you somehow passed -P pom.xml to Maven which means “there is a profile called pom.xml; find it and activate it”. Check your environment and your settings.xml for this flag and also look at all <profile> elements inside the various XML files. Usually, mvn help:effective-pom is … Read more