<p>I found <a href="https://stackoverflow.com/questions/39940552/no-plugin-goals-bound-to-a-maven-phase">the exact same question</a> answered on Stack Overflow and, according to it, ...</p>
<ul>
<li>both of the above statements are correct</li>
<li>the <em>validate</em> and <em>verify</em> phases don't have goals bound to them <strong>by default</strong></li>
<li>the <em>validate</em> and <em>verify</em> phases will only execute if the POM binds a plugin's goal to them</li>
</ul>

CC BY-SA 4.0
2022-04-17T23:41:06.397Z
2022-04-17T23:41:06.397Z
Omar Shazly
<p>Maven's documentation states the following: <a href="https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference" rel="nofollow noreferrer">&quot;If a build phase has no goals bound to it, that build phase will not execute&quot;</a></p>
<p>However, according to the same documentation, <a href="https://maven.apache.org/ref/3.8.5/maven-core/default-bindings.html" rel="nofollow noreferrer">the <em>validate</em> and <em>verify</em> phases do not seem to have goals bound to them</a>.</p>
<p>What am I missing?</p>

<builds><maven>
How come Maven's validate and verify phases execute without goals bound to them?
Omar Shazly
# How come Maven's validate and verify phases execute without goals bound to them?

(Asked by: username_0 on 2022-04-14)

Maven's documentation states the following: ["If a build phase has no goals bound to it, that build phase will not execute"](https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html#Lifecycle_Reference)

However, according to the same documentation, [the *validate* and *verify* phases do not seem to have goals bound to them](https://maven.apache.org/ref/3.8.5/maven-core/default-bindings.html).

What am I missing?

**Tags:** builds, maven


---

## 1 answers

### Answer by username_0 on 2022-04-17. Score: 0

I found [the exact same question](https://stackoverflow.com/questions/39940552/no-plugin-goals-bound-to-a-maven-phase) answered on Stack Overflow and, according to it, ...

* both of the above statements are correct
* the *validate* and *verify* phases don't have goals bound to them **by default**
* the *validate* and *verify* phases will only execute if the POM binds a plugin's goal to them


---

