Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 549 for SCOPE (0.13 sec)

  1. impl/maven-core/src/test/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeTest.java

            MojoExecutionScope scope = new MojoExecutionScope();
    
            scope.enter();
    
            Object o1 = new Object();
            scope.seed(Object.class, o1);
            assertSame(o1, scope.scope(Key.get(Object.class), () -> null).get());
    
            scope.enter();
            Object o2 = new Object();
            scope.seed(Object.class, o2);
            assertSame(o2, scope.scope(Key.get(Object.class), () -> null).get());
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NameServiceClientTest.java

            String scope = "testScope";
            when(nameServiceClient.getNbtByName(host, type, scope)).thenThrow(new UnknownHostException("Host not found"));
    
            // Act & Assert
            assertThrows(UnknownHostException.class, () -> nameServiceClient.getNbtByName(host, type, scope));
            verify(nameServiceClient, times(1)).getNbtByName(host, type, scope);
        }
    
        @Test
        void testGetNbtByName_String() throws UnknownHostException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/scope/internal/MojoExecutionScopeModule.java

        protected final MojoExecutionScope scope;
    
        public MojoExecutionScopeModule(MojoExecutionScope scope) {
            this.scope = scope;
        }
    
        @Override
        protected void configure() {
            bindScope(MojoExecutionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.MojoExecutionScoped.class, scope);
            bind(MojoExecutionScope.class).toInstance(scope);
            bind(MavenProject.class)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        };
    
        /**
         * scope relationship function. Used by the graph conflict resolution policies
         *
         * @param scope a scope
         * @return true is supplied scope is an inclusive sub-scope of current one.
         */
        public boolean encloses(ArtifactScopeEnum scope) {
            final ArtifactScopeEnum s = checkScope(scope);
    
            // system scope is historic only - and simple
            if (id == system.id) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/local-repo/snapshot-test/poms/maven-test-snapshot-resolving-1.0.pom

          <version>1.0-SNAPSHOT</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>snapshot-test</groupId>
          <artifactId>maven-snapshot-b</artifactId>
          <version>1.0-SNAPSHOT</version>
          <type>jar</type>
          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>snapshot-test</groupId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/resources/projects/scope/transitive-compile-dep.xml

        </dependency>
    
        <dependency>
          <groupId>maven-test-compile</groupId>
          <artifactId>scope-runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test-compile</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </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)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                String type,
                String classifier,
                String scope,
                String inheritedScope,
                boolean optional) {
            String desiredScope = Artifact.SCOPE_RUNTIME;
    
            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScopeModule.java

    public class SessionScopeModule extends AbstractModule {
        private final SessionScope scope;
    
        @Inject
        public SessionScopeModule() {
            this(new SessionScope());
        }
    
        public SessionScopeModule(SessionScope scope) {
            this.scope = scope;
        }
    
        @Override
        protected void configure() {
            bindScope(SessionScoped.class, scope);
            // bindScope(org.apache.maven.api.di.SessionScoped.class, scope);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. pom.xml

    			<version>2.2</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.mockito</groupId>
    			<artifactId>mockito-core</artifactId>
    			<version>5.11.0</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    			<groupId>org.testcontainers</groupId>
    			<artifactId>testcontainers</artifactId>
    			<version>1.21.3</version>
    			<scope>test</scope>
    		</dependency>
    		<dependency>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

                @Nonnull Session session, @Nonnull DependencyCoordinates root, @Nonnull PathScope scope) {
            return collect(
                    DependencyResolverRequest.build(session, DependencyResolverRequest.RequestType.COLLECT, root, scope));
        }
    
        /**
         * Collects the transitive dependencies of some artifacts and builds a dependency graph for the given path scope.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top