Daniel,
Could you send over the full console output of a

mvn clean install -DskipTests

?
On Nov 17, 2011 12:55 PM, "danielb" <danielbercht...@gmail.com> wrote:

> Hi I have some problems with the new build of Neo4j Spatial. First if I
> checkout and try to build the following error occurs "[ERROR]
>
> spatial\src\main\java\org\neo4j\gis\spatial\indexprovider\SpatialIndexProvider.java:[38,0]
> error: Internal error: java.io.FileNotFoundException:
> META-INF/services/org.neo4j.kernel.KernelExtension". This is the current
> state after checkout.
>
> In the next step I have done the checkout in Netbeans and added the missing
> META-INF entry. Also there is currently only a "TestKernelExtension" class
> and not "KernelExtension". After that I could build the project and tried
> to
> run the OSMImporter.main inside Netbeans. I can't pass Parameters from
> project->properties->run->arguments, I guess it has something to do with
> the
> Maven project (I am a .NET / VS developer, I do it by trial and error atm).
>
> Finally I tried to load the project by console with parameter passing: "mvn
> exec:java -Dexec.mainClass="org.neo4j.gis.spatial.osm.OSMImporter.main"
> -Dexec.classpathScope=runtime -Dexec.args=""C:/Program
> Files/neo4j-community-1.5/data/graph.db"
> "C:/Users/UserName/Dropbox/WBIS/osm/berlin.osm"".  I had to copy the
> pom.xml
> (in netbeans project folder) to C:/users/username first to prevent an error
> from loading this file. After this I am stuck here:
>
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.neo4j:neo4j-spatial:jar:0.7-SNAPSHOT
> [WARNING] 'reporting.plugins.plugin.version' for
> org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 532,
> column 15
> [WARNING]
> [WARNING] It is highly recommended to fix these problems because they
> threaten the stability of your build.
> [WARNING]
> [WARNING] For this reason, future Maven versions might no longer support
> building such malformed projects.
> [WARNING]
> [WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is
> missing,
> no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin
> cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its
>  dependencies could not be resolved: Failed to read artifact descriptor for
> cuke4duke:cuke4duke-maven-plugin:jar:0.4.4
> [WARNING] The POM for cuke4duke:cuke4duke-maven-plugin:jar:0.4.4 is
> missing,
> no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> cuke4duke:cuke4duke-maven-plugin:0.4.4: Plugin
> cuke4duke:cuke4duke-maven-plugin:0.4.4 or one of its
>  dependencies could not be resolved: Failed to read artifact descriptor for
> cuke4duke:cuke4duke-maven-plugin:jar:0.4.4
> [WARNING] The POM for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0 is
> missing, no dependency information available
> [WARNING] Failed to retrieve plugin descriptor for
> org.eclipse.m2e:lifecycle-mapping:1.0.0: Plugin
> org.eclipse.m2e:lifecycle-mapping:1.0.0 or one of i
> ts dependencies could not be resolved: Failed to read artifact descriptor
> for org.eclipse.m2e:lifecycle-mapping:jar:1.0.0
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
> Downloading:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
> Downloaded:
> http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (19 KB
> at
> 18.5 KB/sec)
> Downloaded:
> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
> (11 KB at 8.0 KB/sec)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2.417s
> [INFO] Finished at: Thu Nov 17 12:44:42 CET 2011
> [INFO] Final Memory: 13M/309M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] No plugin found for prefix 'Files/neo4j-community-1.5/data/graph.db
> C' in the current project and in the plugin groups
> [org.apache.maven.plugins, org.codehaus.mojo] available from the
> repositories [local (C:\Users\UserName\.m2\repository), central
> (http://repo1.maven.org/maven2)] -> [
> Help 1]
>
> I would appreciate every help. Can I get it to work in Netbeans with
> parameter passing?
>
> --
> View this message in context:
> http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-Spatial-build-run-problems-tp3515519p3515519.html
> Sent from the Neo4j Community Discussions mailing list archive at
> Nabble.com.
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to