- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for pattern (0.19 sec)
-
maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
artifact.setFile(result.getArtifact().getFile()); artifact.setResolved(true); 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 {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 24.8K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
// global-level settings somewhere other than ${user.home} and ${maven.home}, // respectively. Using a simple replacement of these patterns will allow them // to specify the absolute path to these files in a customized components.xml // file. Ideally, we'd do full pattern-evaluation against the sysprops, but this // is a first step. There are several replacements below, in order to normalize
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 6.2K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java
* </ul> * * @param originalRepository to compare for a match. * @param pattern used for match. * @return true if the repository is a match to this pattern. */ static boolean matchPattern(ArtifactRepository originalRepository, String pattern) { boolean result = false; String originalId = originalRepository.getId();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Feb 17 18:40:11 GMT 2024 - 32.6K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java
public static final List<String> VALID_MODEL_VERSIONS = Collections.unmodifiableList(Arrays.asList("4.0.0", "4.1.0")); private static final Pattern EXPRESSION_NAME_PATTERN = Pattern.compile("\\$\\{(.+?)}"); private static final Pattern EXPRESSION_PROJECT_NAME_PATTERN = Pattern.compile("\\$\\{(project.+?)}"); private static final String ILLEGAL_FS_CHARS = "\\/:\"<>|?*";
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 13:13:07 GMT 2024 - 73.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/rtinfo/RuntimeInformation.java
/** * Checks whether the current Maven runtime matches the specified version range. A version range can either use the * usual mathematical syntax "[2.0.10,2.1.0),[3.0,)" or use a single version "2.2.1". The latter is a short form for * "[2.2.1,)", i.e. denotes the minimum version required. * * @param versionRange The version range to match the current Maven runtime against, must not be {@code null}.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 1.9K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java
/** * Information about the modules contained in a path element. * The path element may be a JAR file or a directory. Directories may use either package hierarchy * or module hierarchy, but not module source hierarchy. The latter is excluded because this class * is for path elements of compiled codes. */ class PathModularization { /** * A unique constant for all non-modular dependencies. */
Java - Registered: Sun Mar 24 03:35:10 GMT 2024 - Last Modified: Fri Mar 01 17:18:13 GMT 2024 - 11.2K bytes - Viewed (0) -
maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java
import java.nio.file.attribute.BasicFileAttributes; import java.util.regex.Pattern; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class ComparableVersionIT { @Test void test() throws Exception { Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() { Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Sat Apr 15 17:24:20 GMT 2023 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/project/MavenProjectHelper.java
* @param includes include patterns. * @param excludes exclude patterns. */ void addResource(MavenProject project, String resourceDirectory, List<String> includes, List<String> excludes); /** * Add a test resource directory to the project. * @param project project reference. * @param resourceDirectory directory. * @param includes include patterns. * @param excludes exclude patterns.
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 2.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExcludesArtifactFilter.java
import org.apache.maven.artifact.Artifact; /** * Filter to exclude from a list of artifact patterns. * * TODO I think this is equiv. to exclusion set filter in maven-core */ public class ExcludesArtifactFilter extends IncludesArtifactFilter { public ExcludesArtifactFilter(List<String> patterns) { super(patterns); } public boolean include(Artifact artifact) { return !super.include(artifact);
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.3K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ExclusionArtifactFilter.java
import java.util.function.Predicate; import java.util.stream.Collectors; import org.apache.maven.artifact.Artifact; import org.apache.maven.model.Exclusion; /** * Filter to exclude from a list of artifact patterns. */ public class ExclusionArtifactFilter implements ArtifactFilter { private final List<Exclusion> exclusions; private final List<Predicate<Artifact>> predicates;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Aug 29 15:25:58 GMT 2023 - 3K bytes - Viewed (0)