Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 214 for scopes (0.16 sec)

  1. maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

            }
            return projectKeys;
        }
    
        private Collection<String> negate(Collection<String> scopes) {
            Collection<String> result = new HashSet<>();
            Collections.addAll(result, "system", "compile", "provided", "runtime", "test");
    
            for (String scope : scopes) {
                if ("compile".equals(scope)) {
                    result.remove("compile");
                    result.remove("system");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

    import org.apache.maven.di.Injector;
    import org.apache.maven.di.Key;
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.execution.scope.internal.MojoExecutionScope;
    import org.apache.maven.execution.scope.internal.MojoExecutionScopeModule;
    import org.apache.maven.internal.impl.DefaultLog;
    import org.apache.maven.internal.impl.DefaultMojoExecution;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/DefaultArtifactCollectorTest.java

            /* farthest = provided */
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_COMPILE, Artifact.SCOPE_COMPILE);
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED, Artifact.SCOPE_PROVIDED);
            checkScopeUpdate(Artifact.SCOPE_PROVIDED, Artifact.SCOPE_RUNTIME, Artifact.SCOPE_RUNTIME);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  4. 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 May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

            }
    
            if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                desiredScope = Artifact.SCOPE_TEST;
            }
    
            if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
                desiredScope = Artifact.SCOPE_PROVIDED;
            }
    
            if (Artifact.SCOPE_SYSTEM.equals(scope)) {
                // system scopes come through unchanged...
                desiredScope = Artifact.SCOPE_SYSTEM;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sat Feb 17 18:40:11 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/session/scope/SessionScopeProxyTest.java

        }
    
        @Named
        static class MySingletonBean {
            @Inject
            @Named("scoped")
            BeanItf myBean;
    
            @Inject
            @Named("another")
            BeanItf2 anotherBean;
        }
    
        @Named
        static class MySingletonBean2 {
            @Inject
            @Named("scoped")
            MySessionScopedBean myBean;
    
            @Inject
            @Named("another")
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. maven-core/src/test/projects/project-builder/it0063/pom.xml

      <name>Maven Integration Test :: it0063</name>
      <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>
    
    XML
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sun Nov 23 12:04:30 GMT 2014
    - 1.7K bytes
    - Viewed (0)
  8. maven-compat/src/test/projects/project-dependencies-resolver/it0063/pom.xml

      <name>Maven Integration Test :: it0063</name>
      <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>
    
    XML
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/execution/scope/WeakMojoExecutionListener.java

     * trigger instantiation of the component, hence "weak" class name prefix. Only applies to mojo execution
     * scoped components.
     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     *
     * @see org.apache.maven.execution.MojoExecutionListener
     * @since 3.1.2
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

            /* farthest is runtime and nearest has lower priority, change to runtime */
            if (Artifact.SCOPE_RUNTIME.equals(farthestArtifact.getScope())
                    && (Artifact.SCOPE_TEST.equals(nearestArtifact.getScope())
                            || Artifact.SCOPE_PROVIDED.equals(nearestArtifact.getScope()))) {
                updateScope = true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 36.7K bytes
    - Viewed (0)
Back to top