Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getMainArtifact (0.42 sec)

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

     *
     * <p>Produced artifacts includes:</p><ul>
     *     <li>{@linkplain Project#getPomArtifact() the project POM artifact}</li>
     *     <li>{@linkplain Project#getMainArtifact() the main artifact}</li>
     *     <li>{@linkplain org.apache.maven.api.services.ProjectManager#attachArtifact(Session, Project, Path) artifacts to be attached to a project}</li>
     * </ul>
     *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         *
         * @see #getPackaging()
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        default Optional<ProducedArtifact> getMainArtifact() {
            List<ProducedArtifact> artifacts = getArtifacts();
            return artifacts.size() == 2 ? Optional.of(artifacts.get(1)) : Optional.empty();
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            this.artifactManager = artifactManager;
        }
    
        @Nonnull
        @Override
        public Optional<Path> getPath(Project project) {
            Optional<ProducedArtifact> mainArtifact = project.getMainArtifact();
            if (mainArtifact.isPresent()) {
                return artifactManager.getPath(mainArtifact.get());
            }
            return Optional.empty();
        }
    
        @Nonnull
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. test-site/activator-launch-1.3.2.jar

    addExtraInfos(java.util.Map); private void addExtraInfo(String, String); public static java.util.Map extractPomProperties(java.util.Map); public final void addProperty(String, String); public final org.apache.ivy.core.module.descriptor.Artifact getMainArtifact(); public final org.apache.ivy.core.module.descriptor.Artifact getSourceArtifact(); public final org.apache.ivy.core.module.descriptor.Artifact getSrcArtifact(); public final org.apache.ivy.core.module.descriptor.Artifact getJavadocArtifact();...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top