Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for relative (0.41 sec)

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

    Hervé Boutemy <******@****.***> 1573303514 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Nov 09 12:45:14 UTC 2019
    - 1.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * PUTs the source file (must exist as file) to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
         * @throws RuntimeException If PUT fails for any reason.
         */
        void put(@Nonnull Path source, @Nonnull URI relativeTarget);
    
        /**
         * PUTs the source byte array to target URI. The target MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

        public String getLocation() {
            return location;
        }
    
        @Override
        public Source resolve(String relative) {
            return new PathSource(path.resolve(relative));
        }
    
        @Override
        public ModelSource resolve(ModelLocator locator, String relative) {
            String norm = relative.replace('\\', File.separatorChar).replace('/', File.separatorChar);
            Path path = getPath().getParent().resolve(norm);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. 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
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  5. 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();
                }
            }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/building/ModelSource2.java

     */
    public interface ModelSource2 extends ModelSource {
        /**
         * Returns model source identified by a path relative to this model source POM. Implementation <strong>MUST</strong>
         * be able to accept <code>relPath</code> parameter values that
         * <ul>
         * <li>use either / or \ file path separator</li>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. maven-model-builder/src/main/java/org/apache/maven/model/path/ModelPathTranslator.java

     */
    package org.apache.maven.model.path;
    
    import java.io.File;
    import java.nio.file.Path;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * 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
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. maven-model-builder/src/main/java/org/apache/maven/model/path/PathTranslator.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.path;
    
    import java.io.File;
    import java.nio.file.Path;
    
    /**
     * Resolves relative paths against a specific base directory.
     *
     */
    public interface PathTranslator {
    
        /**
         * Resolves the specified path against the given base directory. The resolved path will be absolute and uses the
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataPath(target);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     *
     * @since 4.0.0
     */
    @Experimental
    public interface LocalRepositoryManager extends Service {
    
        /**
         * Gets the relative path for a locally installed artifact.
         * Note that the artifact need not actually exist yet at
         * the returned location, the path merely indicates where
         * the artifact would eventually be stored.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Dec 08 09:10:49 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top