Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getTestOutputDirectory (0.31 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         *       <td>Compiled application classes and processed main resources</td>
         *     </tr>
         *     <tr>
         *       <td>{@link ProjectScope#TEST}</td>
         *       <td>{@code build.getTestOutputDirectory()}</td>
         *       <td>{@code target/test-classes}</td>
         *       <td>Compiled test classes and processed test resources</td>
         *     </tr>
         *     <tr>
         *       <td>{@code null} or other</td>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            if (isTestArtifact(artifact)) {
                if (project.hasLifecyclePhase("test-compile")) {
                    return new File(project.getBuild().getTestOutputDirectory());
                }
            } else {
                String type = artifact.getProperty("type", "");
                File outputDirectory = new File(project.getBuild().getOutputDirectory());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                }
    
                build.setOutputDirectory(alignToBaseDirectory(build.getOutputDirectory(), basedir));
    
                build.setTestOutputDirectory(alignToBaseDirectory(build.getTestOutputDirectory(), basedir));
            }
    
            Reporting reporting = model.getReporting();
    
            if (reporting != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

        void testTargetPath() {
            Build build = mock(Build.class);
            when(build.getDirectory()).thenReturn("target");
            when(build.getOutputDirectory()).thenReturn("target/classes");
            when(build.getTestOutputDirectory()).thenReturn("target/test-classes");
    
            Project project = mock(Project.class);
            when(project.getBuild()).thenReturn(build);
            when(project.getBasedir()).thenReturn(Path.of("myproject"));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top