docs: @SuppressWarnings("unchecked")
      protected void addRelevantProjectDependencies(Set<Artifact> artifacts) throws Exception {
          getLog().debug("Project Dependencies will be included.");
  
          Set<Artifact> dependencies = project.getArtifacts();
          getLog().debug("There are " + dependencies.size() + " dependencies in the project");
  
          // system scope dependencies are not returned by maven 2.0. See MEXEC-17
          dependencies.addAll(getAllNonTestOrProvidedScopedDependencies());
  
          Iterator<Artifact> iter = dependencies.iterator();
          while (iter.hasNext()) {
              Artifact classPathElement = iter.next();
              getLog().debug("Adding project dependency artifact: " + classPathElement.getArtifactId() + " to classpath");
  
              artifacts.add(classPathElement);
          }
      }