Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for DefaultPathTranslator (0.11 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

    import org.apache.maven.model.Build;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Reporting;
    import org.apache.maven.model.Resource;
    
    /**
     * DefaultPathTranslator
     */
    @Deprecated
    @Named
    @Singleton
    public class DefaultPathTranslator implements PathTranslator {
        private static final String[] BASEDIR_EXPRESSIONS = {"${basedir}", "${pom.basedir}", "${project.basedir}"};
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/DefaultPathTranslator.java

     * Resolves relative paths against a specific base directory.
     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    public class DefaultPathTranslator implements PathTranslator {
    
        @Override
        public String alignToBaseDirectory(String path, File basedir) {
            return alignToBaseDirectory(path, basedir != null ? basedir.toPath() : null);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/path/DefaultPathTranslatorTest.java

            String aligned = new DefaultPathTranslator().alignToBaseDirectory("${basedir}", basedir);
    
            assertEquals(basedir.getAbsolutePath(), aligned);
        }
    
        @Test
        void testAlignToBasedirWhereBasedirExpressionIsTheValuePrefix() {
            File basedir = new File(System.getProperty("java.io.tmpdir"), "test").getAbsoluteFile();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    import java.nio.file.Path;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.ActivationFile;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.path.DefaultPathTranslator;
    import org.apache.maven.model.path.ProfileActivationFilePathInterpolator;
    import org.apache.maven.model.profile.DefaultProfileActivationContext;
    import org.apache.maven.model.root.RootLocator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top