This is an automated email from the ASF dual-hosted git repository.

colegreer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/master by this push:
     new a8f90ea959 Remove gremlin-archetype (#2486)
a8f90ea959 is described below

commit a8f90ea959b0eb11a699f39d64ae274eb01e513d
Author: Ryan Tan <[email protected]>
AuthorDate: Fri Feb 23 09:53:34 2024 -0800

    Remove gremlin-archetype (#2486)
---
 CHANGELOG.asciidoc                                 |   1 +
 docs/src/reference/gremlin-variants.asciidoc       |  28 +-----
 docs/src/upgrade/release-4.x.x.asciidoc            |   6 ++
 gremlin-archetype/gremlin-archetype-dsl/pom.xml    |  59 ------------
 .../META-INF/maven/archetype-metadata.xml          |  38 --------
 .../resources/archetype-resources/README.asciidoc  |  32 -------
 .../src/main/resources/archetype-resources/pom.xml |  95 -------------------
 .../src/main/java/SocialTraversalDsl.java          |  76 ---------------
 .../src/main/java/SocialTraversalSourceDsl.java    |  72 --------------
 .../src/test/java/SocialDslTest.java               |  58 ------------
 .../projects/standard/archetype.properties         |  21 -----
 .../src/test/resources/projects/standard/goal.txt  |   1 -
 gremlin-archetype/gremlin-archetype-server/pom.xml |  59 ------------
 .../META-INF/maven/archetype-metadata.xml          |  47 ---------
 .../resources/archetype-resources/README.asciidoc  |  66 -------------
 .../archetype-resources/conf/logback-test.xml      |  26 -----
 .../resources/archetype-resources/conf/logback.xml |  26 -----
 .../conf/tinkergraph-empty.properties              |  18 ----
 .../src/main/resources/archetype-resources/pom.xml | 105 ---------------------
 .../scripts/generate-modern.groovy                 |  33 -------
 .../archetype-resources/src/main/java/App.java     |  43 ---------
 .../archetype-resources/src/main/java/Service.java |  65 -------------
 .../src/test/java/ServiceTest.java                 |  84 -----------------
 .../src/test/resources/gremlin-server.yaml         |  41 --------
 .../projects/standard/archetype.properties         |  21 -----
 .../src/test/resources/projects/standard/goal.txt  |   1 -
 .../gremlin-archetype-tinkergraph/pom.xml          |  59 ------------
 .../META-INF/maven/archetype-metadata.xml          |  38 --------
 .../resources/archetype-resources/README.asciidoc  |  32 -------
 .../src/main/resources/archetype-resources/pom.xml |  89 -----------------
 .../archetype-resources/src/main/java/App.java     |  79 ----------------
 .../archetype-resources/src/test/java/AppTest.java |  40 --------
 .../projects/standard/archetype.properties         |  21 -----
 .../src/test/resources/projects/standard/goal.txt  |   1 -
 gremlin-archetype/pom.xml                          |  73 --------------
 pom.xml                                            |   1 -
 36 files changed, 9 insertions(+), 1546 deletions(-)

diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc
index 382adccd27..1b49095b63 100644
--- a/CHANGELOG.asciidoc
+++ b/CHANGELOG.asciidoc
@@ -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`.
 * Added `withoutStrategies()` syntax to the Gremlin ANTLR grammar.
 * Modified the Gremlin ANTLR grammar to more dynamically interact with any 
strategies registered globally to the `TraversalStrategies` cache sets.
diff --git a/docs/src/reference/gremlin-variants.asciidoc 
b/docs/src/reference/gremlin-variants.asciidoc
index 53b0692c46..777cbfe81b 100644
--- a/docs/src/reference/gremlin-variants.asciidoc
+++ b/docs/src/reference/gremlin-variants.asciidoc
@@ -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
@@ -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
 
diff --git a/docs/src/upgrade/release-4.x.x.asciidoc 
b/docs/src/upgrade/release-4.x.x.asciidoc
index f0cbdd4cba..a7cf2da31f 100644
--- a/docs/src/upgrade/release-4.x.x.asciidoc
+++ b/docs/src/upgrade/release-4.x.x.asciidoc
@@ -118,6 +118,12 @@ passes lists 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
diff --git a/gremlin-archetype/gremlin-archetype-dsl/pom.xml 
b/gremlin-archetype/gremlin-archetype-dsl/pom.xml
deleted file mode 100644
index ec61233549..0000000000
--- a/gremlin-archetype/gremlin-archetype-dsl/pom.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-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>
-    <parent>
-        <groupId>org.apache.tinkerpop</groupId>
-        <artifactId>gremlin-archetype</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>gremlin-archetype-dsl</artifactId>
-    <name>Apache TinkerPop :: Archetype - DSL</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-archetype-plugin</artifactId>
-            </plugin>
-        </plugins>
-
-        <!-- apply variable substitution on the following files using 
variables from this pom -->
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-                <includes>
-                    <include>archetype-resources/pom.xml</include>
-                    <include>archetype-resources/README.asciidoc</include>
-                </includes>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>false</filtering>
-                <excludes>
-                    <exclude>archetype-resources/pom.xml</exclude>
-                    <exclude>archetype-resources/README.asciidoc</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-</project>
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/META-INF/maven/archetype-metadata.xml
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index a159ee3ad5..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<!--
-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.
--->
-<archetype-descriptor 
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0
 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"; 
name="gremlin-archetype-tinkergraph"
-                      
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0";
-                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
-    <fileSets>
-        <fileSet filtered="true">
-            <directory></directory>
-            <includes>
-                <include>README.asciidoc</include>
-            </includes>
-            <excludes>
-                <exclude>**/*.xml</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/main/java</directory>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/test/java</directory>
-        </fileSet>
-    </fileSets>
-
-</archetype-descriptor>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/README.asciidoc
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/README.asciidoc
deleted file mode 100644
index 147101866c..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/README.asciidoc
+++ /dev/null
@@ -1,32 +0,0 @@
-////
-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.
-////
-= Gremlin DSL
-
-This is a starter project that demonstrates how a basic
-link:http://tinkerpop.apache.org/docs/${project.version}/reference/#dsl[Domain 
Specific Language] (DSL) project is
-structured with Java and Maven. The DSL is built to work with the TinkerPop 
"modern" toy graph. Please see the unit
-tests in `SocialDslTest` for actual DSL usage.
-
-== Prerequisites
-
-* Java 11
-* link:https://maven.apache.org/[Maven 3.3+]
-
-== Building and Running
-
-[source,text]
-mvn clean install
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/pom.xml
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/pom.xml
deleted file mode 100644
index c37584db91..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/pom.xml
+++ /dev/null
@@ -1,95 +0,0 @@
-<!--
-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>Social DSL: Modern Graph</name>
-
-    <packaging>jar</packaging>
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tinkerpop</groupId>
-            <artifactId>tinkergraph-gremlin</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tinkerpop</groupId>
-            <artifactId>gremlin-annotations</artifactId>
-            <version>${project.version}</version>
-            <optional>true</optional>
-        </dependency>
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <version>${logback.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.0</version>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <compilerArgs>
-                        <arg>-parameters</arg>
-                    </compilerArgs>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>jdk11</id>
-            <activation>
-                <jdk>[11,18)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <version>3.8.1</version>
-                        <configuration>
-                            <release>8</release>
-                            <compilerArgs>
-                                <arg>-parameters</arg>
-                            </compilerArgs>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalDsl.java
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalDsl.java
deleted file mode 100644
index e4d48bc8a0..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalDsl.java
+++ /dev/null
@@ -1,76 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.process.traversal.dsl.GremlinDsl;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.GremlinDsl.AnonymousMethod;
-import org.apache.tinkerpop.gremlin.process.traversal.Traversal;
-import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
-import org.apache.tinkerpop.gremlin.structure.Vertex;
-import org.apache.tinkerpop.gremlin.process.traversal.P;
-
-/**
- * This Social DSL is meant to be used with the TinkerPop "modern" toy graph.
- * <p/>
- * All DSLs should extend {@code GraphTraversal.Admin} and be suffixed with 
"TraversalDsl". Simply add DSL traversal
- * methods to this interface. Use Gremlin's steps to build the underlying 
traversal in these methods to ensure
- * compatibility with the rest of the TinkerPop stack and provider 
implementations.
- * <p/>
- * Arguments provided to the {@code GremlinDsl} annotation are all optional. 
In this case, a {@code traversalSource} is
- * specified which points to a specific implementation to use. Had that 
argument not been specified then a default
- * {@code TraversalSource} would have been generated.
- */
-@GremlinDsl(traversalSource = "${package}.SocialTraversalSourceDsl")
-public interface SocialTraversalDsl<S, E> extends GraphTraversal.Admin<S, E> {
-
-    /**
-     * From a {@code Vertex} traverse "knows" edges to adjacent "person" 
vertices and filter those vertices on the
-     * "name" property.
-     *
-     * @param personName the name of the person to filter on
-     */
-    public default GraphTraversal<S, Vertex> knows(String personName) {
-        return ((SocialTraversalDsl) out("knows")).person().has("name", 
personName);
-    }
-
-    /**
-     * From a {@code Vertex} traverse "knows" edges to adjacent "person" 
vertices and determine the youngest age of
-     * those persons.
-     */
-    public default <E2 extends Number> GraphTraversal<S, E2> 
youngestFriendsAge() {
-        return ((SocialTraversalDsl) 
out("knows")).person().values("age").min();
-    }
-
-    /**
-     * Designed to be used as a filter for "person" vertices based on the 
number of "created" edges encountered.
-     *
-     * @param number the minimum number of projects a person created
-     */
-    public default GraphTraversal<S, Long> createdAtLeast(int number) {
-        return outE("created").count().is(P.gte(number));
-    }
-
-    /**
-     * Filters objects by the "person" label. This step is designed to work 
with incoming vertices.
-     */
-    @GremlinDsl.AnonymousMethod(returnTypeParameters = {"A", "A"}, 
methodTypeParameters = {"A"})
-    public default GraphTraversal<S, E> person() {
-        return hasLabel("person");
-    }
-}
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalSourceDsl.java
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalSourceDsl.java
deleted file mode 100644
index e4d1b8a5ce..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/main/java/SocialTraversalSourceDsl.java
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.process.remote.RemoteConnection;
-import org.apache.tinkerpop.gremlin.process.traversal.P;
-import org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategies;
-import org.apache.tinkerpop.gremlin.process.traversal.dsl.GremlinDsl;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.DefaultGraphTraversal;
-import org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversal;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-import org.apache.tinkerpop.gremlin.process.traversal.step.map.GraphStep;
-import org.apache.tinkerpop.gremlin.process.traversal.step.util.HasContainer;
-import org.apache.tinkerpop.gremlin.process.traversal.util.TraversalHelper;
-import org.apache.tinkerpop.gremlin.structure.Graph;
-import org.apache.tinkerpop.gremlin.structure.T;
-import org.apache.tinkerpop.gremlin.structure.Vertex;
-
-/**
- * See {@code SocialTraversalDsl} for more information about this DSL.
- */
-public class SocialTraversalSourceDsl extends GraphTraversalSource {
-
-    public SocialTraversalSourceDsl(final Graph graph, final 
TraversalStrategies traversalStrategies) {
-        super(graph, traversalStrategies);
-    }
-
-    public SocialTraversalSourceDsl(final Graph graph) {
-        super(graph);
-    }
-
-    public SocialTraversalSourceDsl(final RemoteConnection connection) {
-        super(connection);
-    }
-
-    /**
-     * Starts a traversal that finds all vertices with a "person" label and 
optionally allows filtering of those
-     * vertices on the "name" property.
-     *
-     * @param names list of person names to filter on
-     */
-    public GraphTraversal<Vertex, Vertex> persons(String... names) {
-        GraphTraversalSource clone = this.clone();
-
-        // Manually add a "start" step for the traversal in this case the 
equivalent of V(). GraphStep is marked
-        // as a "start" step by passing "true" in the constructor.
-        clone.getBytecode().addStep(GraphTraversal.Symbols.V);
-        GraphTraversal<Vertex, Vertex> traversal = new 
DefaultGraphTraversal<>(clone);
-        traversal.asAdmin().addStep(new GraphStep<>(traversal.asAdmin(), 
Vertex.class, true));
-
-        traversal = traversal.hasLabel("person");
-        if (names.length > 0) traversal = traversal.has("name", 
P.within(names));
-
-        return traversal;
-    }
-}
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/test/java/SocialDslTest.java
 
b/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/test/java/SocialDslTest.java
deleted file mode 100644
index 62f52c1f98..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/main/resources/archetype-resources/src/test/java/SocialDslTest.java
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.structure.Graph;
-import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
-import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-
-import org.junit.Test;
-
-import static 
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource.traversal;
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-public class SocialDslTest {
-
-    private Graph graph = TinkerFactory.createModern();
-    private SocialTraversalSource social = 
traversal(SocialTraversalSource.class).with(graph);
-
-    @Test
-    public void shouldValidateThatMarkoKnowsJosh() {
-        assertTrue(social.V().has("name","marko").knows("josh").hasNext());
-        assertTrue(social.persons("marko").knows("josh").hasNext());
-    }
-
-    @Test
-    public void shouldGetAgeOfYoungestFriendOfMarko() {
-        assertEquals(27, 
social.V().has("name","marko").youngestFriendsAge().next().intValue());
-        assertEquals(27, 
social.persons("marko").youngestFriendsAge().next().intValue());
-    }
-
-    @Test
-    public void shouldFindAllPersons() {
-        assertEquals(4, social.persons().count().next().intValue());
-    }
-
-    @Test
-    public void shouldFindAllPersonsWithTwoOrMoreProjects() {
-        assertEquals(1, 
social.persons().filter(__.createdAtLeast(2)).count().next().intValue());
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/archetype.properties
 
b/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/archetype.properties
deleted file mode 100644
index cf98705f60..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/archetype.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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.
-
-groupId=org.apache.tinkerpop
-artifactId=gremlin-archetype-dsl
-package=com.test.example
-version=1.0.0-SNAPSHOT
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/goal.txt
 
b/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/goal.txt
deleted file mode 100644
index 4a1a71d336..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-dsl/src/test/resources/projects/standard/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
-verify
\ No newline at end of file
diff --git a/gremlin-archetype/gremlin-archetype-server/pom.xml 
b/gremlin-archetype/gremlin-archetype-server/pom.xml
deleted file mode 100644
index b8c92098c4..0000000000
--- a/gremlin-archetype/gremlin-archetype-server/pom.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-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>
-    <parent>
-        <groupId>org.apache.tinkerpop</groupId>
-        <artifactId>gremlin-archetype</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>gremlin-archetype-server</artifactId>
-    <name>Apache TinkerPop :: Archetype - Server</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-archetype-plugin</artifactId>
-            </plugin>
-        </plugins>
-
-        <!-- apply variable substitution on the following files using 
variables from this pom -->
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-                <includes>
-                    <include>archetype-resources/pom.xml</include>
-                    <include>archetype-resources/README.asciidoc</include>
-                </includes>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>false</filtering>
-                <excludes>
-                    <exclude>archetype-resources/pom.xml</exclude>
-                    <exclude>archetype-resources/README.asciidoc</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-</project>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/META-INF/maven/archetype-metadata.xml
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index 93d66a8395..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,47 +0,0 @@
-<!--
-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.
--->
-<archetype-descriptor 
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0
 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"; 
name="gremlin-archetype-tinkergraph"
-                      
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0";
-                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
-    <fileSets>
-        <fileSet filtered="true">
-            <directory></directory>
-            <includes>
-                <include>README.asciidoc</include>
-            </includes>
-            <excludes>
-                <exclude>**/*.xml</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet filtered="true">
-            <directory>conf/</directory>
-        </fileSet>
-        <fileSet filtered="true">
-            <directory>scripts/</directory>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/main/java</directory>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/test/java</directory>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/test/resources</directory>
-        </fileSet>
-    </fileSets>
-
-</archetype-descriptor>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/README.asciidoc
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/README.asciidoc
deleted file mode 100644
index 6dce08fd9d..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/README.asciidoc
+++ /dev/null
@@ -1,66 +0,0 @@
-////
-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.
-////
-= Gremlin Server Application
-
-This is a starter project that demonstrates how a basic
-link:http://tinkerpop.apache.org/docs/${project.version}/reference/#gremlin-server[Gremlin
 Server] project is structured
-with Maven. This project demonstrates how to connect to Gremlin Server with 
Java using remote traversals with the
-link:http://tinkerpop.apache.org/docs/${project.version}/reference/#connecting-via-remotegraph[Gremlin
 Driver] that is
-distributed by TinkerPop.
-
-== Prerequisites
-
-* Java 11
-* link:https://maven.apache.org/[Maven 3.3+]
-* Gremlin Server is link:http://archive.apache.org/dist/tinkerpop/[downloaded] 
and unpackaged
-
-== Building and Running
-
-Build the project as follows:
-
-[source,text]
-mvn clean package
-
-Start Gremlin Server in the directory it was unpackaged and specify usage of 
the "modern" graph configuration:
-
-[source,text]
-$ bin/gremlin-server.sh  conf/gremlin-server-modern.yaml
-[INFO] GremlinServer -
-         \,,,/
-         (o o)
------oOOo-(3)-oOOo-----
-
-[INFO] GremlinServer - Configuring Gremlin Server from 
conf/gremlin-server-modern.yaml
-[INFO] MetricManager - Configured Metrics Slf4jReporter configured with 
interval=180000ms and 
loggerName=org.apache.tinkerpop.gremlin.server.Settings$Slf4jReporterMetrics
-[INFO] Graphs - Graph [graph] was successfully configured via 
[conf/tinkergraph-empty.properties].
-[INFO] ServerGremlinExecutor - Initialized Gremlin thread pool.  Threads in 
pool named with pattern gremlin-*
-[INFO] ScriptEngines - Loaded gremlin-groovy ScriptEngine
-[INFO] GremlinExecutor - Initialized gremlin-groovy ScriptEngine with 
scripts/generate-modern.groovy
-[INFO] ServerGremlinExecutor - Initialized GremlinExecutor and configured 
ScriptEngines.
-[INFO] ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with 
graphtraversalsource[tinkergraph[vertices:0 edges:0], standard]
-[INFO] OpLoader - Adding the standard OpProcessor.
-[INFO] OpLoader - Adding the control OpProcessor.
-[INFO] OpLoader - Adding the session OpProcessor.
-[INFO] GremlinServer - Executing start up LifeCycleHook
-[INFO] Logger$info - Loading 'modern' graph data.
-[INFO] GremlinServer$1 - Gremlin Server configured with worker thread pool of 
1, gremlin pool of 8 and boss thread pool of 1.
-[INFO] GremlinServer$1 - Channel started at port 8182.
-
-Run this project as follows:
-
-[source,text]
-mvn exec:java -Dexec.mainClass="${package}.App" 
-Dlogback.configurationFile=file:conf/logback.xml -Dport=8182
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback-test.xml
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback-test.xml
deleted file mode 100644
index 5d94c3bca2..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback-test.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-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.
--->
-<configuration>
-    <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
-        <encoder>
-            <pattern>[%p] %C - %m%n</pattern>
-        </encoder>
-    </appender>
-    <root level="WARN">
-        <appender-ref ref="stdout"/>
-    </root>
-</configuration>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback.xml
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback.xml
deleted file mode 100644
index 8d11ce43ec..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/logback.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
-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.
--->
-<configuration>
-    <appender name="stdout" class="ch.qos.logback.core.ConsoleAppender">
-        <encoder>
-            <pattern>[%p] %C - %m%n</pattern>
-        </encoder>
-    </appender>
-    <root level="INFO">
-        <appender-ref ref="stdout"/>
-    </root>
-</configuration>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/tinkergraph-empty.properties
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/tinkergraph-empty.properties
deleted file mode 100644
index e09a13d1a5..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/conf/tinkergraph-empty.properties
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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.
-gremlin.graph=org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph
-gremlin.tinkergraph.vertexIdManager=LONG
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/pom.xml
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/pom.xml
deleted file mode 100644
index d18e8e3988..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/pom.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-<!--
-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>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <version>${logback.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.tinkerpop</groupId>
-            <artifactId>gremlin-server</artifactId>
-            <version>${project.version}</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.0</version>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <compilerArgs>
-                        <arg>-parameters</arg>
-                    </compilerArgs>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.22.0</version>
-                <configuration>
-                    <systemPropertyVariables>
-                        
<logback.configurationFile>file:conf/logback-test.properties</logback.configurationFile>
-                    </systemPropertyVariables>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>jdk11</id>
-            <activation>
-                <jdk>[11,18)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <version>3.8.1</version>
-                        <configuration>
-                            <release>8</release>
-                            <compilerArgs>
-                                <arg>-parameters</arg>
-                            </compilerArgs>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/scripts/generate-modern.groovy
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/scripts/generate-modern.groovy
deleted file mode 100644
index 23b4a6150a..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/scripts/generate-modern.groovy
+++ /dev/null
@@ -1,33 +0,0 @@
-/*
- * 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.
- */
-
-// an init script that returns a Map allows explicit setting of global 
bindings.
-def globals = [:]
-
-// Generates the modern graph into an "empty" TinkerGraph via LifeCycleHook.
-// Note that the name of the key in the "global" map is unimportant.
-globals << [hook : [
-  onStartUp: { ctx ->
-    ctx.logger.info("Loading 'modern' graph data.")
-    TinkerFactory.generateModern(graph)
-  }
-] as LifeCycleHook]
-
-// define the default TraversalSource to bind queries to - this one will be 
named "g".
-globals << [g : graph.traversal()]
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/App.java
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/App.java
deleted file mode 100644
index 9e0127b332..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/App.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.driver.Result;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-public class App {
-    private static final Logger logger = LoggerFactory.getLogger(App.class);
-
-    public static void main(String[] args) throws Exception {
-        Service service = Service.instance();
-        try {
-            logger.info("Sending request....");
-
-            // should print marko, josh and peter to the logs
-            
service.findCreatorsOfSoftware("lop").iterator().forEachRemaining(r -> 
logger.info(String.format("  - %s", r)));
-        } catch (Exception ex) {
-            logger.error("Could not execute traversal", ex);
-        } finally {
-            service.close();
-            logger.info("Service closed and resources released");
-            System.exit(0);
-        }
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/Service.java
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/Service.java
deleted file mode 100644
index 8eea04e252..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/main/java/Service.java
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.driver.Cluster;
-import org.apache.tinkerpop.gremlin.driver.remote.DriverRemoteConnection;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-
-import java.util.List;
-
-import static 
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource.traversal;
-
-public class Service implements AutoCloseable {
-
-    private final int port = Integer.parseInt(System.getProperty("port", 
"45940"));
-
-    /**
-     * There typically needs to be only one Cluster instance in an application.
-     */
-    private final Cluster cluster = Cluster.build().port(port).create();
-
-    /**
-     * Construct a remote GraphTraversalSource using the above created Cluster 
instance that will connect to Gremlin
-     * Server.
-     */
-    private final GraphTraversalSource g = 
traversal().with(DriverRemoteConnection.using(cluster));
-
-    /**
-     * Create Service as a singleton given the simplicity of App.
-     */
-    private static final Service INSTANCE = new Service();
-
-    private Service() {}
-
-    public static Service instance() {
-        return INSTANCE;
-    }
-
-    public List<Object> findCreatorsOfSoftware(String softwareName) throws 
Exception {
-        return g.V().has("software", "name", softwareName).
-                 in("created").
-                 values("name").toList();
-    }
-
-    @Override
-    public void close() throws Exception {
-        cluster.close();
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/java/ServiceTest.java
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/java/ServiceTest.java
deleted file mode 100644
index 6f4439f418..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/java/ServiceTest.java
+++ /dev/null
@@ -1,84 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.server.GremlinServer;
-import org.apache.tinkerpop.gremlin.server.Settings;
-
-import java.io.InputStream;
-import java.util.List;
-import java.util.Arrays;
-
-import org.junit.After;
-import org.junit.AfterClass;
-import org.junit.Before;
-import org.junit.Test;
-
-import static org.junit.Assert.assertEquals;
-import static org.hamcrest.MatcherAssert.assertThat;
-import static org.hamcrest.CoreMatchers.is;
-
-/**
- * Basic test class that demonstrates how to start and stop an embedded 
Gremlin Server instance in a test. Note that
- * the server instance is not started or stopped in a thread-safe manner, but 
typically this is acceptable for most
- * testing use cases.
- */
-public class ServiceTest {
-    private GremlinServer server;
-
-    private static Service service = Service.instance();
-
-    @Before
-    public void setUp() throws Exception {
-        startServer();
-    }
-
-    /**
-     * Starts a new instance of Gremlin Server.
-     */
-    public void startServer() throws Exception {
-        final InputStream stream = 
ServiceTest.class.getResourceAsStream("gremlin-server.yaml");
-        this.server = new GremlinServer(Settings.read(stream));
-
-        server.start().join();
-    }
-
-    @After
-    public void tearDown() throws Exception {
-        stopServer();
-    }
-
-    /**
-     * Stops a current instance of Gremlin Server.
-     */
-    public void stopServer() throws Exception {
-        server.stop().join();
-    }
-
-    @AfterClass
-    public static void tearDownCase() throws Exception {
-        service.close();
-    }
-
-    @Test
-    public void shouldCreateGraph() throws Exception {
-        final List<Object> result = service.findCreatorsOfSoftware("lop");
-        assertThat(result, is(Arrays.asList("marko", "josh", "peter")));
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/resources/gremlin-server.yaml
 
b/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/resources/gremlin-server.yaml
deleted file mode 100644
index 9d5278b0bc..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/main/resources/archetype-resources/src/test/resources/gremlin-server.yaml
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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.
-
-host: localhost
-port: 45940
-threadPoolWorker: 1
-gremlinPool: 8
-evaluationTimeout: 30000
-graphs: {
-  graph: conf/tinkergraph-empty.properties}
-scriptEngines: {
-  gremlin-groovy: {
-    plugins: { 
org.apache.tinkerpop.gremlin.server.jsr223.GremlinServerGremlinPlugin: {},
-               
org.apache.tinkerpop.gremlin.tinkergraph.jsr223.TinkerGraphGremlinPlugin: {},
-               org.apache.tinkerpop.gremlin.jsr223.ScriptFileGremlinPlugin: 
{files: [scripts/generate-modern.groovy]}}}}
-serializers:
-  - { className: 
org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1 }
-metrics: {
-  slf4jReporter: {enabled: true, interval: 180000}}
-strictTransactionManagement: false
-threadPoolBoss: 1
-maxInitialLineLength: 4096
-maxHeaderSize: 8192
-maxChunkSize: 8192
-maxContentLength: 65536
-maxAccumulationBufferComponents: 1024
-resultIterationBatchSize: 64
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/archetype.properties
 
b/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/archetype.properties
deleted file mode 100644
index 26067b7b13..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/archetype.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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.
-
-groupId=org.apache.tinkerpop
-artifactId=gremlin-archetype-server
-package=com.test.example
-version=1.0.0-SNAPSHOT
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/goal.txt
 
b/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/goal.txt
deleted file mode 100644
index 4a1a71d336..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-server/src/test/resources/projects/standard/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
-verify
\ No newline at end of file
diff --git a/gremlin-archetype/gremlin-archetype-tinkergraph/pom.xml 
b/gremlin-archetype/gremlin-archetype-tinkergraph/pom.xml
deleted file mode 100644
index 7b5e62ddb8..0000000000
--- a/gremlin-archetype/gremlin-archetype-tinkergraph/pom.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--
-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>
-    <parent>
-        <groupId>org.apache.tinkerpop</groupId>
-        <artifactId>gremlin-archetype</artifactId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>gremlin-archetype-tinkergraph</artifactId>
-    <name>Apache TinkerPop :: Archetype - TinkerGraph</name>
-    <packaging>jar</packaging>
-
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-archetype-plugin</artifactId>
-            </plugin>
-        </plugins>
-
-        <!-- apply variable substitution on the following files using 
variables from this pom -->
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-                <includes>
-                    <include>archetype-resources/pom.xml</include>
-                    <include>archetype-resources/README.asciidoc</include>
-                </includes>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>false</filtering>
-                <excludes>
-                    <exclude>archetype-resources/pom.xml</exclude>
-                    <exclude>archetype-resources/README.asciidoc</exclude>
-                </excludes>
-            </resource>
-        </resources>
-    </build>
-</project>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/META-INF/maven/archetype-metadata.xml
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/META-INF/maven/archetype-metadata.xml
deleted file mode 100644
index a159ee3ad5..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/META-INF/maven/archetype-metadata.xml
+++ /dev/null
@@ -1,38 +0,0 @@
-<!--
-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.
--->
-<archetype-descriptor 
xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0
 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd"; 
name="gremlin-archetype-tinkergraph"
-                      
xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0";
-                      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
-    <fileSets>
-        <fileSet filtered="true">
-            <directory></directory>
-            <includes>
-                <include>README.asciidoc</include>
-            </includes>
-            <excludes>
-                <exclude>**/*.xml</exclude>
-            </excludes>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/main/java</directory>
-        </fileSet>
-        <fileSet filtered="true" packaged="true">
-            <directory>src/test/java</directory>
-        </fileSet>
-    </fileSets>
-
-</archetype-descriptor>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/README.asciidoc
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/README.asciidoc
deleted file mode 100644
index 6535647b88..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/README.asciidoc
+++ /dev/null
@@ -1,32 +0,0 @@
-////
-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.
-////
-= Simple TinkerPop Application
-
-This is a simple starter project that demonstrates how a basic TinkerPop 
project is structured with Maven. This project
-uses 
link:http://tinkerpop.apache.org/docs/${project.version}/reference/#tinkergraph-gremlin[TinkerGraph]
 as an
-embedded graph database, loads it with some data and then executes a shortest 
path calculation, printing the results.
-
-== Prerequisites
-
-* Java 11
-* link:https://maven.apache.org/[Maven 3.3+]
-
-== Building and Running
-
-[source,text]
-mvn clean package
-mvn exec:java -Dexec.mainClass="${package}.App"
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/pom.xml
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/pom.xml
deleted file mode 100644
index 9bd2658e9c..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/pom.xml
+++ /dev/null
@@ -1,89 +0,0 @@
-<!--
-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 TinkerGraph</name>
-
-    <packaging>jar</packaging>
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.tinkerpop</groupId>
-            <artifactId>tinkergraph-gremlin</artifactId>
-            <version>${project.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>ch.qos.logback</groupId>
-            <artifactId>logback-classic</artifactId>
-            <version>${logback.version}</version>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>${junit.version}</version>
-            <scope>test</scope>
-        </dependency>
-    </dependencies>
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-compiler-plugin</artifactId>
-                <version>3.8.0</version>
-                <configuration>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <compilerArgs>
-                        <arg>-parameters</arg>
-                    </compilerArgs>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-
-    <profiles>
-        <profile>
-            <id>jdk11</id>
-            <activation>
-                <jdk>[11,18)</jdk>
-            </activation>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-compiler-plugin</artifactId>
-                        <version>3.8.1</version>
-                        <configuration>
-                            <release>8</release>
-                            <compilerArgs>
-                                <arg>-parameters</arg>
-                            </compilerArgs>
-                        </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-</project>
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/main/java/App.java
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/main/java/App.java
deleted file mode 100644
index ffda151f35..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/main/java/App.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import java.util.List;
-import java.util.ArrayList;
-
-import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-import org.apache.tinkerpop.gremlin.structure.Graph;
-import org.apache.tinkerpop.gremlin.structure.T;
-import org.apache.tinkerpop.gremlin.structure.Vertex;
-
-import static org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.__.*;
-import static 
org.apache.tinkerpop.gremlin.process.traversal.AnonymousTraversalSource.traversal;
-
-public class App {
-
-    public static void main(String[] args) {
-        // Create a new TinkerGraph and load some test data. The Graph 
instance is typically named "graph" as a
-        // variable name. You will see this pattern consistently in TinkerPop 
documentation, the mailing list, etc.
-        Graph graph = TinkerGraph.open();
-        loadData(graph);
-
-        // Create a GraphTraversalSource instance that is used to query the 
data in the Graph instance. This variable
-        // is typically denoted as "g".  In TinkerPop documentation you can 
always count on references to "g" as
-        // being a object of this type.
-        GraphTraversalSource g = traversal().with(graph);
-
-        Vertex fromNode = findByName(g, "marko");
-        Vertex toNode = findByName(g, "peter");
-
-        List list = calculateShortestPathBetween(g, fromNode, toNode);
-        System.out.println(list.toString());
-        System.exit(0);
-    }
-
-    public static Vertex findByName(GraphTraversalSource g, String name) {
-        return g.V().has("name", name).next();
-    }
-
-    public static List calculateShortestPathBetween(GraphTraversalSource g, 
Vertex fromNode, Vertex toNode) {
-        ArrayList list = new ArrayList();
-        
g.V(fromNode).repeat(both().simplePath()).until(is(toNode)).limit(1).path().fill(list);
-        return list;
-    }
-
-    public static void loadData(Graph graph) {
-        // see 
org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerFactory.generateModern()
-        final Vertex marko = graph.addVertex(T.id, 1, T.label, "person", 
"name", "marko", "age", 29);
-        final Vertex vadas = graph.addVertex(T.id, 2, T.label, "person", 
"name", "vadas", "age", 27);
-        final Vertex lop = graph.addVertex(T.id, 3, T.label, "software", 
"name", "lop", "lang", "java");
-        final Vertex josh = graph.addVertex(T.id, 4, T.label, "person", 
"name", "josh", "age", 32);
-        final Vertex ripple = graph.addVertex(T.id, 5, T.label, "software", 
"name", "ripple", "lang", "java");
-        final Vertex peter = graph.addVertex(T.id, 6, T.label, "person", 
"name", "peter", "age", 35);
-        marko.addEdge("knows", vadas, T.id, 7, "weight", 0.5d);
-        marko.addEdge("knows", josh, T.id, 8, "weight", 1.0d);
-        marko.addEdge("created", lop, T.id, 9, "weight", 0.4d);
-        josh.addEdge("created", ripple, T.id, 10, "weight", 1.0d);
-        josh.addEdge("created", lop, T.id, 11, "weight", 0.4d);
-        peter.addEdge("created", lop, T.id, 12, "weight", 0.2d);
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/test/java/AppTest.java
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/test/java/AppTest.java
deleted file mode 100644
index 7b400b76bd..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/main/resources/archetype-resources/src/test/java/AppTest.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * 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.
- */
-package ${package};
-
-import org.apache.tinkerpop.gremlin.tinkergraph.structure.TinkerGraph;
-import 
org.apache.tinkerpop.gremlin.process.traversal.dsl.graph.GraphTraversalSource;
-
-import org.junit.Test;
-
-import static org.junit.Assert.assertEquals;
-
-public class AppTest {
-
-    @Test
-    public void shouldCreateGraph() {
-        TinkerGraph graph = TinkerGraph.open();
-        App.loadData(graph);
-
-        GraphTraversalSource g = graph.traversal();
-
-        assertEquals(6, g.V().count().next().intValue());
-        assertEquals(6, g.E().count().next().intValue());
-    }
-}
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/archetype.properties
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/archetype.properties
deleted file mode 100644
index 9c3e51cbe7..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/archetype.properties
+++ /dev/null
@@ -1,21 +0,0 @@
-# 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.
-
-groupId=org.apache.tinkerpop
-artifactId=gremlin-archetype-tinkergraph
-package=com.test.example
-version=1.0.0-SNAPSHOT
\ No newline at end of file
diff --git 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/goal.txt
 
b/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/goal.txt
deleted file mode 100644
index 4a1a71d336..0000000000
--- 
a/gremlin-archetype/gremlin-archetype-tinkergraph/src/test/resources/projects/standard/goal.txt
+++ /dev/null
@@ -1 +0,0 @@
-verify
\ No newline at end of file
diff --git a/gremlin-archetype/pom.xml b/gremlin-archetype/pom.xml
deleted file mode 100644
index 0c715c925b..0000000000
--- a/gremlin-archetype/pom.xml
+++ /dev/null
@@ -1,73 +0,0 @@
-<!--
-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>
-    <parent>
-        <artifactId>tinkerpop</artifactId>
-        <groupId>org.apache.tinkerpop</groupId>
-        <version>4.0.0-SNAPSHOT</version>
-    </parent>
-
-    <artifactId>gremlin-archetype</artifactId>
-    <name>Apache TinkerPop :: Gremlin Archetype</name>
-    <packaging>pom</packaging>
-
-    <modules>
-        <module>gremlin-archetype-tinkergraph</module>
-        <module>gremlin-archetype-server</module>
-        <module>gremlin-archetype-dsl</module>
-    </modules>
-
-    <build>
-        <pluginManagement>
-            <plugins>
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-archetype-plugin</artifactId>
-                    <version>3.1.0</version>
-                    <executions>
-                        <execution>
-                            <phase>integration-test</phase>
-                            <goals>
-                                <goal>integration-test</goal>
-                            </goals>
-                        </execution>
-                    </executions>
-                    <configuration>
-                        <!-- without this configuration -DskipTests is useless 
-->
-                        <skip>${skipTests}</skip>
-                    </configuration>
-                </plugin>
-
-                <!--
-                  Variables are applied in two separate rounds.  The first 
round applies variables from this pom.xml
-                  and the second round removes escaping from variables so that 
they can become variables during
-                  archetype generation
-                  -->
-                <plugin>
-                    <groupId>org.apache.maven.plugins</groupId>
-                    <artifactId>maven-resources-plugin</artifactId>
-                    <configuration>
-                        <escapeString>\</escapeString>
-                    </configuration>
-                </plugin>
-            </plugins>
-        </pluginManagement>
-    </build>
-</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 311ef51c6d..c0dffeab26 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,7 +140,6 @@ limitations under the License.
         <module>gremlin-driver</module>
         <module>gremlin-console</module>
         <module>gremlin-server</module>
-        <module>gremlin-archetype</module>
         <module>gremlin-tools</module>
         <module>gremlint</module>
         <module>gremlin-util</module>

Reply via email to