code: public boolean matches( Artifact artifact )
      {
          return artifact.getGroupId().equals( this.getGroupId() )
              && artifact.getArtifactId().equals( this.getArtifactId() );
      }
docs: <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.