Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for Split (0.23 sec)

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

            }
    
            value = FILTER_1.matcher(value).replaceAll("");
    
            List<String> valueTokens = new ArrayList<>(Arrays.asList(FILTER_2.split(value)));
            List<String> rangeValueTokens = new ArrayList<>(Arrays.asList(FILTER_3.split(rangeValue.value)));
    
            addZeroTokens(valueTokens, 3);
            addZeroTokens(rangeValueTokens, 3);
    
            for (int i = 0; i < 3; i++) {
    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

            if (relocationsEntries == null) {
                return null;
            }
            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
    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/model/DefaultModelInterpolator.java

             * which to start, and using expressions split at the dot ('.') to navigate
             * the object graph beneath this root.
             * @param root the root of the graph.
             */
            public ObjectBasedValueSource(Object root) {
                super(true);
                this.root = root;
            }
    
            /**
             * <p>Split the expression into parts, tokenized on the dot ('.') character. Then,
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

            if (WILDCARD.equals(pattern) || pattern.equals(originalId)) {
                result = true;
            } else {
                // process the list
                String[] repos = pattern.split(",");
                for (String repo : repos) {
                    repo = repo.trim();
                    // see if this is a negative match
                    if (repo.length() > 1 && repo.startsWith("!")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

            this.mojos = mojos;
        }
    
        public void set(String goals) {
            mojos = new ArrayList<>();
    
            if (goals != null && !goals.isEmpty()) {
                String[] mojoGoals = goals.split(",");
                mojos = Arrays.stream(mojoGoals).map(fromGoalIntoLifecycleMojo).collect(Collectors.toList());
            }
        }
    
        private final Function<String, LifecycleMojo> fromGoalIntoLifecycleMojo = s -> {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/SnapshotArtifactRepositoryMetadata.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     * Metadata for the artifact version directory of the repository.
     *
     * TODO split instantiation (versioning, plugin mappings) from definition
     */
    @Deprecated
    public class SnapshotArtifactRepositoryMetadata extends AbstractRepositoryMetadata {
        private Artifact artifact;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/Lifecycles.java

            return new DefaultPhase(name, Collections.singletonList(plugin), Collections.emptyList());
        }
    
        static Plugin plugin(String coord, String phase) {
            String[] c = coord.split(":");
            return Plugin.newBuilder()
                    .groupId(c[0])
                    .artifactId(c[1])
                    .version(c[2])
                    .executions(Collections.singletonList(PluginExecution.newBuilder()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
            // lines
            for (String line : lines) {
                sb.setLength(0);
                String[] words = S_FILTER.split(line);
                for (String word : words) {
                    if (sb.length() >= remainder - word.length() - (sb.length() > 0 ? 1 : 0)) {
                        repeat(sb, ' ', remainder - sb.length());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Feb 07 20:55:12 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecycleTaskSegmentCalculator.java

            if (tasks.isEmpty()
                    && (rootProject.getDefaultGoal() != null
                            && !rootProject.getDefaultGoal().isEmpty())) {
                tasks = Stream.of(rootProject.getDefaultGoal().split("\\s+"))
                        .filter(g -> !g.isEmpty())
                        .collect(Collectors.toList());
            }
    
            return calculateTaskSegments(session, tasks);
        }
    
        @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java

            if (properties.containsKey(REMAINING_PROJECTS) && !(str1 != null && !str1.isEmpty())) {
                String propertyValue = properties.getProperty(REMAINING_PROJECTS);
                Stream.of(propertyValue.split(PROPERTY_DELIMITER))
                        .filter(str -> str != null && !str.isEmpty())
                        .forEach(request.getProjectActivation()::activateOptionalProject);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 06 08:51:18 GMT 2023
    - 4.9K bytes
    - Viewed (0)
Back to top