I am trying to run maven goal: validation and keep getting: [WARNING] The requested profile "pom.xml" could not be activated because it does not exist.
In my org.eclipse.m2e.core.prefs:
activeProfiles=pom.xml
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
What did I do wrong?
The project will now run.
Your activeProfiles
is set to pom.xml
. But your Maven profile should be defined inside your pom.xml
with an id
. You have to set this id as the active profile or remove this line to use the default profile of your maven project.
You just have to:
That solved my problem
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With