Brendan, I saw something similar on Windows,I don't remember what was the cause, but could you run mvn clean install in order to make sure things are cleaned up properly?
Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer http://www.neo4j.org - Your high performance graph database. http://startupbootcamp.org/ - Öresund - Innovation happens HERE. http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party. On Thu, Feb 24, 2011 at 6:03 AM, Brendan Cheng <[email protected]> wrote: > Hi, > > I tried to build from the source code with Maven but failed with "The > source must not be a directory." > I did some search on internet found this is a unresolved bug. > > I wonder how do you overcome it? > > Cheers, > > Brendan > > --- maven-dependency-plugin:2.1:unpack-dependencies (get-sources) @ neo4j --- > Unpacking C:\neo4j\com\target\classes to > C:\neo4j\neo4j\target\sources > with includes null and excludes:null > org.codehaus.plexus.archiver.ArchiverException: The source must not be > a directory. > at > org.codehaus.plexus.archiver.AbstractUnArchiver.validate(AbstractUnArchiver.java:174) > at > org.codehaus.plexus.archiver.AbstractUnArchiver.extract(AbstractUnArchiver.java:107) > at > org.apache.maven.plugin.dependency.AbstractDependencyMojo.unpack(AbstractDependencyMojo.java:260) > at > org.apache.maven.plugin.dependency.UnpackDependenciesMojo.execute(UnpackDependenciesMojo.java:90) > at > org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) > at > org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) > at > org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) > at > org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:534) > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) > at > org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) > at > org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) > at > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) > ------------------------------------------------------------------------ > Reactor Summary: > > Neo4j - Graph Database Kernel ..................... SUCCESS [7.535s] > Neo4j - Graph Database Monitoring and Management tools SUCCESS [1.794s] > Neo4j - Communication Package ..................... SUCCESS [6.068s] > Neo4j - Usage Data Collection ..................... SUCCESS [1.092s] > Neo4j - Lucene Index .............................. SUCCESS [2.418s] > Neo4j - Graph Algorithms .......................... SUCCESS [1.872s] > Neo4j - High Availability ......................... SUCCESS [2.465s] > Neo4j ............................................. FAILURE [0.608s] > Neo4j Embedded Build .............................. SKIPPED > ------------------------------------------------------------------------ > BUILD FAILURE > ------------------------------------------------------------------------ > Total time: 24.632s > Finished at: Thu Feb 24 11:05:41 CST 2011 > Final Memory: 40M/247M > ------------------------------------------------------------------------ > [ERROR]Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:2.1:unpack-dependencies > (get-sources) on project neo4j: Error unpacking file: > C:\neo4j\com\target\classes to: C:\neo4j\neo4j\target\sources > [ERROR]org.codehaus.plexus.archiver.ArchiverException: The source must > not be a directory. > [ERROR]-> [Help 1] > [ERROR] > [ERROR]To see the full stack trace of the errors, re-run Maven with > the -e switch. > [ERROR]Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR]For more information about the errors and possible solutions, > please read the following articles: > [ERROR][Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR]After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :neo4j > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

