Create Java project with Maven archetype odatav2

Develop OData V2 services with SAP Cloud Platform SDK for service development

Create a Java Project by archetype odatav2 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="odatav2"   -DarchetypeVersion="1.40.11"   -DinteractiveMode=false 

Required parameters for generate java project:

hdi-container-service
validationRegex: none

Details about maven archetype odatav2

License

License

GroupId

GroupId

com.sap.cloud.servicesdk.archetypes
ArtifactId

ArtifactId

odatav2
Version

Version

1.40.11
Type

Type

maven-archetype
Description

Description

odatav2
Develop OData V2 services with SAP Cloud Platform SDK for service development
Project URL

Project URL

http://www.sap.com
Project Organization

Project Organization

SAP

How to add to project

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

Dependencies

compile (3)

Group / Artifact Type Version
com.sap.cloud.servicesdk : hana-connectivity-cds jar 1.40.11
com.sap.cloud.servicesdk : odata-v2-connectivity-dependencies pom 1.40.11
com.sap.cloud.servicesdk.prov : projects-parent pom 1.40.11

Project Modules

There are no modules declared in this project.