Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 573 for scope1 (0.03 seconds)

  1. 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) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  2. 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());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/resources/projects/scope/transitive-default-dep.xml

        </dependency>
    
        <dependency>
          <groupId>maven-test-default</groupId>
          <artifactId>scope-runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test-default</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
      </dependencies>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/resources/projects/scope/transitive-test-dep.xml

        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-runtime</artifactId>
          <version>1.0</version>
          <scope>runtime</scope>
        </dependency>
    
        <dependency>
          <groupId>maven-test-test</groupId>
          <artifactId>scope-compile</artifactId>
          <version>1.0</version>
          <scope>compile</scope>
        </dependency>
    
      </dependencies>
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  5. 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.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  6. tests/test_security_scopes_sub_dependency.py

            call_counts["get_current_user"] += 1
            return {
                "user": f"user_{call_counts['get_current_user']}",
                "scopes": security_scopes.scopes,
                "db_session": db_session,
            }
    
        def get_user_me(
            current_user: Annotated[dict, Security(get_current_user, scopes=["me"])],
        ):
            call_counts["get_user_me"] += 1
            return {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/DefaultArtifactTest.java

            artifact = new DefaultArtifact(groupId, artifactId, versionRange, scope, type, classifier, artifactHandler);
    
            snapshotVersionRange = VersionRange.createFromVersion(snapshotResolvedVersion);
            snapshotArtifact = new DefaultArtifact(
                    groupId, artifactId, snapshotVersionRange, scope, type, classifier, artifactHandler);
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 7.4K bytes
    - Click Count (0)
  8. 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)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilter.java

        private final String scope;
    
        public ScopeArtifactFilter(String scope) {
            this.scope = scope;
    
            addScopeInternal(scope);
        }
    
        public String getScope() {
            return scope;
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
    
            hash = hash * 31 + (scope != null ? scope.hashCode() : 0);
    
            return hash;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  10. tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py

        dependencies=[Security(oauth2_scheme, scopes=["read", "write"])],
    )
    async def read_with_oauth2_scheme():
        return {"message": "Admin Access"}
    
    
    @app.get(
        "/with-get-token", dependencies=[Security(get_token, scopes=["read", "write"])]
    )
    async def read_with_get_token():
        return {"message": "Admin Access"}
    
    
    router = APIRouter(dependencies=[Security(oauth2_scheme, scopes=["read"])])
    
    
    @router.get("/items/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.6K bytes
    - Click Count (0)
Back to Top