Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for baseDirectory (0.14 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            String alternatePomFile = null;
            if (commandLine.hasOption(CLIManager.ALTERNATE_POM_FILE)) {
                alternatePomFile = commandLine.getOptionValue(CLIManager.ALTERNATE_POM_FILE);
            }
    
            File current = baseDirectory;
            if (alternatePomFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            DefaultRepositoryLayout layout = new DefaultRepositoryLayout();
            ArtifactRepositoryPolicy blah = new ArtifactRepositoryPolicy(
                    true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
            return new MavenArtifactRepository(
                    "local", "file://" + baseDirectory.toUri().getRawPath(), layout, blah, blah);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
Back to Top