Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 413 for scope (0.15 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Scope.java

        IMPORT("import"); // TODO: v4: remove import scope somehow
    
        private final String id;
    
        private static final Map<String, Scope> SCOPES;
    
        static {
            Map<String, Scope> scopes = new HashMap<>();
            for (Scope s : Scope.values()) {
                scopes.put(s.id, s);
            }
            SCOPES = scopes;
        }
    
        Scope(String id) {
            this.id = id;
        }
    
    Java
    - Registered: Sun Feb 04 03:35:10 GMT 2024
    - Last Modified: Fri Dec 08 08:42:44 GMT 2023
    - 1.7K bytes
    - Viewed (1)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

    import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    @Documented
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  3. .idea/scopes/scope_settings.xml

    Maxim Shafirov <******@****.***> 1308913888 +0400
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 24 11:11:28 GMT 2011
    - 139 bytes
    - Viewed (0)
  4. tests/test_route_scope.py

    
    @app.get("/users/{user_id}")
    async def get_user(user_id: str, request: Request):
        route: APIRoute = request.scope["route"]
        return {"user_id": user_id, "path": route.path}
    
    
    @app.websocket("/items/{item_id}")
    async def websocket_item(item_id: str, websocket: WebSocket):
        route: APIWebSocketRoute = websocket.scope["route"]
        await websocket.accept()
        await websocket.send_json({"item_id": item_id, "path": route.path})
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Feb 08 10:23:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want compile inherited as runtime
                desiredScope = Artifact.SCOPE_COMPILE;
            }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  6. 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>
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 2.7K bytes
    - Viewed (0)
  7. 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>
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Oct 26 20:16:00 GMT 2009
    - 1.6K bytes
    - Viewed (0)
  8. maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            artifact = getArtifact(project, "maven-test-test", "scope-default");
            assertEquals("test", artifact.getScope(), "Check scope");
            artifact = getArtifact(project, "maven-test-test", "scope-runtime");
            assertEquals("test", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a provided dependency are provided scope, except for test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
         * @return the list of resources
         */
        List<Resource> getResources(@Nonnull Project project, @Nonnull ProjectScope scope);
    
        /**
         * Add a resource set to the given project for the given scope.
         *
         * @param project the project
         * @param scope the scope, i.e. usually main or test
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 17:13:31 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.kt

    ) : KtFe10ScopeResolution() {
        override fun getPossibleCallableNames(): Set<Name> = withValidityAssertion {
            return scope.getFunctionNames() + scope.getVariableNames()
        }
    
        override fun getPossibleClassifierNames(): Set<Name> = withValidityAssertion {
            return scope.getClassifierNames() ?: emptySet()
        }
    
        override fun getConstructors(): Sequence<KtConstructorSymbol> = sequence {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
Back to top