Uses of Class
com.sap.cds.maven.plugin.AbstractCdsMojo
Packages that use AbstractCdsMojo
-
Uses of AbstractCdsMojo in com.sap.cds.maven.plugin.add
Subclasses of AbstractCdsMojo in com.sap.cds.maven.plugin.addModifier and TypeClassDescriptionclassAdds an integration test module to the CAP Java project.classAdds support of a feature to the CAP Java project.classAdd a custom handler, a unit test, and CDS sample files to the CAP Java project.
Callmvn cds:addSampleormvn com.sap.cds:cds-maven-plugin:addSampleto add sample classes and CDS files.
Note: This goal can only be executed from the command line.
classAdd a target platform dependency (cds-starter-${targetPlatform}) to the service module dependencies of the CAP Java project. -
Uses of AbstractCdsMojo in com.sap.cds.maven.plugin.build
Subclasses of AbstractCdsMojo in com.sap.cds.maven.plugin.buildModifier and TypeClassDescriptionclassPerforms an initial CDS build (same asmvn cds:build) and then watches for changes in the CDS model.classPerform a CDS build with Java class generation executing the following goals of the cds-maven-plugin in this order: cds:install-node cds:install-cdsdk cds:resolve cds:cds cds:generate The list of goals and their order is fixed.classExecute CDS commands on the CAP Java project.
Callmvn cds:cdsormvn com.sap.cds:cds-maven-plugin:cdson the command line to execute all configured CDS commands of the project in current directory.
Several CDS commands can be configured in one execution block and they’re executed in the specified order.classExtracts models from dependency JARs and places them intarget/cds/for reuse by the CDS Compiler.classDelete generated files and directories of the previous build from the CAP Java project.
Callmvn cds:cleanormvn com.sap.cds:cds-maven-plugin:cleanto execute cleaning from the command line.
This goal deletes the following files and directories from the resource directory of the CAP Java project: file: src/main/resources/**/csn.json file: src/main/resources/**/schema.sql directory: src/main/resources/**/edmx/ directory: ${codeOutputDirectory}classGenerates Java POJOs for type-safe access to the CDS model.
This goal scans the resource directory for a csn.json file and uses it for Java source code generation.classInstall the @sap/cds-dk into a CAP Java project.
By default, this goal looks for an already installed @sap/cds-dk and skips installation if it was found.classDownload a Node.js distribution and install it on the local file system.
If the requested version is already installed, the download and installation is skipped.
This goal also considers proxy configurations in the~/.m2/settings.xml.classExecute annpmcommand on the CAP Java project.classExecute annpxcommand on the CAP Java project.classPrints detailed version information about the CAP Java project on the console.
Callcds:versionormvn com.sap.cds:cds-maven-plugin:versionto get detailed version information.
This goal shows the following version information about the CAP Java project and build environment: version of CAP Java SDK including CDS4J console output of command linecds versionversion and location of Apache Maven version and location of Java runtime OS informationclassStarts a CAP Java application and watches for changes in the CDS model.