Examples of VersionPolicyRequest


Examples of org.apache.maven.shared.release.policy.version.VersionPolicyRequest

    private String resolveSuggestedVersion( String baseVersion, String policyId )
        throws PolicyException, VersionParseException
    {
        VersionPolicy policy = versionPolicies.get( policyId );
        VersionPolicyRequest request = new VersionPolicyRequest().setVersion( baseVersion );

        return convertToSnapshot ? policy.getDevelopmentVersion( request ).getVersion()
                        : policy.getReleaseVersion( request ).getVersion();
    }
View Full Code Here

Examples of org.apache.maven.shared.release.policy.version.VersionPolicyRequest

        assertEquals( "1.0.2", suggestedVersion );
    }

    private static VersionPolicyRequest newVersionPolicyRequest( String version )
    {
        return new VersionPolicyRequest().setVersion( version );
    }
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.