Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 322 for paths (0.04 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (Files.exists(Paths.get(srcWebInfBase))) {
                return Paths.get(srcWebInfBase, names);
            }
            final String targetWebInfBase = "target/fess/" + root + base;
            if (Files.exists(Paths.get(targetWebInfBase))) {
                return Paths.get(targetWebInfBase, names);
            }
            return Paths.get(webinfBase, names);
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 08:52:32 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

         * unaltered.
         *
         * @param path The path to resolve, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @return The resolved path or {@code null} if the input path was {@code null}.
         * @deprecated Use {@link #alignToBaseDirectory(String, Path)} instead.
         */
        @Deprecated
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
                path = ((DefaultArtifact) artifact).getArtifact().getPath();
            }
            return Optional.ofNullable(path);
        }
    
        @Override
        public void setPath(@Nonnull ProducedArtifact artifact, Path path) {
            String id = id(nonNull(artifact, "artifact"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Returns a path to the parent directory of the given path. If the path actually has a parent
       * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path
       * is a root or is the empty path.
       */
      @CheckForNull
      private static Path getParentPath(Path path) {
        Path parent = path.getParent();
    
        // Paths that have a parent:
        if (parent != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/MoreFiles.java

        }
      }
    
      /**
       * Returns a path to the parent directory of the given path. If the path actually has a parent
       * path, this is simple. Otherwise, we need to do some trickier things. Returns null if the path
       * is a root or is the empty path.
       */
      @CheckForNull
      private static Path getParentPath(Path path) {
        Path parent = path.getParent();
    
        // Paths that have a parent:
        if (parent != null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionIT.java

    class ComparableVersionIT {
    
        @Test
        void test() throws Exception {
            Files.walkFileTree(Paths.get("target"), new SimpleFileVisitor<Path>() {
                Pattern mavenArtifactJar = Pattern.compile("maven-artifact-[\\d.]+(-SNAPSHOT)?\\.jar");
    
                @Override
                public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException {
                    String filename = file.getFileName().toString();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli;
    
    import java.io.File;
    import java.nio.file.Paths;
    
    /**
     * Resolve relative file path against the given base directory
     */
    public class ResolveFile {
        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

            sessionBuilder.setDependencyManager(
                    supplier.getDependencyManager(Boolean.parseBoolean(resolverDependencyManagerTransitivity)));
    
            ArrayList<Path> paths = new ArrayList<>();
            paths.add(Paths.get(request.getLocalRepository().getBasedir()));
            String localRepoTail = mergedProps.get(Constants.MAVEN_REPO_LOCAL_TAIL);
            if (localRepoTail != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param dependencyCoordinates coordinates of the dependency for which to get the paths
         * @param scope build path scope (main compile, test compile, etc.) of desired paths
         * @param desiredTypes the type of paths to include in the result
         * @return paths to the transitive dependencies of the given project
         *
    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