Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for existing_id (0.05 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

        private String getExecutionId(Plugin plugin, String goal) {
            Set<String> existingIds = new HashSet<>();
            for (PluginExecution execution : plugin.getExecutions()) {
                existingIds.add(execution.getId());
            }
    
            String base = "default-" + goal;
            String id = base;
    
            for (int index = 1; existingIds.contains(id); index++) {
                id = base + '-' + index;
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

        private static String getExecutionId(Plugin plugin, String goal) {
            Set<String> existingIds = plugin != null
                    ? plugin.getExecutions().stream().map(PluginExecution::getId).collect(Collectors.toSet())
                    : Set.of();
            String base = "default-" + goal;
            String id = base;
            for (int index = 1; existingIds.contains(id); index++) {
                id = base + '-' + index;
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top