code: public void addResourcesWithActiveProjects( final MavenProject project, final Collection<File> items,
                                                  final String scope )
      {
          final List<Artifact> scopeArtifacts = getScopeArtifacts( project, scope );
  
          addResources( items, getResources( project, scope ) );
  
          for ( Artifact artifact : scopeArtifacts )
          {
              String projectReferenceId =
                  getProjectReferenceId( artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion() );
              MavenProject refProject = (MavenProject) project.getProjectReferences().get( projectReferenceId );
              if ( refProject != null )
              {
                  addResources( items, getResources( refProject, scope ) );
              }
          }
      }
docs: Add all sources and resources also with active (maven reactor active) referenced project sources and resources.
  
  @param project
  @param items
  @param scope