Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 606 for Scope (0.02 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/MavenArtifactMetadata.java

            return datum;
        }
    
        public void setDatum(Object datum) {
            this.datum = datum;
        }
    
        public String getScope() {
            return scope;
        }
    
        public void setScope(String scope) {
            this.scope = scope;
        }
    
        @Override
        public String toString() {
            return getGroupId() + ":" + getArtifactId() + ":" + getVersion() + ":"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  2. compat/maven-builder-support/pom.xml

      <dependencies>
        <dependency>
          <groupId>org.apache.maven</groupId>
          <artifactId>maven-api-core</artifactId>
          <scope>provided</scope>
        </dependency>
        <dependency>
          <groupId>org.junit.jupiter</groupId>
          <artifactId>junit-jupiter-api</artifactId>
          <scope>test</scope>
        </dependency>
      </dependencies>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

        // ------------------------------------------------------------------------
        public MetadataTreeNode(ArtifactMetadata md, MetadataTreeNode parent, boolean resolved, ArtifactScopeEnum scope) {
            if (md != null) {
                md.setArtifactScope(ArtifactScopeEnum.checkScope(scope));
                md.setResolved(resolved);
            }
    
            this.md = md;
            this.parent = parent;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/dependencies/dependencies-with-yield.md

    * `"request"`:在處理請求的路徑操作函式之前啟動相依(與使用 `"function"` 類似),但在回應送回用戶端之後才結束相依。所以,相依函式會在整個**請求**與回應循環的「周圍」執行。
    
    如果未指定且相依使用了 `yield`,則預設 `scope` 為 `"request"`。
    
    ### 子相依的 `scope` { #scope-for-sub-dependencies }
    
    當你宣告一個 `scope="request"`(預設值)的相依時,任何子相依也需要有 `"request"` 的 `scope`。
    
    但一個 `scope` 為 `"function"` 的相依,可以擁有 `scope` 為 `"function"` 或 `"request"` 的子相依。
    
    這是因為任何相依都需要能在子相依之前執行其結束程式碼,因為它可能在結束程式碼中仍需要使用那些子相依。
    
    ```mermaid
    sequenceDiagram
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  5. fastapi/security/oauth2.py

            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
        Note that for OAuth2 the scope `items:read` is a single scope in an opaque string.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Mar 24 16:32:10 GMT 2026
    - 23.6K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/ProjectScope.java

     */
    @Experimental
    @Immutable
    @SuppressWarnings("checkstyle:InterfaceIsType")
    public interface ProjectScope extends ExtensibleEnum {
    
        /**
         * Main scope.
         */
        ProjectScope MAIN = projectScope("main");
    
        /**
         * Test scope.
         */
        ProjectScope TEST = projectScope("test");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Feb 05 09:42:51 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

                + "        <artifactId>base2</artifactId>\n"
                + "        <version>1</version>\n"
                + "        <type>pom</type>\n"
                + "        <scope>import</scope>\n"
                + "      </dependency>\n"
                + "    </dependencies>\n"
                + "  </dependencyManagement>\n"
                + "</project>\n";
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PomBuilder.java

                    xml.append("            <version>").append(dependency.version).append("</version>\n");
                    if (dependency.scope != null) {
                        xml.append("            <scope>").append(dependency.scope).append("</scope>\n");
                    }
                    xml.append("        </dependency>\n");
                }
                xml.append("    </dependencies>\n");
            }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

        String ROLE = ClasspathTransformation.class.getName();
    
        /**
         * Transform Graph into a Collection of metadata objects that
         * could serve as a classpath for a particular scope
         *
         * @param dirtyGraph - dependency graph
         * @param scope - which classpath to extract
         * @param resolve - whether to resolve artifacts.
         * @return Collection of metadata objects in the linked subgraph of the graph which
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/scopes/Maven4ScopeManagerConfiguration.java

    import org.eclipse.aether.impl.scope.BuildScopeMatrixSource;
    import org.eclipse.aether.impl.scope.BuildScopeSource;
    import org.eclipse.aether.impl.scope.CommonBuilds;
    import org.eclipse.aether.impl.scope.InternalScopeManager;
    import org.eclipse.aether.impl.scope.ScopeManagerConfiguration;
    import org.eclipse.aether.internal.impl.scope.ScopeManagerDump;
    
    import static org.eclipse.aether.impl.scope.BuildScopeQuery.all;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 9.2K bytes
    - Click Count (0)
Back to Top