Maven archetype for FunctionGraph sample project

To ease project setup, following maven archetype can be used.

Install maven archetype

To install archtype, see Installing libraries.

Create sample FunctionGraph project

To create a simple java 17 project using maven archetype use:

mvn archetype:generate                                 \
  -DarchetypeGroupId=io.github.opentelekomcloud        \
  -DarchetypeArtifactId=opentelekomcloud-functiongraph-archetype \
  -DarchetypeVersion=1.0.0                     \
  -DgroupId=com.sample                                 \
  -DartifactId=sample                                  \
  -DhandlerClassName=MyHandler

Building the project

In root of generated project use one of following commands to build project:

mvn clean install