Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for RootDirectory (0.6 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerRequest.java

                Path installationDirectory,
                Path userHomeDirectory,
                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
                List<CoreExtension> coreExtensions,
                List<String> jvmArguments,
                MavenOptions options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvokerRequest.java

                Path installationDirectory,
                Path userHomeDirectory,
                Map<String, String> userProperties,
                Map<String, String> systemProperties,
                Path topDirectory,
                Path rootDirectory,
                InputStream in,
                OutputStream out,
                OutputStream err,
                List<CoreExtension> coreExtensions,
                O options) {
            super(
                    parserRequest,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultTransformerContextBuilder.java

                private void doLoadFullReactor() {
                    Path rootDirectory = request.getRootDirectory();
                    if (rootDirectory == null) {
                        return;
                    }
                    List<Path> toLoad = new ArrayList<>();
                    Path root = defaultModelBuilder.getModelProcessor().locateExistingPom(rootDirectory);
                    toLoad.add(root);
                    while (!toLoad.isEmpty()) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top