Package org.moxie

Examples of org.moxie.PurgePolicy


  public void setDescription(String value) {
    this.description = value;
  }

  protected PurgePolicy getPurgePolicy() {
    PurgePolicy policy;
    if (baseDir == null) {
      // deploy to local repository
      policy = getBuild().getConfig().getPurgePolicy();
    } else {
      // deploy to specified repository
      policy = new PurgePolicy();
      policy.retentionCount = 1;
    }

    // override purge policy
    if (revisionRetentionCount > -1) {
View Full Code Here


    // calculate checksums
    calculateChecksums(artifactDir, revisionArtifact + "*");

    // update SNAPSHOT metadata and purge obsolete artifacts
    PurgePolicy policy = getPurgePolicy();
    updateSnapshotMetadata(artifactDir, asDependency, policy);
   
    // update ARTIFACTS metadata
    updateArtifactsMetadata(artifactDir, asDependency);
 
View Full Code Here

TOP

Related Classes of org.moxie.PurgePolicy

Copyright © 2018 www.massapicom. 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.