Examples of EnforcerRuleHelper


Examples of org.apache.maven.enforcer.rule.api.EnforcerRuleHelper

    @Test
    public void validateCorrectPom() throws Exception {

        // Assemble
        final MavenProject project = MavenTestUtils.readPom("testdata/poms/tools-parent.xml");
        final EnforcerRuleHelper mockHelper = new MockEnforcerRuleHelper(project);
        final ValidateProjectType unitUnderTest = new ValidateProjectType();

        // Act & Assert
        unitUnderTest.execute(mockHelper);
    }
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.