Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ClasspathContainer (0.15 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

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

        }
    
        // ------------------------------------------------------------------------------------------
        @Test
        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

                if (cleanGraph == null || cleanGraph.isEmpty()) {
                    return null;
                }
    
                ClasspathContainer cpc = new ClasspathContainer(scope);
                if (cleanGraph.isEmptyEdges()) {
                    // single entry in the classpath, populated from itself
                    ArtifactMetadata amd = cleanGraph.getEntry().getMd();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolutionResult.java

                return new MetadataGraph(getTree(), true, true);
            }
            return null;
        }
        // ----------------------------------------------------------------------------
        public ClasspathContainer getClasspath(ArtifactScopeEnum scope)
                throws MetadataGraphTransformationException, MetadataResolutionException {
            if (classpathTransformation == null) {
                return null;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathTransformation.java

         * @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: 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