@Mojo(name="addTargetPlatform",
aggregator=true,
requiresDirectInvocation=true)
public class AddTargetPlatformMojo
extends AbstractCdsMojo
cds-starter-${targetPlatform} to the dependencies of the current CAP Java project
if missing.mvn com.sap.cds:cds-maven-plugin:addTargetPlatform -DtargetPlatform=cloudfoundry to add Cloud
Foundry target platform.| Modifier and Type | Field and Description |
|---|---|
protected org.eclipse.aether.RepositorySystemSession |
repositorySystemSession
Defines settings and components that control the repository system.
|
buildContext, mojoExecution, project, session, settings| Constructor and Description |
|---|
AddTargetPlatformMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected org.apache.maven.project.MavenProject |
findSrvProject() |
protected List<String[]> |
getIntegrationTestTemplates() |
getTopmostProjectDir, isCliExecuted, logDebug, logDebug, logError, logError, logError, logInfo, logWarn, logWarn, logWarn, scanDirectory, setProperty@Parameter(defaultValue="${repositorySystemSession}",
required=true,
readonly=true)
protected org.eclipse.aether.RepositorySystemSession repositorySystemSession
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected org.apache.maven.project.MavenProject findSrvProject()
Copyright © 2021. All rights reserved.