Class AbstractWildFlyMojoTest

    • Constructor Detail

      • AbstractWildFlyMojoTest

        public AbstractWildFlyMojoTest()
    • Method Detail

      • lookupMojoAndVerify

        public <T extends org.apache.maven.plugin.Mojo> T lookupMojoAndVerify​(String goal,
                                                                              String fileName)
                                                                       throws Exception
        Configures a MOJO based on the goal and the pom file then verifies the goal MOJO was found.
        Parameters:
        goal - the name of the goal being tested
        fileName - the name of the POM file to be used during testing
        Returns:
        the MOJO object under test
        Throws:
        AssertionError - if the MOJO was not found
        Exception
      • getPomFile

        public static Path getPomFile​(String fileName)
      • getBaseDir

        public static Path getBaseDir()