Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 838 for scoped (0.28 sec)

  1. compat/maven-compat/src/test/resources/projects/scope/project-with-scoped-dependencies.xml

        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>scope-provided</artifactId>
          <version>1.0</version>
          <scope>provided</scope>
        </dependency>
    
        <dependency>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

        }
    
        @Named
        static class MySingletonBean {
            @Inject
            @Named("scoped")
            BeanItf myBean;
    
            @Inject
            @Named("another")
            BeanItf2 anotherBean;
        }
    
        @Named
        static class MySingletonBean2 {
            @Inject
            @Named("scoped")
            MySessionScopedBean myBean;
    
            @Inject
            @Named("another")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/projects/project-builder/it0063/pom.xml

      <name>Maven Integration Test :: it0063</name>
      <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description>
    
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            resolutionErrorHandler.throwErrors(request, result);
            assertEquals(2, result.getArtifacts().size());
    
            //
            // System scoped version which should
            //
            d.setScope(Artifact.SCOPE_SYSTEM);
            File file = new File(getBasedir(), "src/test/repository-system/maven-core-2.1.0.jar");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. api/maven-api-di/src/main/java/org/apache/maven/api/di/package-info.java

     * to be lightweight yet powerful, supporting various scopes of object lifecycle from
     * singleton instances to mojo-execution-scoped beans.
     * <p>
     * Key features include:
     * <ul>
     *   <li>Constructor, method, and field injection</li>
     *   <li>Qualifiers for distinguishing between beans of the same type</li>
     *   <li>Multiple scopes (Singleton, Session, and MojoExecution)</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 896 bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

                        && a.getArtifactId().equals("tools")) {
                    // The system scoped dependencies will be present in the classloader for the plugin
                    return;
                }
            }
    
            fail("Can't find the system scoped dependency in the plugin artifacts.");
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <name>Maven Integration Test :: it0063</name>
      <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description>
    
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. api/maven-api-di/src/main/java/org/apache/maven/api/di/Singleton.java

    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Denotes that a bean should be created as a singleton instance.
     * <p>
     * Singleton-scoped beans are instantiated once and reused throughout the entire
     * Maven execution. This scope should be used for stateless services or components
     * that can be safely shared across the entire build process.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Singleton
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

         * functionality. This implementation uses request-scoped caching ({@link CacheRetention#REQUEST_SCOPED})
         * since it represents a POM file that is actively being built and may change during the build process.
         * <p>
         * The request-scoped retention policy ensures that:
         * <ul>
         *   <li>Changes to the POM file during the build are detected</li>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            this.scopedVertices = scopedVertices;
    
            // scoped graph is versioned by definition
            if (scopedVertices) {
                versionedVertices = true;
            }
        }
    
        public ArtifactScopeEnum getScope() {
            return scope;
        }
    
        public void setScope(ArtifactScopeEnum scope) {
            this.scope = scope;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top