Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toPomArtifact (0.4 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/ArtifactDescriptorUtils.java

     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class ArtifactDescriptorUtils {
    
        public static Artifact toPomArtifact(Artifact artifact) {
            Artifact pomArtifact = artifact;
    
            if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) {
                pomArtifact =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/ArtifactDescriptorUtils.java

     * of the public API. In particular, this class can be changed or deleted without prior notice.
     *
     */
    public class ArtifactDescriptorUtils {
    
        public static Artifact toPomArtifact(Artifact artifact) {
            Artifact pomArtifact = artifact;
    
            if (!pomArtifact.getClassifier().isEmpty() || !"pom".equals(pomArtifact.getExtension())) {
                pomArtifact =
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Dec 20 13:03:35 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

             */
    
            WorkspaceReader workspace = session.getWorkspaceReader();
            if (workspace == null) {
                return true;
            }
    
            Artifact pomArtifact = ArtifactDescriptorUtils.toPomArtifact(artifact);
    
            return workspace.findArtifact(pomArtifact) == null;
        }
    
        private static class VersionInfo {
    
            String timestamp;
    
            String version;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

             */
    
            WorkspaceReader workspace = session.getWorkspaceReader();
            if (workspace == null) {
                return true;
            }
    
            Artifact pomArtifact = ArtifactDescriptorUtils.toPomArtifact(artifact);
    
            return workspace.findArtifact(pomArtifact) == null;
        }
    
        private static class VersionInfo {
    
            String timestamp;
    
            String version;
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                org.eclipse.aether.artifact.Artifact pomArtifact = RepositoryUtils.toArtifact(artifact);
                pomArtifact = ArtifactDescriptorUtils.toPomArtifact(pomArtifact);
    
                boolean localProject;
    
                try {
                    ArtifactRequest pomRequest = new ArtifactRequest();
                    pomRequest.setArtifact(pomArtifact);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 16:34:29 UTC 2024
    - 57.1K bytes
    - Viewed (0)
Back to top