All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.codehaus.mojo.versions.api.DisplayParentUpdateReport Maven / Gradle / Ivy

Go to download

Versions Plugin for Maven 2. The Versions Plugin updates the versions of components in the POM.

The newest version!
package org.codehaus.mojo.versions.api;

import org.apache.maven.artifact.Artifact;

public class DisplayParentUpdateReport {
    private final Artifact parentArtifact;
    private final String currentVersion;
    private final String latestVersion;

    public DisplayParentUpdateReport(Artifact parentArtifact, String currentVersion, String latestVersion) {
        this.parentArtifact = parentArtifact;
        this.currentVersion = currentVersion;
        this.latestVersion = latestVersion;
    }

    public String getCurrentVersion() {
        return currentVersion;
    }

    public String getLatestVersion() {
        return latestVersion;
    }

    public Artifact getParentArtifact() {
        return parentArtifact;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy