protected boolean skipMojo()
    {
        if (skip)
        {
            getLog().info("Skipping protostuff mojo execution");
            return true;
        }

        if (!forceMojoExecution && "pom".equals(this.project.getPackaging()))
        {
            getLog().info("Skipping protostuff mojo execution for project with packaging type 'pom'");
            return true;
        }

        return false;
    }
<p>
Determine if the mojo execution should get skipped.
</p>
This is the case if:
<ul>
<li>{@link #skip} is <code>true</code></li>
<li>if the mojo gets executed on a project with packaging type 'pom' and {@link #forceMojoExecution} is
<code>false</code></li>
</ul>

@return <code>true</code> if the mojo execution should be skipped.
@since 1.0.1
protostuff-maven-plugin/src/main/java/io/protostuff/mojo/ProtoCompilerMojo.java