Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for SplitN (0.17 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-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)
  4. 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)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                }
            }
        }
    
        private GoalSpec parseGoalSpec(String goalSpec) {
            GoalSpec gs = new GoalSpec();
    
            String[] p = goalSpec.trim().split(":");
    
            if (p.length == 3) {
                // <groupId>:<artifactId>:<goal>
                gs.groupId = p[0];
                gs.artifactId = p[1];
                gs.goal = p[2];
            } else if (p.length == 4) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
                if (line.startsWith("||")) {
                    String[] cols = line.split("\\|\\|");
                    String[] expected = new String[] {
                        "",
                        "type",
                        "classifier",
                        "extension",
                        "packaging",
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Dec 14 10:51:16 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

                    LifecycleMojo mojo = mojos.get(i);
    
                    // Compute goal coordinates
                    String groupId, artifactId, version, goal;
                    String[] p = mojo.getGoal().trim().split(":");
                    if (p.length == 3) {
                        // <groupId>:<artifactId>:<goal>
                        groupId = p[0];
                        artifactId = p[1];
                        version = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top