Here's the result:

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model
for org.neo4j:neo4j-cypher:jar:1.4-SNAPSHOT
[WARNING] 'parent.relativePath' points at org.neo4j.build:community-build
instead of org.neo4j:parent-central, please verify your project structure
@line 3, column 11
[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]
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Neo4j - Cypher 1.4-SNAPSHOT
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ neo4j-cypher ---
[INFO] org.neo4j:neo4j-cypher:jar:1.4-SNAPSHOT
[INFO] +- org.scala-lang:scala-library:jar:2.9.0-1:compile
[INFO] +- org.neo4j:neo4j-kernel:jar:tests:1.4-SNAPSHOT:compile
[INFO] |  \-
org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
[INFO] +- org.neo4j:neo4j-lucene-index:jar:1.4-SNAPSHOT:compile
[INFO] |  \- org.apache.lucene:lucene-core:jar:3.1.0:compile
[INFO] +- org.neo4j:neo4j-kernel:jar:1.4-SNAPSHOT:compile
[INFO] +- org.neo4j:neo4j-graph-matching:jar:1.4-SNAPSHOT:compile
[INFO] \- junit:junit:jar:4.8.2:test
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 2.765s
[INFO] Finished at: Mon Jun 13 11:55:17 CST 2011
[INFO] Final Memory: 6M/25M
[INFO]
------------------------------------------------------------------------

By looking at the code in org.neo4j.cypher.javacompat.CypherParser which
report compiler error:

package org.neo4j.cypher.javacompat;

import org.neo4j.cypher.SyntaxError;
import org.neo4j.cypher.commands.Query;

both two imports are missing, the package org.neo4j.cypher itself is empty.


On Mon, Jun 13, 2011 at 03:12, Peter Neubauer <
peter.neuba...@neotechnology.com> wrote:

> Super,
> the ImpermanentGraphDatabase.java is a test helper class and resides
> as of a few days back in the neo4j kernel test artifact. A quick scan
> with mvn dependency:tree gives you
>
> [~/code/neo/build/community/cypher] $mvn dependency:tree
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Neo4j - Cypher
> [INFO]    task-segment: [dependency:tree]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] snapshot org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT: checking
> for updates from sonatype-nexus-snapshots
> [INFO] snapshot org.neo4j:neo4j-graph-matching:1.4-SNAPSHOT: checking
> for updates from sonatype-nexus-snapshots
> [INFO] [dependency:tree {execution: default-cli}]
> [INFO] org.neo4j:neo4j-cypher:jar:1.4-SNAPSHOT
> [INFO] +- org.scala-lang:scala-library:jar:2.9.0-1:compile
> [INFO] +- org.neo4j:neo4j-kernel:jar:tests:1.4-SNAPSHOT:compile
> [INFO] |  \-
> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
> [INFO] +- org.neo4j:neo4j-lucene-index:jar:1.4-SNAPSHOT:compile
> [INFO] |  \- org.apache.lucene:lucene-core:jar:3.1.0:compile
> [INFO] +- org.neo4j:neo4j-kernel:jar:1.4-SNAPSHOT:compile
> [INFO] +- org.neo4j:neo4j-graph-matching:jar:1.4-SNAPSHOT:compile
> [INFO] \- junit:junit:jar:4.8.2:test
>
> where the latest version of
>
> [INFO] +- org.neo4j:neo4j-kernel:jar:tests:1.4-SNAPSHOT:compile
>
>
> should contain that class. Could you check that?
>
>
>
>
> 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 Sun, Jun 12, 2011 at 5:50 AM, Super Wang <wangxu...@gmail.com> wrote:
> > Maybe same problem here:
> >
> > [INFO] Scanning for projects...
> > [WARNING]
> > [WARNING] Some problems were encountered while building the effective
> model
> > for org.neo4j:neo4j-cypher:jar:1.4-SNAPSHOT
> > [WARNING] 'parent.relativePath' points at org.neo4j.build:community-build
> > instead of org.neo4j:parent-central, please verify your project structure
> @
> > line 3, column 11
> > [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]
> > [INFO]
> >
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Building Neo4j - Cypher 1.4-SNAPSHOT
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO]
> > [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
> neo4j-cypher
> > ---
> > [INFO]
> > [INFO] --- maven-license-plugin:1.9.0:check (check-licenses) @
> neo4j-cypher
> > ---
> > [INFO] Checking licenses...
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> > neo4j-cypher ---
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] skip non existing resourceDirectory
> > E:\git\neo4j.community\cypher\src\main\resources
> > [INFO] skip non existing resourceDirectory
> > E:\git\neo4j.community\cypher\src\main\resources\META-INF
> > [INFO] Copying 3 resources to META-INF
> > [INFO]
> > [INFO] --- maven-scala-plugin:2.15.2:compile (default) @ neo4j-cypher ---
> > [INFO] Checking for multiple versions of scala
> > [INFO] includes = [**/*.scala,**/*.java,]
> > [INFO] excludes = []
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @
> > neo4j-cypher ---
> > [INFO] Compiling 3 source files to
> > E:\git\neo4j.community\cypher\target\classes
> > [INFO]
> > [INFO] --- maven-scala-plugin:2.15.2:compile (compile) @ neo4j-cypher ---
> > [INFO] Checking for multiple versions of scala
> > [INFO] includes = [**/*.scala,**/*.java,]
> > [INFO] excludes = []
> > [INFO] Nothing to compile - all classes are up to date
> > [INFO]
> > [INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
> > neo4j-cypher ---
> > [INFO]
> > [INFO] --- maven-resources-plugin:2.4.3:testResources
> > (default-testResources) @ neo4j-cypher ---
> > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > [INFO] skip non existing resourceDirectory
> > E:\git\neo4j.community\cypher\src\test\resources
> > [INFO] Copying 3 resources to META-INF
> > [INFO]
> > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
> @
> > neo4j-cypher ---
> > [INFO] Compiling 1 source file to
> > E:\git\neo4j.community\cypher\target\test-classes
> > [INFO] -------------------------------------------------------------
> > [ERROR] COMPILATION ERROR :
> > [INFO] -------------------------------------------------------------
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[29,21]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 软件包 org.neo4j.test
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[42,12]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[29,21]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 软件包 org.neo4j.test
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[42,12]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[49,17]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[56,38]
> > 找不到符号
> > 符号: 类 ImpermanentGraphDatabase
> > 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [INFO] 6 errors
> > [INFO] -------------------------------------------------------------
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] BUILD FAILURE
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Total time: 5.220s
> > [INFO] Finished at: Sun Jun 12 11:48:05 CST 2011
> > [INFO] Final Memory: 27M/54M
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
> > (default-testCompile) on project neo4j-cypher: Compilation failure:
> > Compilation failure:
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[29,21]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 软件包 org.neo4j.test
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[42,12]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[29,21]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 软件包 org.neo4j.test
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[42,12]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[49,17]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [ERROR]
> >
> \git\neo4j.community\cypher\src\test\java\org\neo4j\cypher\javacompat\JavaExecutionEngineTests.java:[56,38]
> > 找不到符号
> > [ERROR] 符号: 类 ImpermanentGraphDatabase
> > [ERROR] 位置: 类 org.neo4j.cypher.javacompat.JavaExecutionEngineTests
> > [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/MojoFailureException
> >
> >
> > On Sun, Jun 12, 2011 at 04:58, Peter Neubauer <
> > peter.neuba...@neotechnology.com> wrote:
> >
> >> Pierre,
> >> git pull, just updated to be following the latest changes in Cypher
> >> package names. If you wanna flesh out the CypherResultRepresentation
> >> in order to deliver JSON back, not the default string, feel free to do
> >> so!
> >>
> >> 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 Sat, Jun 11, 2011 at 4:03 PM, Pierre De Wilde
> >> <pierredewi...@gmail.com> wrote:
> >> > Hey,
> >> >
> >> > I am trying to build last neo4j-cypher-plugin but I get errors:
> >> >
> >> > ~/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin$ mvn2 clean
> package
> >> > Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> >> > [INFO] Scanning for projects...
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Building neo4j-cypher-plugin
> >> > [INFO]    task-segment: [clean, package]
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] [clean:clean {execution: default-clean}]
> >> > [INFO] Deleting
> >> >
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-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
> >> >
> >>
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin/src/main/webapp
> >> > [INFO] skip non existing resourceDirectory
> >> > /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin/data
> >> > [INFO] [compiler:compile {execution: default-compile}]
> >> > [INFO] Compiling 2 source files to
> >> >
> >>
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin/target/classes
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [ERROR] BUILD FAILURE
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Compilation failure
> >> >
> >> >
> >>
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin/src/main/java/org/neo4j/server/plugin/cypher/CypherPlugin.java:[25,23]
> >> > cannot find symbol
> >> > symbol  : class Projection
> >> > location: package org.neo4j.cypher
> >> >
> >> >
> >>
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-cypher-plugin/src/main/java/org/neo4j/server/plugin/cypher/CypherPlugin.java:[25,23]
> >> > cannot find symbol
> >> > symbol  : class Projection
> >> > location: package org.neo4j.cypher
> >> >
> >> >
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] For more information, run Maven with the -e switch
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> > [INFO] Total time: 8 seconds
> >> > [INFO] Finished at: Sat Jun 11 15:50:11 CEST 2011
> >> > [INFO] Final Memory: 47M/97M
> >> > [INFO]
> >> >
> ------------------------------------------------------------------------
> >> >
> >> >
> >> > Any idea?
> >> > Thanks,
> >> >
> >> > Pierre
> >> > _______________________________________________
> >> > 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
> >>
> > _______________________________________________
> > 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
>
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to