If you just take the pom, remove the complete <parent> section, make sure that 
the neo4j.version is set to 1.4 you should be able to build it without problems 
standalone.

Thanks

Michael

Am 13.07.2011 um 14:31 schrieb Zhiguo Zhang:

> hi,
> 
> after successful install and running the gremlin-plugin, i continue try to
> install the cypher-plugin.
> 
> This time i changed first the artifactId to parent-central
> 
> then also follow the [INFO] Failed to resolve artifact. Missing:.....
> 
> install the missing packages.  Then try to compiler again with command line:
> 
> mvn -Dmaven.test.skip=true -e clean package
> 
> then got the following information: (Please help me, thank you!)
> 
> 
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building neo4j-cypher-plugin
> [INFO]    task-segment: [clean, package]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] [clean:clean {execution: default-clean}]
> [INFO] Deleting /home/root/cypher-plugin/target
> [INFO] [enforcer:enforce {execution: enforce-maven}]
> [INFO] [license:check {execution: check-licenses}]
> [INFO] Checking licenses...
> [INFO] [resources:resources {execution: default-resources}]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] skip non existing resourceDirectory
> /home/root/cypher-plugin/src/main/webapp
> [INFO] skip non existing resourceDirectory /home/root/cypher-plugin/data
> [INFO] [compiler:compile {execution: default-compile}]
> [INFO] Compiling 2 source files to /home/root/cypher-plugin/target/classes
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[30,48]
> cannot find symbol
> symbol: class ObjectRepresentation
> public class CypherResultRepresentation extends ObjectRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[41,5]
> cannot find symbol
> symbol  : class Mapping
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[48,5]
> cannot find symbol
> symbol  : class Mapping
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[30,48]
> cannot find symbol
> symbol: class ObjectRepresentation
> public class CypherResultRepresentation extends ObjectRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[41,5]
> cannot find symbol
> symbol  : class Mapping
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[48,5]
> cannot find symbol
> symbol  : class Mapping
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/plugin/cypher/CypherPlugin.java:[68,19]
> incompatible types
> found   : org.neo4j.server.rest.repr.CypherResultRepresentation
> required: org.neo4j.server.rest.repr.Representation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[78,23]
> cannot find symbol
> symbol  : class NodeRepresentation
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> /home/root/cypher-plugin/src/main/java/org/neo4j/server/rest/repr/CypherResultRepresentation.java:[82,23]
> cannot find symbol
> symbol  : class RelationshipRepresentation
> location: class org.neo4j.server.rest.repr.CypherResultRepresentation
> 
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:715)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>        at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>        at java.lang.reflect.Method.invoke(Method.java:616)
>        at
> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>        at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
>        at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
>        at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
>        at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>        at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>        ... 17 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 seconds
> [INFO] Finished at: Wed Jul 13 14:21:31 CEST 2011
> [INFO] Final Memory: 38M/68M
> [INFO]
> ------------------------------------------------------------------------
> _______________________________________________
> 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