Hey,

I've seen that before. You are building with Maven3 and the pom.xml of the 
Neo4j Server Gremlin plugin is done with Maven2. Its a simple fix -- basically, 
some aspects of the pom.xml are not respected, just need to be updated.

Peter?

Marko.

http://markorodriguez.com

On Jun 9, 2011, at 10:26 PM, Pierre De Wilde wrote:

> Hey,
> 
> I got errors when building plugin:
> 
> ~/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin$ mvn clean package
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.neo4j.server.plugin:neo4j-gremlin-plugin:jar:0.1-SNAPSHOT
> [WARNING] 'repositories.repository.layout' for
> maven-repository.dev.java.netuses the unsupported value 'legacy',
> artifact resolution might fail. @ line
> 225, 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]
> [INFO]
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building neo4j-gremlin-plugin 0.1-SNAPSHOT
> [INFO]
> ------------------------------------------------------------------------
> [WARNING] Could not transfer metadata
> org.neo4j.app:neo4j-server:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> 
> [WARNING] Could not transfer metadata
> org.neo4j.app:neo4j-server:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-algo:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-algo:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-udc:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-udc:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-matching:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-matching:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-cypher:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-cypher:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-jmx:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-jmx:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:server-api:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:server-api:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-shell:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-shell:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j.app:neo4j-server:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-kernel:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-lucene-index:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-algo:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-udc:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-graph-matching:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:neo4j-jmx:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [WARNING] Could not transfer metadata
> org.neo4j:server-api:1.4-SNAPSHOT/maven-metadata.xml from/to
> maven-repository.dev.java.net (http://download.java.net/maven/1): No
> connector available to access repository maven-repository.dev.java.net (
> http://download.java.net/maven/1) of type legacy using the available
> factories WagonRepositoryConnectorFactory
> [INFO]
> [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @
> neo4j-gremlin-plugin ---
> [INFO] Deleting
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin/target
> [INFO]
> [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @
> neo4j-gremlin-plugin ---
> [INFO]
> [INFO] --- maven-license-plugin:1.9.0:check (check-licenses) @
> neo4j-gremlin-plugin ---
> [INFO] Checking licenses...
> [INFO]
> [INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @
> neo4j-gremlin-plugin ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] skip non existing resourceDirectory
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin/src/main/webapp
> [INFO] skip non existing resourceDirectory
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin/data
> [INFO]
> [INFO] --- maven-compiler-plugin:2.0.2:compile (default-compile) @
> neo4j-gremlin-plugin ---
> [INFO] Compiling 4 source files to
> /Users/Pierre/Documents/_GraphDatabases/Neo4j/neo4j-gremlin-plugin/target/classes
> [INFO]
> [INFO] --- maven-bundle-plugin:2.1.0:manifest (bundle-manifest) @
> neo4j-gremlin-plugin ---
> [ERROR] An internal error occurred
> java.util.regex.PatternSyntaxException: Illegal repetition near index 0
> ${bundle\.namespace}\.impl\..*|${bundle\.namespace}\.impl
> ^
> at java.util.regex.Pattern.error(Pattern.java:1713)
> at java.util.regex.Pattern.closure(Pattern.java:2775)
> at java.util.regex.Pattern.sequence(Pattern.java:1889)
> at java.util.regex.Pattern.expr(Pattern.java:1752)
> at java.util.regex.Pattern.compile(Pattern.java:1460)
> at java.util.regex.Pattern.<init>(Pattern.java:1133)
> at java.util.regex.Pattern.compile(Pattern.java:823)
> at aQute.lib.osgi.Instruction.getMatcher(Instruction.java:73)
> at aQute.lib.osgi.Instruction.matches(Instruction.java:17)
> at aQute.lib.osgi.Processor.merge(Processor.java:736)
> at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:164)
> at aQute.lib.osgi.Builder.analyze(Builder.java:198)
> at aQute.lib.osgi.Analyzer.calcManifest(Analyzer.java:283)
> at
> org.apache.felix.bundleplugin.ManifestPlugin.getAnalyzer(ManifestPlugin.java:197)
> at
> org.apache.felix.bundleplugin.ManifestPlugin.getManifest(ManifestPlugin.java:112)
> at
> org.apache.felix.bundleplugin.ManifestPlugin.execute(ManifestPlugin.java:66)
> at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:238)
> at org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:229)
> 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)
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7.512s
> [INFO] Finished at: Fri Jun 10 06:21:19 CEST 2011
> [INFO] Final Memory: 20M/81M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.felix:maven-bundle-plugin:2.1.0:manifest (bundle-manifest) on
> project neo4j-gremlin-plugin: Internal error in maven-bundle-plugin: Illegal
> repetition near index 0
> [ERROR] ${bundle\.namespace}\.impl\..*|${bundle\.namespace}\.impl
> [ERROR] ^
> [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
> 
> Pierre
> 
> 
> 2011/6/10 Michael Hunger <michael.hun...@neotechnology.com>
> 
>> Romiko,
>> 
>> the gremlin plugin is currently separate from the Neo4J-Server it will be
>> included with one of the next releases.
>> Until then please go to.
>> https://github.com/neo4j/neo4j-gremlin-plugin
>> 
>> build the jar using maven and then copy that to your servers plugins
>> directory.
>> 
>> The gremlin file you can see is used for the "console" of the webadmin-UI.
>> 
>> Looking forward to your .net Query Language.
>> 
>> Cheers
>> 
>> Michael
>> 
>> Am 10.06.2011 um 01:46 schrieb Romiko Derbynew:
>> 
>>> Hi,
>>> 
>>> I am currently using the latest version of Neo4J. However, when I run:
>>> curl -v http://localhost:7474/db/data/
>>> 
>>> I get this response for extensions:
>>> "extensions" : {
>>> }
>>> 
>>> And when I look in System\Lib, I can see gremlin-0.9.jar.
>>> 
>>> So, how do I register or configure the server to enable gremlin. Since,
>> when I try to query it via:
>>> 
>>> http://localhost:7474/db/data/ext/GremlinPlugin/graphdb/execute_script+
>>> 
>>> 
>>> 
>>> 
>>> 
>>> I get no such plugin exists (I also tried to copy the jar file to the
>> plugin folder, and some little voice told me this is not the right way,
>> since it is in the system folder already :))
>>> 
>>> 
>>> 
>>> Any help is appreciate, I am looking at creating a .Net Query Language
>> for it at some point.
>>> 
>>> 
>>> 
>>> 
>>> 
>>> No such ServerPlugin: "GremlinPlugin"
>>> 
>>> org.neo4j.server.plugins.PluginLookupException: No such ServerPlugin:
>> "GremlinPlugin"
>>> 
>>>       at
>> org.neo4j.server.plugins.PluginManager.extension(PluginManager.java:108)
>>> 
>>>       at
>> org.neo4j.server.plugins.PluginManager.describe(PluginManager.java:117)
>>> 
>>>       at
>> org.neo4j.server.rest.web.ExtensionService.describeGraphDatabaseExtension(ExtensionService.java:287)
>>> 
>>>       at
>> org.neo4j.server.rest.web.ExtensionService.getGraphDatabaseExtensionDescription(ExtensionService.java:150)
>>> 
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>> 
>>>       at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>>> 
>>>       at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>>> 
>>>       at java.lang.reflect.Method.invoke(Unknown Source)
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> 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