[ 
https://issues.apache.org/jira/browse/TINKERPOP-1085?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15163237#comment-15163237
 ] 

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_r53960519
  
    --- Diff: docs/src/reference/gremlin-applications.asciidoc ---
    @@ -1880,3 +1880,25 @@ The following shows the output for `HadoopGraph`:
     ----
     describeGraph(HadoopGraph)
     ----
    +
    +[[gremlin-archetypes]]
    +Gremlin Archetypes
    +==================
    +
    +TinkerPop has a number of 
link:https://maven.apache.org/guides/introduction/introduction-to-archetypes.html[Maven
 archetypes],
    +which provide example project templates to quickly get started with 
TinkerPop. The available archetypes are as follows:
    +
    +* `gremlin-archetype-server` - An example project that demonstrates the 
basic structure of a
    +<<gremlin-server,Gremlin Server>> project, how to connect with the Gremlin 
Driver, and how to embed Gremlin Server in
    +a testing framework.
    +* `gremlin-archetype-tinkergraph` - A basic example of how to structure a 
TinkerPop project with Maven.
    +
    +You can use Maven to generate these example projects with a command like:
    +
    +[source,shell]
    +$ mvn archetype:generate -DarchetypeGroupId=org.apache.tinkerpop 
-DarchetypeArtifactId=gremlin-archetype-server
    +      -DarchetypeVersion=3.1.2-incubating -DgroupId=com.my -DartifactId=app
    --- End diff --
    
    Suggest adding `-Dversion=0.1 -DinteractiveMode=false`


> 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)

Reply via email to