Create Java project with Maven archetype odatav4-sample

Contains a sample OData V4 service that mashes up data from OData V2 and HANA for your reference

Create a Java Project by archetype odatav4-sample with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dhdi-container-service="My-hdi-container-service"   -DarchetypeGroupId="com.sap.cloud.servicesdk.archetypes"   -DarchetypeArtifactId="odatav4-sample"   -DarchetypeVersion="1.40.1"   -DinteractiveMode=false 

Required parameters for generate java project:

hdi-container-service
validationRegex: none

Details about maven archetype odatav4-sample

GroupId

GroupId

com.sap.cloud.servicesdk.archetypes
ArtifactId

ArtifactId

odatav4-sample
Version

Version

1.40.1
Type

Type

maven-archetype

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.sap.cloud.servicesdk.archetypes -DarchetypeArtifactId=odatav4-sample -DarchetypeVersion=1.40.1 -DinteractiveMode=false