Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for relative (0.17 sec)

  1. maven-core/src/test/resources/project-dynamism/pom-relative.xml

    Hervé Boutemy <******@****.***> 1573303514 +0100
    XML
    - Registered: Sun Mar 31 03:35:09 GMT 2024
    - Last Modified: Sat Nov 09 12:45:14 GMT 2019
    - 1.1K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

    /**
     * A path translator that resolves relative paths against a specific base directory.
     *
     */
    public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator {
    
        private final File basedir;
    
        /**
         * Creates a new path translator using the specified base directory.
         *
         * @param basedir The base directory to resolve relative paths against, may be {@code null} to disable path
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

                s = file.getPath();
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path, don't align with project directory but with drive root
                s = file.getAbsolutePath();
            } else {
                // an ordinary relative path, align with project directory
                s = new File(new File(basedir, s).toURI().normalize()).getAbsolutePath();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

             * @since 4.0.0
             */
            @Nullable
            Path locateExistingPom(@Nonnull Path project);
        }
    
        @Nullable
        ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative);
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path) {
            return fromPath(path, null);
        }
    
        @Nonnull
        static ModelSource fromPath(@Nonnull Path path, @Nullable String location) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

     */
    package org.apache.maven.api.services.model;
    
    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelBuilderRequest;
    
    /**
     * Resolves relative paths of a model against a specific base directory.
     *
     */
    public interface ModelPathTranslator {
    
        /**
         * Resolves the well-known paths of the specified model against the given base directory. Paths within plugin
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java

        /**
         * Returns a new source identified by a relative path. Implementation <strong>MUST</strong>
         * be able to accept <code>relative</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator,</li>
         * <li>have .. parent directory references,</li>
         * <li>point either at file or directory.</li>
         * </ul>
         *
         * @param relative is the path of the requested source relative to this source
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                    result = file.getPath();
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
                    // an ordinary relative path, align with project directory
                    result = basedir.resolve(path).normalize().toString();
                }
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    file = file.getAbsoluteFile();
                } else {
                    // an ordinary relative path, align with project directory
                    file = new File(new File(basedir, file.getPath()).toURI().normalize()).getAbsoluteFile();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferResource.java

         *
         * @return The base URL of the repository or an empty string if unknown, never {@code null}.
         */
        String getRepositoryUrl();
    
        /**
         * The path of the artifact relative to the repository's base URL.
         *
         * @return The path of the artifact, never {@code null}.
         */
        String getName();
    
        /**
         * Gets the full URL of the artifact.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                        return modelSource.getLocation();
                    }
    
                    @Override
                    public Source resolve(String relative) {
                        if (modelSource instanceof ModelSource2 ms) {
                            return toSource(ms.getRelatedSource(relative));
                        } else {
                            return null;
                        }
                    }
                };
            }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top