Examples of VersionPolicy


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

    }

    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
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.