o The space separator character must come before classpathPrefix.

git-svn-id: https://svn.apache.org/repos/asf/maven/shared/trunk@607917 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/maven/archiver/MavenArchiver.java b/src/main/java/org/apache/maven/archiver/MavenArchiver.java
index 90d94fa..befd8bf 100644
--- a/src/main/java/org/apache/maven/archiver/MavenArchiver.java
+++ b/src/main/java/org/apache/maven/archiver/MavenArchiver.java
@@ -145,11 +145,11 @@
                 File f = new File( (String) iter.next() );
                 if ( f.isFile() )
                 {
-                    classpath.append( classpathPrefix );
                     if ( classpath.length() > 0 )
                     {
                         classpath.append( " " );
                     }
+                    classpath.append( classpathPrefix );
                     if ( !config.isClasspathMavenRepositoryLayout() )
                     {
                         classpath.append( f.getName() );
@@ -157,7 +157,7 @@
                     else
                     {
                         // we use layout /$groupId[0]/../${groupId[n]/$artifactId/$version/{fileName}
-                        // here we must find the Artifact in the projet Artifacts to generate the maven layout
+                        // here we must find the Artifact in the project Artifacts to generate the maven layout
                         Artifact artifact = findArtifactWithFile( project.getArtifacts(), f );
                         StringBuffer classpathElement = new StringBuffer();
                         if ( !StringUtils.isEmpty( artifact.getGroupId() ) )