Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 631 for dependency2 (0.04 sec)

  1. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/RepositorySystemTest.java

            List<Dependency> deps = result.getDependencies();
            assertEquals(2, deps.size());
            checkUtSimpleArtifactDependencies(deps.get(0), deps.get(1));
        }
    
        /**
         * check ut.simple:artifact:1.0 dependencies
         */
        private void checkUtSimpleArtifactDependencies(Dependency dep1, Dependency dep2) {
            assertEquals("compile", dep1.getScope());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. fastapi/security/api_key.py

        the key value sent in the query parameter automatically and provides it as the
        dependency result. But it doesn't define how to send that API key to the client.
    
        ## Usage
    
        Create an instance object and use that object as the dependency in `Depends()`.
    
        The dependency result will be a string containing the key value.
    
        ## Example
    
        ```python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 9.6K bytes
    - Viewed (1)
  3. docs/en/docs/advanced/advanced-dependencies.md

    And that way we are able to "parameterize" our dependency, that now has `"bar"` inside of it, as the attribute `checker.fixed_content`.
    
    ## Use the instance as a dependency { #use-the-instance-as-a-dependency }
    
    Then, we could use this `checker` in a `Depends(checker)`, instead of `Depends(FixedContentQueryChecker)`, because the dependency is the instance, `checker`, not the class itself.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Thu Nov 13 07:37:15 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DependencyResolutionException.java

            StringBuilder msg = new StringBuilder(message);
            msg.append(System.lineSeparator());
            for (Dependency dependency : result.getUnresolvedDependencies()) {
                msg.append("dependency: ").append(dependency).append(System.lineSeparator());
                List<Exception> exceptions = result.getResolutionErrors(dependency);
                for (Exception e : exceptions) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/projects/project-builder/it0063/pom.xml

      <description>Test the use of a system scoped dependency to a (fake) tools.jar.</description>
    
      <dependencies>
        <dependency>
          <groupId>com.sun</groupId>
          <artifactId>tools</artifactId>
          <version>1.4.2</version>
          <scope>system</scope>
          <systemPath>${jre.home}/../lib/tools.jar</systemPath>
        </dependency>
      </dependencies>
    
      <build>
        <plugins>
          <plugin>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/ProjectClasspathTestType.java

            // check all transitive deps of a provided dependency are provided scope, except for test
            checkGroupIdScope(project, "provided", "maven-test-provided");
            artifact = getArtifact(project, "maven-test-provided", "scope-runtime");
            assertEquals("provided", artifact.getScope(), "Check scope");
    
            // check all transitive deps of a runtime dependency are runtime scope, except for test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/test/resources/inheritance-repo/t04/p0/p1/pom.xml

      <scm>
        <url>scm-url</url>
      </scm>
    
      <dependencies>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t04-a</artifactId>
        </dependency>
    
        <dependency>
          <groupId>maven-test</groupId>
          <artifactId>t04-c</artifactId>
          <version>1.0</version>
        </dependency>
    
      </dependencies>
      <build>
        <plugins>
          <plugin>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 876 bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

        }
    
        private boolean areAllDependenciesInReactor(
                Collection<MavenProject> projects, Collection<Dependency> dependencies) {
            Set<String> projectKeys = getReactorProjectKeys(projects);
    
            for (Dependency dependency : dependencies) {
                org.eclipse.aether.artifact.Artifact a = dependency.getArtifact();
                String key = ArtifactUtils.key(a.getGroupId(), a.getArtifactId(), a.getVersion());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultProjectDependencyGraph.java

        private final Map<MavenProject, Integer> order;
    
        private final Map<String, MavenProject> projects;
    
        /**
         * Creates a new project dependency graph based on the specified projects.
         *
         * @param projects The projects to create the dependency graph with
         * @throws DuplicateProjectException
         * @throws CycleDetectedException
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava-testlib/README.md

    To add a dependency on Guava testlib using Maven, use the following:
    
    ```xml
    <dependency>
      <groupId>com.google.guava</groupId>
      <artifactId>guava-testlib</artifactId>
      <version>33.5.0-jre</version>
      <scope>test</scope>
    </dependency>
    ```
    
    To add a dependency using Gradle:
    
    ```gradle
    dependencies {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 16 22:01:32 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top