Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for pattern (0.15 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

     */
    @Named("jdk-version")
    @Singleton
    public class JdkVersionProfileActivator implements ProfileActivator {
    
        private static final Pattern FILTER_1 = Pattern.compile("[^\\d._-]");
        private static final Pattern FILTER_2 = Pattern.compile("[._-]");
        private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

    @Named
    @Singleton
    public class DefaultModelVersionParser implements ModelVersionParser {
        private static final String SNAPSHOT = "SNAPSHOT";
        private static final Pattern SNAPSHOT_TIMESTAMP = Pattern.compile("^(.*-)?([0-9]{8}\\.[0-9]{6}-[0-9]+)$");
        private final VersionScheme versionScheme;
    
        @Inject
        public DefaultModelVersionParser(VersionScheme versionScheme) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

         *
         * @param pattern a <a href="../util/Formatter.html#syntax">format string</a>
         * @param args arguments referenced by the format specifiers in the format string
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder format(String pattern, Object... args) {
            return append(String.format(pattern, args));
        }
    
        /**
         * Set the buffer length.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Jan 08 10:37:09 GMT 2024
    - 7K bytes
    - Viewed (0)
  5. maven-compat/src/test/java/org/apache/maven/repository/DefaultMirrorSelectorTest.java

            ArtifactRepository repository = new DefaultArtifactRepository("snapshots.repo", "http://whatever", null);
            String pattern = "external:*, !snapshots.repo";
            assertFalse(DefaultMirrorSelector.matchPattern(repository, pattern));
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsValidator.java

    import org.apache.maven.api.settings.Settings;
    
    /**
     */
    public class DefaultSettingsValidator {
    
        private static final String ID = "[\\w.-]+";
        private static final Pattern ID_REGEX = Pattern.compile(ID);
    
        private static final String ILLEGAL_REPO_ID_CHARS = "\\/:\"<>|?*"; // ILLEGAL_FS_CHARS
    
        public void validate(Settings settings, boolean isProjectSettings, List<BuilderProblem> problems) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/offline-mode.apt

      Since we're only going to concern ourselves with states where localhost is
      still active, we only need to worry about this case when the server container
      is <<not>> installed on localhost. This allows the popular pattern of starting
      a server container in-JVM, running tests against it, and shutting it down.
    
    ** SCM mojos
    
      See below for discussion on SCM-related operations. Any mojo which
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. api/maven-api-model/src/main/mdo/maven.mdo

          <name>PatternSet</name>
          <version>3.0.0+</version>
          <description>Definition of include or exclude patterns.</description>
          <fields>
            <field>
              <name>includes</name>
              <version>3.0.0+</version>
              <description>
                A list of patterns to include, e.g. {@code **&amp;#47;*.xml}.
              </description>
              <association>
                <type>String</type>
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 13:29:46 GMT 2024
    - 115.1K bytes
    - Viewed (0)
Back to top