public class SetupVerifier extends Object
| Constructor and Description |
|---|
SetupVerifier() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertThatJarContainsFile(File archive,
String file) |
static void |
assertThatJarContainsFileWithContent(File archive,
String path,
String... lines) |
static void |
assertThatJarDoesNotContainFile(File archive,
String file) |
static void |
assertThatJarExists(File archive) |
static Optional<org.apache.maven.model.Plugin> |
hasPlugin(org.apache.maven.project.MavenProject project,
String pluginKey) |
static void |
verifySetup(File pomFile) |
static void |
verifySetupWithVersion(File pomFile) |
public static void assertThatJarExists(File archive) throws Exception
Exceptionpublic static void assertThatJarContainsFile(File archive, String file) throws Exception
Exceptionpublic static void assertThatJarDoesNotContainFile(File archive, String file) throws Exception
Exceptionpublic static void assertThatJarContainsFileWithContent(File archive, String path, String... lines) throws Exception
Exceptionpublic static Optional<org.apache.maven.model.Plugin> hasPlugin(org.apache.maven.project.MavenProject project, String pluginKey)
Copyright © 2020 JBoss by Red Hat. All rights reserved.