Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for setId (0.19 sec)

  1. maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
            Activation defaultActivation = new Activation();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/DefaultSettingsValidatorTest.java

            Profile profile = new Profile();
            profile.setId("pro");
            settings.addProfile(profile);
            Repository repo1 = new Repository();
            repo1.setUrl("http://apache.org/");
            repo1.setId("test");
            profile.addRepository(repo1);
            Repository repo2 = new Repository();
            repo2.setUrl("http://apache.org/");
            repo2.setId("test");
            profile.addRepository(repo2);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            public String getProtocol() {
                return repository.getProtocol();
            }
    
            public String getId() {
                return repository.getId();
            }
    
            public void setId(String id) {}
    
            public ArtifactRepositoryPolicy getSnapshots() {
                return null;
            }
    
            public void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy) {}
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    } else {
                        plugins.put(plugin, plugin);
                    }
    
                    PluginExecution execution = new PluginExecution();
                    execution.setId(getExecutionId(plugin, gs.goal));
                    execution.setPhase(phase);
                    execution.setPriority(i - mojos.size());
                    execution.getGoals().add(gs.goal);
    
    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)
  5. maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  6. maven-core/src/test/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactoryTest.java

        }
    
        @Test
        void wagonProviderConfigurationTest() throws InvalidRepositoryException {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
            Xpp3Dom configuration = new Xpp3Dom("configuration");
            Xpp3Dom wagonProvider = new Xpp3Dom("wagonProvider");
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Mar 27 14:46:12 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/AbstractLifecycleMappingProvider.java

            for (int i = 0; i < len; i = i + 2) {
                lifecyclePhaseBindings.put(pluginBindings[i], new LifecyclePhase(pluginBindings[i + 1]));
            }
    
            Lifecycle lifecycle = new Lifecycle();
            lifecycle.setId("default");
            lifecycle.setLifecyclePhases(Collections.unmodifiableMap(lifecyclePhaseBindings));
    
            this.lifecycleMapping = new DefaultLifecycleMapping(Collections.singletonList(lifecycle));
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Apr 23 15:34:45 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleExecutor.java

            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
                pluginExecution.addGoal(goal);
                plugin.addExecution(pluginExecution);
            }
    
            return plugin;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java

            assertEquals(basedir, new File(repo.getBasedir()));
        }
    
        @Test
        void testAuthenticationHandling() {
            Server server = new Server();
            server.setId("repository");
            server.setUsername("jason");
            server.setPassword("abc123");
    
            ArtifactRepository repository =
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  10. maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java

            policy.setEnabled(true);
            policy.setChecksumPolicy("ignore");
            policy.setUpdatePolicy("always");
    
            Repository repository = new Repository();
            repository.setId(MavenRepositorySystem.DEFAULT_REMOTE_REPO_ID);
            repository.setUrl("file://" + repoDir.toURI().getPath());
            repository.setReleases(policy);
            repository.setSnapshots(policy);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 11.7K bytes
    - Viewed (0)
Back to top