Create Java project with Maven archetype cds-services-archetype

Maven Archetype to initialize a CDS Java project using best practices

Create a Java Project by archetype cds-services-archetype with Command Line:

mvn archetype:generate   -DgroupId="com.mycompany.app"   -DartifactId="my-app-id"   -Dversion="My-version"   -Dpackage="My-package"   -DtargetPlatform="My-targetPlatform"   -DincludeModel="My-includeModel"   -DincludeIntegrationTest="My-includeIntegrationTest"   -DnodeUrl="My-nodeUrl"   -DodataVersion="My-odataVersion"   -DarchetypeGroupId="com.sap.cds"   -DarchetypeArtifactId="cds-services-archetype"   -DarchetypeVersion="1.25.0"   -DinteractiveMode=false 

Required parameters for generate java project:

version
validationRegex: none
package
validationRegex: none
targetPlatform
validationRegex: none
includeModel
validationRegex: none
includeIntegrationTest
validationRegex: none
nodeUrl
validationRegex: none
odataVersion
validationRegex: none

Generated Project modules

  • ${rootArtifactId}

Details about maven archetype cds-services-archetype

License

License

GroupId

GroupId

com.sap.cds
ArtifactId

ArtifactId

cds-services-archetype
Version

Version

1.25.0
Type

Type

maven-archetype
Description

Description

CDS Services Maven Archetype
Maven Archetype to initialize a CDS Java project using best practices
Project URL

Project URL

https://cap.cloud.sap/docs/java

How to add to project

mvn archetype:generate -DgroupId=<com.mycompany.app> -DartifactId=<my-app>  -DarchetypeGroupId=com.sap.cds -DarchetypeArtifactId=cds-services-archetype -DarchetypeVersion=1.25.0 -DinteractiveMode=false

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.