Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 93 for getPaths (0.05 seconds)

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

            }
    
            Map<String, String> props = null;
            if (org.apache.maven.artifact.Artifact.SCOPE_SYSTEM.equals(artifact.getScope())) {
                String localPath = (artifact.getFile() != null) ? artifact.getFile().getPath() : "";
                props = Collections.singletonMap(MavenArtifactProperties.LOCAL_PATH, localPath);
            }
    
            Artifact result = new DefaultArtifact(
                    artifact.getGroupId(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Sep 04 18:33:16 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
          assertThat(urls.get(2).getPath()).endsWith("/relative/path/to/class/root");
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. mockwebserver-deprecated/api/mockwebserver.api

    	public final fun getHeader (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getRequestLine ()Ljava/lang/String;
    	public final fun getRequestUrl ()Lokhttp3/HttpUrl;
    	public final fun getSequenceNumber ()I
    	public final fun getTlsVersion ()Lokhttp3/TlsVersion;
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 10.2K bytes
    - Click Count (0)
  5. mockwebserver/api/mockwebserver3.api

    	public fun <init> (Ljava/lang/String;Ljava/lang/String;Lokhttp3/Headers;Lmockwebserver3/MockResponse;)V
    	public final fun getHeaders ()Lokhttp3/Headers;
    	public final fun getMethod ()Ljava/lang/String;
    	public final fun getPath ()Ljava/lang/String;
    	public final fun getResponse ()Lmockwebserver3/MockResponse;
    }
    
    public class mockwebserver3/QueueDispatcher : mockwebserver3/Dispatcher {
    	public fun <init> ()V
    	public fun clear ()V
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                        modelRequest.setPomFile(pomArtifact.getFile());
                    } else {
                        modelRequest.setModelSource(new ArtifactModelSource(
                                pomArtifact.getPath(),
                                pomArtifact.getGroupId(),
                                pomArtifact.getArtifactId(),
                                pomArtifact.getVersion()));
                    }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  7. architecture/standards/0006-use-of-provider-apis-in-gradle.md

        }
    }
    ```
    
    You should prefer to use managed types when possible. 
    
    #### Identity information 
    
    This is an inappropriate use of lazy types:
    
    ```groovy
    class Example {
        Provider<String> getPath() {
            return project.provider(() -> path)
        }
    }
    ```
    
    Like above, this is an immutable part of the identity of the domain object and cannot be changed.
    
    ### Properties in entirely new classes
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Oct 15 20:00:57 GMT 2024
    - 10K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * @return an Optional containing the path to the built artifact if available,
         *         or empty if the artifact hasn't been built yet
         */
        @Nonnull
        Optional<Path> getPath(@Nonnull Project project);
    
        /**
         * Returns an immutable collection of attached artifacts for the given project.
         * Attached artifacts are secondary artifacts produced during the build (e.g., sources jar,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                if (f != null && scopeFilter.test(a.getScope())) {
                    final ArtifactHandler h = a.getArtifactHandler();
                    if (h.isAddedToClasspath()) {
                        list.add(f.getPath());
                    }
                }
            }
            return list;
        }
    
        /**
         * Returns the elements placed on the classpath for compilation.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:47:20 GMT 2025
    - 67K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

                    artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(), classifier, extension);
            try {
                // Log nothing as creating links should be very fast.
                Path source = artifact.getPath();
                if (!(Files.isRegularFile(target) && Files.isSameFile(source, target))) {
                    Files.createDirectories(target.getParent());
                    try {
                        Files.deleteIfExists(target);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top