Uses of Interface
com.sap.cds.maven.plugin.CdsMojoLogger

Packages that use CdsMojoLogger
  • Uses of CdsMojoLogger in com.sap.cds.maven.plugin

    Classes in com.sap.cds.maven.plugin that implement CdsMojoLogger
    Modifier and Type
    Class
    Description
    class 
    An abstract base class for all CDS-related Mojos (Maven Old Java Object)
  • Uses of CdsMojoLogger in com.sap.cds.maven.plugin.add

    Modifier and Type
    Class
    Description
    class 
    Adds an integration test module to the CAP Java project.
    class 
    Adds support of a feature to the CAP Java project.
    class 
    Add a custom handler, a unit test, and CDS sample files to the CAP Java project.
    Call mvn cds:addSample or mvn com.sap.cds:cds-maven-plugin:addSample to add sample classes and CDS files.

    Note: This goal can only be executed from the command line.

    class 
    Add a target platform dependency (cds-starter-${targetPlatform}) to the service module dependencies of the CAP Java project.
  • Uses of CdsMojoLogger in com.sap.cds.maven.plugin.build

    Modifier and Type
    Class
    Description
    class 
    Performs an initial CDS build (same as mvn cds:build) and then watches for changes in the CDS model.
    class 
    Perform 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.
    class 
    Execute CDS commands on the CAP Java project.
    Call mvn cds:cds or mvn com.sap.cds:cds-maven-plugin:cds on 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.
    class 
    Extracts models from dependency JARs and places them in target/cds/ for reuse by the CDS Compiler.
    class 
    Delete generated files and directories of the previous build from the CAP Java project.
    Call mvn cds:clean or mvn com.sap.cds:cds-maven-plugin:clean to 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}
    class 
    Generates 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.
    class 
    Install 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.
    class 
    Download 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.
    class 
    Execute an npm command on the CAP Java project.
    class 
    Execute an npx command on the CAP Java project.
    class 
    Prints detailed version information about the CAP Java project on the console.
    Call cds:version or mvn com.sap.cds:cds-maven-plugin:version to 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 line cds version version and location of Apache Maven version and location of Java runtime OS information
    class 
    Starts a CAP Java application and watches for changes in the CDS model.
  • Uses of CdsMojoLogger in com.sap.cds.maven.plugin.util

    Methods in com.sap.cds.maven.plugin.util with parameters of type CdsMojoLogger
    Modifier and Type
    Method
    Description
    static org.apache.maven.settings.Server
    Utils.decryptServer(String serverId, org.apache.maven.execution.MavenSession mavenSession, org.apache.maven.settings.crypto.SettingsDecrypter decrypter, CdsMojoLogger logger)
     
    int
    ProcessExecutor.execute(OutputStream outputStream, OutputStream errOutputStream, CdsMojoLogger logger)
     
    ProcessExecutor.executeAndGetResult(CdsMojoLogger logger)
    Executes the process.
    static File
    Utils.findExecutable(String execName, CdsMojoLogger logger)
    Finds the location of given executable on local file-system.
    Constructors in com.sap.cds.maven.plugin.util with parameters of type CdsMojoLogger
    Modifier
    Constructor
    Description
     
    Constructs a new DirectoryWatcher instance.
     
    Constructs a new Downloader instance.
     
    Downloader(List<org.apache.maven.settings.Proxy> proxies, org.apache.maven.settings.Server server, CdsMojoLogger logger)
    Constructs a new Downloader instance.