Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 255 for singleton (0.07 seconds)

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

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Provider;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.TreeSet;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jun 12 14:55:55 GMT 2025
    - 21K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.inheritance;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.LinkedHashMap;
    import java.util.List;
    import java.util.Map;
    import java.util.Properties;
    
    import org.apache.maven.model.InputLocation;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/package-info.java

     *   <li>Optionally extend {@link org.apache.maven.cling.invoker.mvnup.goals.AbstractUpgradeStrategy}</li>
     *   <li>Annotate with {@code @Named} and {@code @Singleton}</li>
     *   <li>Use {@code @Priority} to control execution order</li>
     * </ol>
     *
     * @since 4.0.0
     */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/Graph.java

        }
    
        List<String> visitAll() {
            return visitAll(vertices.values(), new HashMap<>(), new ArrayList<>());
        }
    
        List<String> findCycle(Vertex vertex) {
            return visitCycle(Collections.singleton(vertex), new HashMap<>(), new LinkedList<>());
        }
    
        private static List<String> visitAll(
                Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  6. api/maven-api-core/src/test/java/org/apache/maven/api/MonotonicClockTest.java

    import static org.junit.jupiter.api.Assertions.assertSame;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    class MonotonicClockTest {
    
        @Test
        @DisplayName("MonotonicClock singleton instance should always return the same instance")
        void testSingletonInstance() {
            MonotonicClock clock1 = MonotonicClock.get();
            MonotonicClock clock2 = MonotonicClock.get();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 06:28:29 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.artifact.repository.metadata;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. impl/maven-core/src/site/apt/getting-to-container-configured-mojos.apt

      of most plexus components has been to avoid instance state like the plague.
      With the current parameter passing model of mojos, this will not be possible,
      particularly when we move mojos to a singleton instantiation model, and then
      run a reactorized project...the successive calls may leave behind configuration
      artifacts from invocation to invocation.
    
    Maven Modifications
    
    * DefaultPluginManager
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java

        }
    
        List<String> visitAll() {
            return visitAll(vertices.values(), new HashMap<>(), new ArrayList<>());
        }
    
        List<String> findCycle(Vertex vertex) {
            return visitCycle(Collections.singleton(vertex), new HashMap<>(), new LinkedList<>());
        }
    
        private static List<String> visitAll(
                Collection<Vertex> children, Map<Vertex, DfsState> stateMap, List<String> list) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.graph;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.util.ArrayList;
    import java.util.Collections;
    import java.util.HashMap;
    import java.util.HashSet;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Map;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
Back to Top