[ https://issues.apache.org/jira/browse/TINKERPOP-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163288#comment-15163288 ]
ASF GitHub Bot commented on TINKERPOP-1085: ------------------------------------------- Github user pluradj commented on a diff in the pull request: https://github.com/apache/incubator-tinkerpop/pull/237#discussion_r53965414 --- Diff: gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/pom.xml --- @@ -0,0 +1,80 @@ +<!-- +Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +--> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + <groupId>\${groupId}</groupId> + <artifactId>\${artifactId}</artifactId> + <version>\${version}</version> + + <name>Getting started with Gremlin Server</name> + + <packaging>jar</packaging> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + </properties> + <dependencies> + <dependency> + <groupId>org.apache.tinkerpop</groupId> + <artifactId>gremlin-driver</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.tinkerpop</groupId> + <artifactId>gremlin-server</artifactId> + <version>${project.version}</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.slf4j</groupId> + <artifactId>slf4j-log4j12</artifactId> + <version>${slf4j.version}</version> + <scope>test</scope> --- End diff -- suggest making a compile dependency and adding `log4j` also to avoid the `log4j:WARN No appenders could be found for logger` > Establish TinkerPop "example" projects > -------------------------------------- > > Key: TINKERPOP-1085 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1085 > Project: TinkerPop > Issue Type: Improvement > Components: documentation > Affects Versions: 3.1.0-incubating > Reporter: stephen mallette > Assignee: stephen mallette > Fix For: 3.1.2-incubating > > > Create a {{gremlin-examples}} module that in turn would have some sub-modules > containing example Gremlin code. The thread of discussion is here: > https://pony-poc.apache.org/thread.html/Z1mhshgtenmsu87 > but in summary, there were ideas to write example modules for lots of > different things: > * Gremlin Server usage > * DSL examples -- SocialTraversal/etc. > * Language compiler -- Java RegEx into Gremlin instructions (e.g.). > * Build your own implementation examples --- like a stub of a graph > implementation to get people going. > * maven archetypes > For this task, I think this just entails setting up the pattern for doing > this. Perhaps we could include the work of [~pluradj] (if he'd care to > contribute it) at: > https://github.com/pluradj/tp3-java-example > or something similar. We could then expand from there. -- This message was sent by Atlassian JIRA (v6.3.4#6332)