Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasLifecyclePhase (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

            return null;
        }
    
        private File determineBuildOutputDirectoryForArtifact(final MavenProject project, final Artifact artifact) {
            if (isTestArtifact(artifact)) {
                if (project.hasLifecyclePhase("test-compile")) {
                    return new File(project.getBuild().getTestOutputDirectory());
                }
            } else {
                String type = artifact.getProperty("type", "");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

         * used by plugins.
         *
         * @param phase The phase to check for, must not be {@code null}.
         * @return {@code true} if the phase has been seen.
         */
        public boolean hasLifecyclePhase(String phase) {
            return lifecyclePhases.contains(phase);
        }
    
        /**
         * <strong>Warning:</strong> This is an internal utility method that is only public for technical reasons, it is not
    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