Creating an Endpoints Backend Project
To create a project for your backend:
-
Invoke maven as follows:
mvn archetype:generate -
Supply the value
appengine-skeleton-archetypewhen prompted for a number or filter to narrow down the list of available archetypes. -
Choose the number corresponding to the displayed result
com.google.appengine.archetypes:appengine-skeleton-archetypewhen prompted, then press Return. -
Supply the value
com.google.appengine.samples.helloendpointswhen prompted to define the value for propertygroupId, then press Return. -
Supply the value
helloendpointswhen prompted to define the value for propertyartifactId, then press Return. -
Accept the default
versionby pressing Return. -
Accept the default
packageby pressing Return.
If you see instructions for configuring the generated pom.xml file, stop.
We'll describe that step in more detail next in this tutorial.
Next...
You now have the basic structure of the project completed. You need to configure the project before adding code.
Continue to Configuring the Project for Endpoints.