Package au.net.ocean.maven.plugin.annotation

Examples of au.net.ocean.maven.plugin.annotation.Mojo.goal()


    private static String errorMessage(OceanMojo mojo, List<String> configErrors) {
        Mojo mojoAnnotation = mojo.getClass().getAnnotation(Mojo.class);

        StringBuilder errorMessage = new StringBuilder("One or more required plugin parameters are invalid/missing for '")
                .append(mojo.getPrefix()).append(':').append(mojoAnnotation.goal()).append("'\n\n");
        for (String error : configErrors) {
            errorMessage.append(error).append("\n");
        }
        return errorMessage.toString();
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.