- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for OverConstrainedVersionException (0.23 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/OverConstrainedVersionException.java
/** * Occurs when ranges exclude each other and no valid value remains. * */ public class OverConstrainedVersionException extends ArtifactResolutionException { public OverConstrainedVersionException(String msg, Artifact artifact) { super(msg, artifact); } public OverConstrainedVersionException(String msg, Artifact artifact, List<ArtifactRepository> remoteRepositories) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolver.java
import javax.inject.Singleton; import org.apache.maven.artifact.resolver.ResolutionNode; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.artifact.versioning.OverConstrainedVersionException; /** * Resolves conflicting artifacts by always selecting the newest declaration. Newest is defined as the * declaration whose version is greater according to <code>ArtifactVersion.compareTo</code>. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ResolutionNode.java
trail = null; } /** * @return {@link List} < {@link String} > with artifact ids * @throws OverConstrainedVersionException if version specification is over constrained */ public List<String> getDependencyTrail() throws OverConstrainedVersionException { List<Artifact> trial = getTrail(); List<String> ret = new ArrayList<>(trial.size());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolver.java
import javax.inject.Singleton; import org.apache.maven.artifact.resolver.ResolutionNode; import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.artifact.versioning.OverConstrainedVersionException; /** * Resolves conflicting artifacts by always selecting the oldest declaration. Oldest is defined as the * declaration whose version is less according to <code>ArtifactVersion.compareTo</code>. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
boolean isOptional(); void setOptional(boolean optional); ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException; boolean isSelectedVersionKnown() throws OverConstrainedVersionException;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionResult.java
exceptions = initList(exceptions); exceptions.add(e); return this; } public OverConstrainedVersionException getVersionRangeViolation(int i) { return (OverConstrainedVersionException) versionRangeViolations.get(i); } public List<Exception> getVersionRangeViolations() { return versionRangeViolations == null
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
} /** {@inheritDoc} */ public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException { return artifact.getSelectedVersion(); } /** {@inheritDoc} */ public boolean isSelectedVersionKnown() throws OverConstrainedVersionException { return artifact.isSelectedVersionKnown(); } /** {@inheritDoc} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionResult.java
exceptions = initList(exceptions); exceptions.add(e); return this; } public OverConstrainedVersionException getVersionRangeViolation(int i) { return (OverConstrainedVersionException) versionRangeViolations.get(i); } public List<Exception> getVersionRangeViolations() { return versionRangeViolations == null
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
import org.apache.maven.artifact.versioning.ArtifactVersion; import org.apache.maven.artifact.versioning.ManagedVersionMap; import org.apache.maven.artifact.versioning.OverConstrainedVersionException; import org.apache.maven.artifact.versioning.VersionRange; import org.apache.maven.execution.MavenSession; import org.apache.maven.plugin.LegacySupport;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 36.7K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
} public ArtifactVersion getSelectedVersion(Artifact artifact) throws OverConstrainedVersionException { ArtifactVersion version; if (recommendedVersion != null) { version = recommendedVersion; } else { if (restrictions.size() == 0) { throw new OverConstrainedVersionException("The artifact has no valid ranges", artifact); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 19K bytes - Viewed (0)