public void execute()

in src/main/java/org/apache/maven/plugins/jmod/JModListMojo.java [62:75]


    public void execute() throws MojoExecutionException, MojoFailureException {
        try {
            String jModExecutable = getJModExecutable();
            getLog().debug("Toolchain in maven-jmod-plugin: jmod [ " + jModExecutable + " ]");

            Commandline cmd = createJModListCommandLine();
            cmd.setExecutable(jModExecutable);

            getLog().info("The following files are contained in the module file " + jmodFile.getAbsolutePath());
            executeCommand(cmd, outputDirectory);
        } catch (IOException e) {
            throw new MojoFailureException("Unable to find jmod command: " + e.getMessage(), e);
        }
    }