Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 239 for scope (0.17 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java

        }
    
        @Override
        public void setDependencyTrail(List<String> dependencyTrail) {
            this.dependencyTrail = dependencyTrail;
        }
    
        @Override
        public void setScope(String scope) {
            this.scope = scope;
        }
    
        @Override
        public VersionRange getVersionRange() {
            return versionRange;
        }
    
        @Override
        public void setVersionRange(VersionRange versionRange) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Feb 09 19:20:54 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultDependencyResolver.java

        }
    
        private static DependencyFilter getScopeDependencyFilter(PathScope scope) {
            Set<String> scopes =
                    scope.dependencyScopes().stream().map(DependencyScope::id).collect(Collectors.toSet());
            return (n, p) -> {
                org.eclipse.aether.graph.Dependency d = n.getDependency();
                return d == null || scopes.contains(d.getScope());
            };
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/artifact/factory/ArtifactFactory.java

        Artifact createArtifactWithClassifier(
                String groupId, String artifactId, String version, String type, String classifier);
    
        Artifact createDependencyArtifact(
                String groupId, String artifactId, VersionRange versionRange, String type, String classifier, String scope);
    
        Artifact createDependencyArtifact(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 2.9K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            Project prj = nonNull(project, "project");
            if (nonNull(scope, "scope") == ProjectScope.MAIN) {
                return prj.getBuild().getResources();
            } else if (scope == ProjectScope.TEST) {
                return prj.getBuild().getTestResources();
            } else {
                throw new IllegalArgumentException("Unsupported scope " + scope);
            }
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 7.3K bytes
    - Viewed (0)
Back to top