Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 570 for scope (0.22 seconds)

  1. 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)
  2. 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)
  3. tests/test_tutorial/test_security/test_tutorial005.py

        return mod
    
    
    def get_access_token(
        *, username="johndoe", password="secret", scope=None, client: TestClient
    ):
        data = {"username": username, "password": password}
        if scope:
            data["scope"] = scope
        response = client.post("/token", data=data)
        content = response.json()
        access_token = content.get("access_token")
        return access_token
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  4. tests/test_dependency_cache.py

    ):
        return {"counter": count, "subcounter": subcount}
    
    
    @app.get("/scope-counter")
    async def get_scope_counter(
        count: int = Security(dep_counter),
        scope_count_1: int = Security(dep_counter, scopes=["scope"]),
        scope_count_2: int = Security(dep_counter, scopes=["scope"]),
    ):
        return {
            "counter": count,
            "scope_counter_1": scope_count_1,
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Aug 23 13:30:24 GMT 2022
    - 2.7K bytes
    - Click Count (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>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  6. compat/maven-compat/pom.xml

          <scope>compile</scope>
        </dependency>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-testing</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
          <groupId>org.mockito</groupId>
          <artifactId>mockito-core</artifactId>
          <scope>test</scope>
        </dependency>
        <dependency>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. 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>
    
    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)
  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);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * {@return all enabled sources that provide files in the given language for the given scope}.
         * If the given scope is {@code null}, then this method returns the enabled sources for all scopes.
         * If the given language is {@code null}, then this method returns the enabled sources for all languages.
         * An arbitrary number of source roots may exist for the same scope and language.
         * It may be, for example, the case of a multi-versions project.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  10. docs_src/security/tutorial005_py310.py

            username: str = payload.get("sub")
            if username is None:
                raise credentials_exception
            scope: str = payload.get("scope", "")
            token_scopes = scope.split(" ")
            token_data = TokenData(scopes=token_scopes, username=username)
        except (InvalidTokenError, ValidationError):
            raise credentials_exception
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Sep 29 02:57:38 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top