Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 13 for baseDirectory (0.08 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

            Set<MavenProject> selectedProjects = new LinkedHashSet<>();
            File baseDirectory = getBaseDirectoryFromRequest(request);
            for (String selector : projectSelectors) {
                Optional<MavenProject> optSelectedProject =
                        findOptionalProjectBySelector(projects, baseDirectory, selector);
                if (!optSelectedProject.isPresent()) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * @throws NullPointerException if baseDirectory is null
         */
        @Nonnull
        default PathMatcher createPathMatcher(
                @Nonnull Path baseDirectory, Collection<String> includes, Collection<String> excludes) {
            return createPathMatcher(baseDirectory, includes, excludes, false);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *            the root directory
         * @param baseDirectory
         *            the base directory
         * @return a {@link File} representing the base directory
         */
        protected static File getBaseDir(final File rootDir, final String baseDirectory) {
            assertArgumentNotNull("rootDir", rootDir);
    
            File baseDir = rootDir;
            if (baseDirectory != null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/io/FileUtil.java

         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
         * @return true if the path is safe (within the base directory), false otherwise
         */
        public static boolean isPathSafe(final Path pathToCheck, final Path baseDirectory) {
            assertArgumentNotNull("pathToCheck", pathToCheck);
            assertArgumentNotNull("baseDirectory", baseDirectory);
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  5. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

            System.out.println("- Downloader started");
            File baseDirectory = new File(args[0]);
            System.out.println("- Using base directory: " + baseDirectory.getAbsolutePath());
    
            // If the maven-wrapper.properties exists, read it and check if it contains a custom
            // wrapperUrl parameter.
            File mavenWrapperPropertyFile = new File(baseDirectory, MAVEN_WRAPPER_PROPERTIES_PATH);
            String url = DEFAULT_DOWNLOAD_URL;
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java

        public static File resolveFile(File file, String baseDirectory) {
            if (file == null) {
                return null;
            } else if (file.isAbsolute()) {
                return file;
            } else if (file.getPath().startsWith(File.separator)) {
                // drive-relative Windows path
                return file.getAbsoluteFile();
            } else {
                return Paths.get(baseDirectory, file.getPath()).normalize().toFile();
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

         *
         * @param baseDirectory the base directory for resolving module paths
         * @param parentPom the parent POM document
         * @param pomMap the map to store discovered POMs
         * @throws IOException if there's an error reading files
         * @throws DomTripException if there's an error parsing XML
         */
        private static void discoverModules(Path baseDirectory, Document parentPom, Map<Path, Document> pomMap)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            final String path = ResourceUtil.getResourcePath(getClass());
            final int pos = path.lastIndexOf("/");
            final String baseDirectory = path.substring(0, pos);
            ResourceTraversalUtil.forEach(rootDir, baseDirectory, (ResourceHandler) (path1, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path1);
                    }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java

            }
            return request;
        }
    
        @Override
        public MavenExecutionRequest populateDefaults(MavenExecutionRequest request)
                throws MavenExecutionRequestPopulationException {
            baseDirectory(request);
    
            localRepository(request);
    
            populateDefaultPluginGroups(request);
    
            return request;
        }
    
        //
        //
        //
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  10. mockwebserver/src/test/java/mockwebserver3/internal/http2/Http2Server.kt

    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.buffer
    import okio.source
    
    /** A basic HTTP/2 server that serves the contents of a local directory.  */
    class Http2Server(
      private val baseDirectory: File,
      private val sslSocketFactory: SSLSocketFactory,
    ) : Http2Connection.Listener() {
      private fun run() {
        val serverSocket = ServerSocket(8888)
        serverSocket.reuseAddress = true
        while (true) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Jul 31 04:18:40 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top