Skip to content

Commit

Permalink
Remove gremlin-archetype
Browse files Browse the repository at this point in the history
  • Loading branch information
ryn5 committed Feb 15, 2024
1 parent 55a7b7f commit 2847b34
Show file tree
Hide file tree
Showing 36 changed files with 9 additions and 1,546 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
* Renamed the traversal discarding `none()` step to `discard()`.
* Added new list filtering step `none()`.
* Removed the deprecated `withGraph()` option from `AnonymousTraversalSource`.
* Removed the `gremlin-archetype` module in favor of newer sample applications in each GLV's `examples` folder.
* Bumped to `commons-collection4`.
== TinkerPop 3.7.0 (Gremfir Master of the Pan Flute)
Expand Down
28 changes: 2 additions & 26 deletions docs/src/reference/gremlin-variants.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -1160,8 +1160,8 @@ SocialTraversalSource social = traversal(SocialTraversalSource.class).with(graph
social.persons("marko").knows("josh");
----
NOTE: Using Maven, as shown in the `gremlin-archetype-dsl` module, makes developing DSLs with the annotation processor
straightforward in that it sets up appropriate paths to the generated code automatically.
NOTE: Using Maven makes developing DSLs with the annotation processor straightforward in that it sets up appropriate
paths to the generated code automatically.
[[gremlin-java-troubleshooting]]
=== Troubleshooting
Expand Down Expand Up @@ -1223,30 +1223,6 @@ Connection Pool Status (size=1 max=5 min=1 toCreate=0 bin=0)
----
anchor:java-application-examples[]
anchor:gremlin-archetypes[]
[[gremlin-java-archetypes]]
=== Application Archetypes
The available link:https://maven.apache.org/guides/introduction/introduction-to-archetypes.html[Maven archetypes] are
as follows:
* `gremlin-archetype-dsl` - An example project that demonstrates how to build Domain Specific Languages with Gremlin
in Java.
* `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.
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=x.y.z -DgroupId=com.my -DartifactId=app -Dversion=0.1 -DinteractiveMode=false
This command will generate a new Maven project in a directory called "app" with a `pom.xml` specifying a `groupId` of
`com.my`. Please see the `README.asciidoc` in the root of each generated project for information on how to build and
execute it.
[[gremlin-java-examples]]
=== Application Examples
Expand Down
6 changes: 6 additions & 0 deletions docs/src/upgrade/release-4.x.x.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@ with no elements matching the predicate.
Integer overflows caused by addition and multiplication operations will throw an exception instead of being silently
skipped with incorrect result.
==== Removal of `gremlin-archetype`
`gremlin-archetype`, which contained example projects demonstrating the use cases of TinkerPop, has been removed in
favor of newer sample applications which can be found in each GLV's `examples` folder.
=== Upgrading for Providers
==== Renaming NoneStep to DiscardStep
Expand Down
59 changes: 0 additions & 59 deletions gremlin-archetype/gremlin-archetype-dsl/pom.xml

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 2847b34

Please sign in to comment.