code: public MavenProject resolveFromReactor( Artifact artifact, MavenProject mp, List<MavenProject> reactorProjects )
              throws MojoExecutionException
      {
          MavenProject result = null;
  
          String artifactId = artifact.getArtifactId();
          String groupId = artifact.getGroupId();
  
          if ( CollectionUtils.isNotEmpty( reactorProjects ) )
          {
              for ( MavenProject reactorProject : reactorProjects )
              {
                  if ( reactorProject.getArtifactId().equals( artifactId ) &&
                          reactorProject.getGroupId().equals( groupId ) )
                  {
                      result = reactorProject;
                      break;
                  }
              }
          }
  
          return result;
      }
docs: {@inheritDoc}