Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for DefaultPathTranslator (0.13 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. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/RepositorySystemSupplier.java

                    new DefaultModelInterpolator(
                            new DefaultPathTranslator(),
                            new DefaultUrlNormalizer(),
                            new DefaultRootLocator(),
                            new DefaultInterpolator()),
                    new DefaultModelPathTranslator(new DefaultPathTranslator()),
                    new DefaultModelUrlNormalizer(new DefaultUrlNormalizer()),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  5. 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)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenRepositorySystemSupplier.java

                    new DefaultModelInterpolator(
                            new DefaultPathTranslator(),
                            new DefaultUrlNormalizer(),
                            new DefaultRootLocator(),
                            new DefaultInterpolator()),
                    new DefaultModelPathTranslator(new DefaultPathTranslator()),
                    new DefaultModelUrlNormalizer(new DefaultUrlNormalizer()),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java

    import org.apache.maven.model.normalization.ModelNormalizer;
    import org.apache.maven.model.path.DefaultModelPathTranslator;
    import org.apache.maven.model.path.DefaultModelUrlNormalizer;
    import org.apache.maven.model.path.DefaultPathTranslator;
    import org.apache.maven.model.path.DefaultUrlNormalizer;
    import org.apache.maven.model.path.ModelPathTranslator;
    import org.apache.maven.model.path.ModelUrlNormalizer;
    import org.apache.maven.model.path.PathTranslator;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/ProtoSession.java

                //                new OperatingSystemProfileActivator(),
                //                new FileProfileActivator(new ProfileActivationFilePathInterpolator(
                //                        new DefaultPathTranslator(), new DefaultRootLocator()))));
                Map<String, String> properties = context.systemProperties;
    
                Path userHome = Paths.get(properties.get("user.home"));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.4K bytes
    - Viewed (0)
Back to top