Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for RootDirectory (0.1 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/RootLocator.java

            Path rootDirectory = findRoot(basedir);
            if (rootDirectory == null) {
                throw new IllegalStateException(getNoRootMessage());
            }
            return rootDirectory;
        }
    
        @Nullable
        default Path findRoot(Path basedir) {
            Path rootDirectory = basedir;
            while (rootDirectory != null && !isRootDirectory(rootDirectory)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java

            this.userProperties = requireNonNull(userProperties);
            this.systemProperties = requireNonNull(systemProperties);
            this.topDirectory = requireNonNull(topDirectory);
            this.rootDirectory = rootDirectory;
    
            this.in = in;
            this.out = out;
            this.err = err;
            this.coreExtensions = coreExtensions;
        }
    
        @Override
        public ParserRequest parserRequest() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            return this;
        }
    
        @Override
        public Path getRootDirectory() {
            return rootDirectory;
        }
    
        @Override
        public ModelBuildingRequest setRootDirectory(Path rootDirectory) {
            this.rootDirectory = rootDirectory;
            return this;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenParser.java

                    context.rootDirectory,
                    context.parserRequest.in(),
                    context.parserRequest.out(),
                    context.parserRequest.err(),
                    context.extensions,
                    getJvmArguments(context.rootDirectory),
                    (MavenOptions) context.options);
        }
    
        protected List<String> getJvmArguments(Path rootDirectory) {
            if (rootDirectory != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

            public XmlReaderRequestBuilder path(Path path) {
                this.path = path;
                return this;
            }
    
            public XmlReaderRequestBuilder rootDirectory(Path rootDirectory) {
                this.rootDirectory = rootDirectory;
                return this;
            }
    
            public XmlReaderRequestBuilder url(URL url) {
                this.url = url;
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java

     */
    public class CliRequest {
        String[] args;
    
        CommandLine commandLine;
    
        ClassWorld classWorld;
    
        String workingDirectory;
    
        File multiModuleProjectDirectory;
    
        Path rootDirectory;
    
        Path topDirectory;
    
        boolean verbose;
    
        boolean quiet;
    
        boolean showErrors = true;
    
        Properties userProperties = new Properties();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

            assertActivation(true, newExistsProfile("${project.rootDirectory}/" + "file.txt"), context);
            assertActivation(false, newMissingProfile("${project.rootDirectory}"), context);
            assertActivation(false, newMissingProfile("${project.rootDirectory}/" + "file.txt"), context);
        }
    
        @Test
        void testIsActiveNoFileWithShortBasedir() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

        public static Path findRoot(Path topDirectory) {
            requireNonNull(topDirectory, "topDirectory");
            Path rootDirectory =
                    ServiceLoader.load(RootLocator.class).iterator().next().findRoot(topDirectory);
            if (rootDirectory != null) {
                return getCanonicalPath(rootDirectory);
            }
            return null;
        }
    
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

        @Test
        void testRootDirectory() throws Exception {
            Path rootDirectory = Paths.get("myRootDirectory");
    
            Model model = Model.newBuilder()
                    .version("3.8.1")
                    .artifactId("foo")
                    .repositories(Collections.singletonList(Repository.newBuilder()
                            .url("file:${project.rootDirectory}/temp-repo")
                            .build()))
                    .build();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            Files.writeString(mavenUserProps, "${includes} = ?${session.rootDirectory}/.mvn/maven.properties\n");
            Path rootDirectory = fs.getPath("C:\\myRootDirectory");
            Path topDirectory = rootDirectory.resolve("myTopDirectory");
            Path mvn = rootDirectory.resolve(".mvn");
            Files.createDirectories(mvn);
            Files.writeString(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top