Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 606 for Scope (0.02 seconds)

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

            }
        }
    
        interface DependenciesPointer extends Pointer {
            /**
             * Returns the dependency scope this pointer applies to.
             *
             * @return the dependency scope, or "all" if not specified
             */
            String scope(); // default: all
    
            /**
             * Returns the type of pointer, which is always DEPENDENCIES for a DependenciesPointer.
             *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategyTest.java

                                <scope>test</scope>
                            </dependency>
                            <dependency>
                                <groupId>junit</groupId>
                                <artifactId>junit</artifactId>
                                <version>4.13.2</version>
                                <scope>test</scope>
                            </dependency>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/ScopeArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link ScopeArtifactFilter}.
     *
     */
    class ScopeArtifactFilterTest {
    
        private Artifact newArtifact(String scope) {
            return new DefaultArtifact("g", "a", "1.0", scope, "jar", "", null);
        }
    
        @Test
        void testIncludeCompile() {
            ScopeArtifactFilter filter = new ScopeArtifactFilter(Artifact.SCOPE_COMPILE);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

    import org.apache.maven.artifact.versioning.VersionRange;
    
    /**
     * Maven Artifact interface. Notice that it mixes artifact definition concepts (groupId, artifactId, version)
     * with dependency information (version range, scope).
     */
    public interface Artifact extends Comparable<Artifact> {
    
        @Deprecated(since = "4.0.0")
        String RELEASE_VERSION = "RELEASE";
    
        @Deprecated(since = "4.0.0")
        String LATEST_VERSION = "LATEST";
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. pom.xml

    			<artifactId>commons-io</artifactId>
    			<version>2.19.0</version>
    		</dependency>
    		<dependency>
    			<groupId>junit</groupId>
    			<artifactId>junit</artifactId>
    			<version>4.13.2</version>
    			<scope>test</scope>
    		</dependency>
    	</dependencies>
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Dec 20 04:17:15 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/security/simple-oauth2.md

    しかし、ログイン用の path operation では、仕様との互換性を保つ(たとえば組み込みのAPIドキュメントシステムを使えるようにする)ために、これらの名前を使う必要があります。
    
    また、仕様では `username` と `password` はフォームデータとして送らなければならない(つまり、ここではJSONは使わない)ことも定められています。
    
    ### `scope` { #scope }
    
    仕様では、クライアントは追加のフォームフィールド「`scope`」を送ることができるとも書かれています。
    
    フォームフィールド名は `scope`(単数形)ですが、実態はスペース区切りの「スコープ」文字列を並べた長い文字列です。
    
    各「スコープ」は(スペースを含まない)単なる文字列です。
    
    通常、特定のセキュリティ権限を宣言するために使われます。例えば:
    
    - `users:read` や `users:write` はよくある例です。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            artifact.setDependencyTrail(dependencyTrail);
        }
    
        /** {@inheritDoc} */
        @Override
        public void setScope(String scope) {
            artifact.setScope(scope);
        }
    
        /** {@inheritDoc} */
        @Override
        public VersionRange getVersionRange() {
            return artifact.getVersionRange();
        }
    
        /** {@inheritDoc} */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

        }
    
        private ArtifactSpec createArtifactSpec(String id, String version, String scope)
                throws InvalidVersionSpecificationException {
            return createArtifactSpec(id, version, scope, null, false);
        }
    
        private ArtifactSpec createArtifactSpec(
                String id, String version, String scope, String inheritedScope, boolean optional)
                throws InvalidVersionSpecificationException {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 43K bytes
    - Click Count (0)
  9. docs_src/dependencies/tutorial008e_py310.py

    app = FastAPI()
    
    
    def get_username():
        try:
            yield "Rick"
        finally:
            print("Cleanup up before response is sent")
    
    
    @app.get("/users/me")
    def get_user_me(username: str = Depends(get_username, scope="function")):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 289 bytes
    - Click Count (0)
  10. docs/ko/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | 기술 세부사항
    
    `Request`에는 `request.scope` 속성이 있는데, 이는 요청과 관련된 메타데이터를 담고 있는 Python `dict`입니다.
    
    `Request`에는 또한 `request.receive`가 있는데, 이는 요청의 바디를 "받기(receive)" 위한 함수입니다.
    
    `scope` `dict`와 `receive` 함수는 모두 ASGI 명세의 일부입니다.
    
    그리고 이 두 가지, `scope`와 `receive`가 새로운 `Request` 인스턴스를 만드는 데 필요한 것들입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 5.2K bytes
    - Click Count (0)
Back to Top