Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for setId (0.02 seconds)

  1. impl/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");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 19.1K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulatorTest.java

            MavenExecutionRequest request = new DefaultMavenExecutionRequest();
    
            Repository r = new Repository();
            r.setId("test");
            r.setUrl("file:///test");
    
            Profile p = new Profile();
            p.setId("test");
            p.addPluginRepository(r);
    
            Settings settings = new Settings();
            settings.addProfile(p);
            settings.addActiveProfile(p.getId());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Phase.java

        /**
         * Set the ID of this phase, e.g.,
         * <code>generate-sources</code>.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  5. compat/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();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

        /**
         * Set the ID of this lifecycle, for identification in the mojo
         * descriptor.
         *
         * @param id a id object.
         */
        public void setId(String id) {
            this.id = id;
        } // -- void setId( String )
    
        /**
         * Set the phase mappings for this lifecycle.
         *
         * @param phases a phases object.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
            if (profileActivation != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  8. impl/maven-core/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.setGoals(Collections.singletonList(goal));
                plugin.addExecution(pluginExecution);
            }
    
            return plugin;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/Lifecycle.java

        /**
         * Method getLifecyclePhases
         */
        public Map<String, LifecyclePhase> getLifecyclePhases() {
            return this.lifecyclePhases;
        }
    
        /**
         * Method setId
         *
         * @param id
         */
        public void setId(String id) {
            this.id = id;
        }
    
        /**
         * Method setLifecyclePhases
         *
         * @param lifecyclePhases
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/lifecycle/EmptyLifecyclePluginAnalyzer.java

            plugin.setArtifactId(artifactId);
    
            for (String goal : goals) {
                PluginExecution pluginExecution = new PluginExecution();
                pluginExecution.setId("default-" + goal);
                pluginExecution.addGoal(goal);
                plugin.addExecution(pluginExecution);
            }
    
            return plugin;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top