public class Constants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENDPOINT |
static String |
ERROR_GENERAL |
static String |
ERROR_RERUN_WITH_DEBUG |
static String |
SNYK_FILENAME |
| Modifier and Type | Method and Description |
|---|---|
static void |
displayAuthError(org.apache.maven.plugin.logging.Log log,
boolean failOnAuthError)
display a generic authentication error message to the build log
|
static String |
parseEndpoint(String endpoint)
parses the protocol://host:port from the defined endpoint
|
public static final String SNYK_FILENAME
public static final String DEFAULT_ENDPOINT
public static final String ERROR_GENERAL
public static final String ERROR_RERUN_WITH_DEBUG
public static String parseEndpoint(String endpoint)
endpoint - the defined endpointpublic static void displayAuthError(org.apache.maven.plugin.logging.Log log,
boolean failOnAuthError)
throws org.apache.maven.plugin.MojoFailureException
log - the build logorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2020. All rights reserved.