Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createProducedArtifact (0.18 sec)

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

            String name = path.getFileName().toString();
            int dot = name.lastIndexOf('.');
            String ext = dot >= 1 ? name.substring(dot + 1) : "";
            ProducedArtifact artifact = session.createProducedArtifact(
                    project.getGroupId(), project.getArtifactId(), project.getVersion(), ext);
            attachArtifact(project, artifact, path);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 11:52:48 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java

            if (artifact.getGroupId().isEmpty()
                    || artifact.getArtifactId().isEmpty()
                    || artifact.getBaseVersion().asString().isEmpty()) {
                artifact = session.createProducedArtifact(
                        artifact.getGroupId().isEmpty() ? project.getGroupId() : artifact.getGroupId(),
                        artifact.getArtifactId().isEmpty() ? project.getArtifactId() : artifact.getArtifactId(),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         * @return artifact with the given coordinates
         *
         * @see org.apache.maven.api.services.ArtifactFactory#createProduced(Session, String, String, String, String)
         */
        @Nonnull
        ProducedArtifact createProducedArtifact(String groupId, String artifactId, String version, String extension);
    
        /**
         * Shortcut for {@code getService(ArtifactFactory.class).createProduced(...)}.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 16:43:07 UTC 2024
    - 36.4K bytes
    - Viewed (0)
Back to top