Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ArtifactScopeEnum (0.12 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

     *
     *
     */
    @Deprecated
    public enum ArtifactScopeEnum {
        compile(1),
        test(2),
        runtime(3),
        provided(4),
        system(5),
        runtime_plus_system(6);
    
        public static final ArtifactScopeEnum DEFAULT_SCOPE = compile;
    
        private int id;
    
        // Constructor
        ArtifactScopeEnum(int id) {
            this.id = id;
        }
    
        int getId() {
            return id;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ArtifactMetadata.java

        }
    
        public void setType(String type) {
            this.type = type;
        }
    
        public ArtifactScopeEnum getArtifactScope() {
            return artifactScope == null ? ArtifactScopeEnum.DEFAULT_SCOPE : artifactScope;
        }
    
        public void setArtifactScope(ArtifactScopeEnum artifactScope) {
            this.artifactScope = artifactScope;
        }
    
        public void setScope(String scope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.compile);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathRuntime)) {
                return conflictResolver.resolveConflicts(getGraph(), ArtifactScopeEnum.runtime);
            } else if (requestType.equals(MetadataResolutionRequestTypeEnum.classpathTest)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

        public ClasspathContainer(ArtifactScopeEnum scope) {
            this.scope = ArtifactScopeEnum.checkScope(scope);
        }
    
        // -------------------------------------------------------------------------------------------
        public ClasspathContainer(List<ArtifactMetadata> classpath, ArtifactScopeEnum scope) {
            this(scope);
            this.classpath = classpath;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 2));
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.2", true, ArtifactScopeEnum.test, null, 2, 2));
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphEdge.java

     */
    package org.apache.maven.repository.metadata;
    
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * metadata graph edge - combination of version, scope and depth define
     * an edge in the graph
     *
     *
     */
    @Deprecated
    public class MetadataGraphEdge {
        String version;
        ArtifactScopeEnum scope;
        int depth = -1;
        int pomOrder = -1;
        boolean resolved = true;
        String artifactUri;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. 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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraphVertex.java

                        if (v == 0) {
                            if (compareScope) {
                                String s1 = ArtifactScopeEnum.checkScope(md.artifactScope)
                                        .getScope();
                                String s2 = ArtifactScopeEnum.checkScope(vmd.artifactScope)
                                        .getScope();
                                return s1.compareTo(s2);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            graph.addEdge(v1, v3, new MetadataGraphEdge("1.2", true, null, null, 4, 2));
    
            // v3-->v4
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.1", true, ArtifactScopeEnum.runtime, null, 2, 1));
            graph.addEdge(v3, v4, new MetadataGraphEdge("1.2", true, ArtifactScopeEnum.provided, null, 2, 2));
        }
    
        // ------------------------------------------------------------------------------------------
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/GraphConflictResolver.java

         * in <code>ArtifactScopeEnum</code>
         *
         * @param graph the "dirty" graph to be simplified via conflict resolution
         * @param scope scope for which the graph should be resolved
         *
         * @return resulting "clean" graph for the specified scope
         *
         * @since 3.0
         */
        MetadataGraph resolveConflicts(MetadataGraph graph, ArtifactScopeEnum scope)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top