- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 194 for catcher (0.55 sec)
-
maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
if (artifact.isSnapshot()) { Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion()); if (matcher.matches()) { Snapshot snapshot = new Snapshot(); snapshot.setTimestamp(matcher.group(2)); try { snapshot.setBuildNumber(Integer.parseInt(matcher.group(3)));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 24.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
RequirementMatcher matcher; matcher = RequirementMatcherFactory.createVersionMatcher("1.5.2"); assertFalse(matcher.matches("1.5")); assertTrue(matcher.matches("1.5.2")); assertFalse(matcher.matches("[1.4,1.5)")); assertFalse(matcher.matches("[1.5,1.5.2)")); assertFalse(matcher.matches("(1.5.2,1.6)")); assertTrue(matcher.matches("(1.4,1.5.2]"));
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 2.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelCache.java
*/ package org.apache.maven.api.services; import java.util.function.Supplier; /** * Caches auxiliary data used during model building like already processed raw/effective models. The data in the cache * is meant for exclusive consumption by the model builder and is opaque to the cache implementation. The cache key is * formed by a combination of group id, artifact id, version and tag. The first three components generally refer to the
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 1.6K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/PluginRealmCache.java
/** * Registers the specified cache record for usage with the given project. Integrators can use the information * collected from this method in combination with a custom cache implementation to dispose unused records from the * cache. * * @param project The project that employs the plugin realm, must not be {@code null}. * @param record The cache record being used for the project, must not be {@code null}.
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Sep 06 08:39:32 UTC 2023 - 3.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelCache.java
} else { if (anew) { cache = new ConcurrentHashMap<>(); repositoryCache.put(session, KEY, cache); } else { cache = (ConcurrentHashMap<Object, Supplier<?>>) repositoryCache.computeIfAbsent(session, KEY, ConcurrentHashMap::new); } return new DefaultModelCache(cache); } }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 6.8K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuildingResultWithProblemMessageMatcher.java
package org.apache.maven.project; import org.apache.maven.model.building.ModelProblem; import org.hamcrest.BaseMatcher; import org.hamcrest.Description; import org.hamcrest.Matcher; import static java.util.stream.Collectors.joining; /** * Hamcrest matcher to help create fluent assertions about {@link ProjectBuildingResult} instances. */ class ProjectBuildingResultWithProblemMessageMatcher extends BaseMatcher<ProjectBuildingResult> {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 2.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
} RequirementMatcher matcher; if ("version".equals(key)) { matcher = RequirementMatcherFactory.createVersionMatcher(value); } else { matcher = RequirementMatcherFactory.createExactMatcher(value); } jtc.addProvideToken(key, matcher); } // populate the configuration section
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 4K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
} ResolutionGroup cached = cache.get( artifact, request.isResolveManagedVersions(), request.getLocalRepository(), request.getRemoteRepositories()); if (cached != null // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 09:07:17 UTC 2023 - 30.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelResolver.java
} List<Version> versions = session.resolveVersionRange(coord); if (versions.isEmpty()) { throw new ModelResolverException( String.format("No versions matched the requested version range '%s'", version), groupId, artifactId, version); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu May 02 15:10:38 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolverResult.java
private PathModularization outputModules; /** * Cache of module information about each dependency. */ private final PathModularizationCache cache; /** * Creates an initially empty result. Callers should add path elements by calls * to {@link #addDependency(Node, Dependency, Predicate, Path)}. * * @param cache cache of module information about each dependency
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 14.6K bytes - Viewed (0)