Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 371 - 380 of 981 for Void (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

        public LifecyclePhase(String goals) {
            set(goals);
        }
    
        public List<LifecycleMojo> getMojos() {
            return mojos;
        }
    
        public void setMojos(List<LifecycleMojo> mojos) {
            this.mojos = mojos;
        }
    
        public void set(String goals) {
            mojos = new ArrayList<>();
    
            if (goals != null && !goals.isEmpty()) {
                String[] mojoGoals = goals.split(",");
    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)
  2. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorCache.java

        }
    
        Key createKey(Plugin plugin, List<RemoteRepository> repositories, RepositorySystemSession session);
    
        void put(Key key, PluginDescriptor pluginDescriptor);
    
        PluginDescriptor get(Key key);
    
        default PluginDescriptor get(Key key, PluginDescriptorSupplier supplier)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/graph/FilteredProjectDependencyGraphTest.java

        private final MavenProject bProject = createProject("B");
    
        private final MavenProject cProject = createProject("C");
    
        @ParameterizedTest
        @ValueSource(booleans = {true, false})
        void downstreamProjectsShouldBeCached(boolean transitive) {
            FilteredProjectDependencyGraph graph =
                    new FilteredProjectDependencyGraph(projectDependencyGraph, List.of(aProject));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 04 20:56:29 GMT 2025
    - 3K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultSessionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.mockito.Mockito.mock;
    
    public class DefaultSessionTest {
    
        @Test
        void testRootDirectoryWithNull() {
            RepositorySystemSession rss = new DefaultRepositorySystemSession(h -> false);
            DefaultMavenExecutionRequest mer = new DefaultMavenExecutionRequest();
    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)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

            void shouldSaveModificationsToDisk() {
                assertTrue(applyGoal.shouldSaveModifications(), "Apply goal should save modifications to disk");
            }
        }
    
        @Nested
        @DisplayName("Execution")
        class ExecutionTests {
    
            @Test
            @DisplayName("should log appropriate header message")
            void shouldLogAppropriateHeaderMessage() throws Exception {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

        }
    
        protected void assertUniqueKey(Key key) {
            if (cache.containsKey(key)) {
                throw new IllegalStateException("Duplicate artifact resolution result for project " + key);
            }
        }
    
        @Override
        public void flush() {
            cache.clear();
        }
    
        @Override
        public void register(MavenProject project, Key cacheKey, CacheRecord record) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. build-logic/documentation/src/test/resources/org/gradle/test/GroovyClassWithImports.groovy

    package org.gradle.test
    
    import org.gradle.test.sub.*;
    
    class GroovyClassWithImports extends SubGroovyClass implements SubJavaInterface, GroovyInterface {
        void close() {
        }
    }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 228 bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/impl/EventSpyImpl.java

    /**
     * Bridges between Maven3 events and Maven4 events.
     */
    @Named
    @Singleton
    public class EventSpyImpl implements EventSpy {
        @Override
        public void init(Context context) throws Exception {}
    
        @Override
        public void onEvent(Object arg) throws Exception {
            if (arg instanceof ExecutionEvent ee) {
                InternalMavenSession session =
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 29 20:53:26 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

     *
     */
    class OrganizationTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Organization().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Organization().equals(null));
    
            new Organization().equals(new Organization());
        }
    
        @Test
        void testEqualsIdentity() {
            Organization thing = new Organization();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  10. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Lifecycle.java

         * @param phase a phase object.
         */
        public void removePhase(Phase phase) {
            getPhases().remove(phase);
        } // -- void removePhase( Phase )
    
        /**
         * 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 )
    
        /**
    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)
Back to Top