for ( Iterator it = compileClasspathList.iterator(); it.hasNext(); ) { cpBuffer.append( (String) it.next() );  if ( it.hasNext() ) { cpBuffer.append( File.pathSeparator ); } }
    public String createClasspath()        throws MojoExecutionException    {        StringBuffer cpBuffer = new StringBuffer();        for ( Iterator it = compileClasspathList.iterator(); it.hasNext(); )        {            cpBuffer.append( (String) it.next() );            if ( it.hasNext() )            {                cpBuffer.append( File.pathSeparator );            }        }        for ( Iterator it = pluginClasspathList.iterator(); it.hasNext(); )        {            Artifact artifact = (Artifact) it.next();            try            {                cpBuffer.append( File.pathSeparator ).append( artifact.getFile().getCanonicalPath() );            }            catch ( IOException e )            {                throw new MojoExecutionException( "Error while creating the canonical path for '" + artifact.getFile()                    + "'.", e );            }        }        return cpBuffer.toString();    }