src/main/java/org/codehaus/mojo/exec/ExecutableDependency.java
public boolean matches( Artifact artifact )
    {
        return artifact.getGroupId().equals( this.getGroupId() )
            && artifact.getArtifactId().equals( this.getArtifactId() );
    }
public boolean matches( Artifact artifact )
    {
        return artifact.getGroupId().equals( this.getGroupId() )
            && artifact.getArtifactId().equals( this.getArtifactId() );
    }
<p>
Matches the groupId and artifactId.
</p>

@param artifact a {@link org.apache.maven.artifact.Artifact} object.
@return <code>true</code> if both math, <code>false</code> otherwise.