Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for resolveFile (0.07 sec)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

     */
    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;
            } else if (file.isAbsolute()) {
                return file;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java

    import org.apache.maven.settings.building.SettingsProblem;
    import org.apache.maven.settings.crypto.SettingsDecrypter;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cli.ResolveFile.resolveFile;
    
    /**
     * SettingsXmlConfigurationProcessor
     */
    @Named(SettingsXmlConfigurationProcessor.HINT)
    @Singleton
    public class SettingsXmlConfigurationProcessor implements ConfigurationProcessor {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

    import static org.apache.maven.cli.CLIManager.COLOR;
    import static org.apache.maven.cli.CLIManager.FORCE_INTERACTIVE;
    import static org.apache.maven.cli.CLIManager.NON_INTERACTIVE;
    import static org.apache.maven.cli.ResolveFile.resolveFile;
    
    // TODO push all common bits back to plexus cli and prepare for transition to Guice. We don't need 50 ways to make CLIs
    
    /**
     */
    public class MavenCli {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
  4. scripts/mkdocs_hooks.py

        for item in items:
            if isinstance(item, str):
                resolve_file(item=item, files=files, config=config)
            elif isinstance(item, dict):
                assert len(item) == 1
                values = list(item.values())
                if not values:
                    continue
                if isinstance(values[0], str):
                    resolve_file(item=values[0], files=files, config=config)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 21:20:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top