Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setEntry (0.43 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

             *       v2
             *   v1<
             *      v3-v4
             *
             */
            graph = new MetadataGraph(4, 3);
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

            /*
             *       v2
             *   v1<
             *       v3-v4
             *
             */
            v1 = graph.addVertex(new ArtifactMetadata("g", "a1", "1.0"));
            graph.setEntry(v1);
            v2 = graph.addVertex(new ArtifactMetadata("g", "a2", "1.0"));
            v3 = graph.addVertex(new ArtifactMetadata("g", "a3", "1.0"));
            v4 = graph.addVertex(new ArtifactMetadata("g", "a4", "1.0"));
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                res.setVersionedVertices(false);
                res.setScopedVertices(false);
    
                MetadataGraphVertex resEntry = res.addVertex(entry.getMd());
                res.setEntry(resEntry);
    
                res.setScope(requestedScope);
    
                for (MetadataGraphVertex v : vertices) {
                    final List<MetadataGraphEdge> ins = graph.getIncidentEdges(v);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 8.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

            }
    
            return count;
        }
    
        // ------------------------------------------------------------------------
        public MetadataGraphVertex getEntry() {
            return entry;
        }
    
        public void setEntry(MetadataGraphVertex entry) {
            this.entry = entry;
        }
    
        public TreeSet<MetadataGraphVertex> getVertices() {
            return vertices;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Oct 05 18:41:13 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

                }
            }
    
            MetadataGraphNode node = new MetadataGraphNode(md);
            addNode(node);
            return node;
        }
    
        /**
         * getter
         */
        public MetadataGraphNode getEntry() {
            return entry;
        }
    
        /**
         * getter
         */
        public Collection<MetadataGraphNode> getNodes() {
            return nodes;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/PluginsMetadataGenerator.java

                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
                        ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
    
                        if (pluginDescriptorEntry != null) {
                            try (InputStream is = artifactJar.getInputStream(pluginDescriptorEntry)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

                 * taken as a fallback.
                 */
                try (JarFile jar = new JarFile(path.toFile())) {
                    ZipEntry entry = jar.getEntry(MODULE_INFO);
                    if (entry != null) {
                        String name = null;
                        if (resolve) {
                            try (InputStream in = jar.getInputStream(entry)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            try {
                if (pluginFile.isFile()) {
                    try (JarFile pluginJar = new JarFile(pluginFile, false)) {
                        ZipEntry pluginDescriptorEntry = pluginJar.getEntry(getPluginDescriptorLocation());
    
                        if (pluginDescriptorEntry != null) {
                            pluginDescriptor = parsePluginDescriptor(
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                    // single entry in the classpath, populated from itself
                    ArtifactMetadata amd = cleanGraph.getEntry().getMd();
                    cpc.add(amd);
                } else {
                    ClasspathGraphVisitor v = new ClasspathGraphVisitor(cleanGraph, cpc);
                    MetadataGraphVertex entry = cleanGraph.getEntry();
                    // entry point
                    v.visit(entry);
                }
    
                return cpc;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

         * @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
         *             contains the graph.getEntry() vertice
         */
        ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 11:28:54 UTC 2023
    - 1.7K bytes
    - Viewed (0)
Back to top