Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getCompileClasspathElements (0.11 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            MavenProject project = session.getCurrentProject();
    
            project.setArtifacts(resolver.resolve(project, Collections.singleton(Artifact.SCOPE_COMPILE), session));
    
            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

        }
    
        @Test
        void testUndefinedOutputDirectory() throws Exception {
            MavenProject p = new MavenProject();
            assertNoNulls(p.getCompileClasspathElements());
            assertNoNulls(p.getSystemClasspathElements());
            assertNoNulls(p.getRuntimeClasspathElements());
            assertNoNulls(p.getTestClasspathElements());
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 28 09:44:37 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            // right now it's not valid to ask for artifacts unless plugins require the artifacts.
    
            project.getCompileClasspathElements();
        }
    
        @Test
        void testBuildFromModelSource() throws Exception {
            File pomFile = new File("src/test/resources/projects/modelsource/module01/pom.xml");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * See {@link org.apache.maven.api.JavaPathType} instead for better analysis.
         */
        @Deprecated
        public List<String> getCompileClasspathElements() throws DependencyResolutionRequiredException {
            return getClasspathElements(MavenProject::isCompilePathElement, false);
        }
    
        /**
         * Returns the elements placed on the classpath for tests.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top