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

io.quarkus.bootstrap.resolver.maven.workspace.UnresolvedVersionException Maven / Gradle / Ivy

There is a newer version: 3.17.0.CR1
Show newest version
package io.quarkus.bootstrap.resolver.maven.workspace;

/**
 * Thrown if a "Maven CI Friendly Versions" property in the version could not be resolved.
 *
 * @see Maven CI Friendly Versions (maven.apache.org)
 */
public class UnresolvedVersionException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    public static UnresolvedVersionException forGa(String groupId, String artifactId, String rawVersion) {
        return new UnresolvedVersionException(
                "Failed to resolve version '" + rawVersion + "' for " + groupId + ":" + artifactId);
    }

    public UnresolvedVersionException(String message) {
        super(message);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy