handlebars-maven-plugin/src/main/java/com/github/jknack/handlebars/maven/HandlebarsPlugin.java
protected URL[] projectClasspath() throws Exception {
    @SuppressWarnings("unchecked")
    List<String> classpathElements = project.getRuntimeClasspathElements();
    final URL[] classpath = new URL[classpathElements.size()];
    for (int i = 0; i < classpath.length; i++) {
      classpath[i] = new File(classpathElements.get(i)).toURI().toURL();
    }
    return classpath;
  }
/**
   * Retrieve the project classpath.
   *
   * @return The project classpath.
   * @throws Exception If the classpath can't be resolved.
   */
Retrieve the project classpath.
@return The project classpath.
@throws Exception If the classpath can't be resolved.
Retrieve the project classpath . @return The project classpath . @throws Exception If the classpath can ' t be resolved .
protected URL[] projectClasspath() throws Exception {
    @SuppressWarnings("unchecked")
    List<String> classpathElements = project.getRuntimeClasspathElements();
    final URL[] classpath = new URL[classpathElements.size()];
    for (int i = 0; i < classpath.length; i++) {
      classpath[i] = new File(classpathElements.get(i)).toURI().toURL();
    }
    return classpath;
  }
protected URL [ ] projectClasspath ( ) throws Exception { @ SuppressWarnings ( "unchecked" ) List < String > classpathElements = project . getRuntimeClasspathElements ( ) ; final URL [ ] classpath = new URL [ classpathElements . size ( ) ] ; for ( int i = 0 ; i < classpath . length ; i ++ ) { classpath [ i ] = new File ( classpathElements . get ( i ) ) . toURI ( ) . toURL ( ) ; } return classpath ; }
Retrieve the project classpath.
Retrieve the project classpath .