Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,389 for paths (0.03 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

            }
    
            Path rootDir = Paths.get(args[0]);
            PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
            MavenStaxReader reader = new MavenStaxReader();
    
            // Find all pom.xml files, excluding those under src/ or target/
            Files.walk(rootDir)
                    .filter(path -> path.getFileName().toString().equals("pom.xml"))
                    .filter(path -> !containsSrcOrTarget(path))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                                new UpgradeResult(Set.of(Paths.get("pom.xml")), Set.of(Paths.get("pom.xml")), Set.of()));
    
                when(mockStrategies.get(1).isApplicable(context)).thenReturn(true);
                when(mockStrategies.get(1).apply(Mockito.eq(context), Mockito.any()))
                        .thenReturn(new UpgradeResult(
                                Set.of(Paths.get("module/pom.xml")), Set.of(Paths.get("module/pom.xml")), Set.of()));
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. cmd/namespace-lock.go

    	ns     *nsLockMap
    	volume string
    	paths  []string
    	opsID  string
    }
    
    // NewNSLock - returns a lock instance for a given volume and
    // path. The returned lockInstance object encapsulates the nsLockMap,
    // volume, path and operation ID.
    func (n *nsLockMap) NewNSLock(lockers func() ([]dsync.NetLocker, string), volume string, paths ...string) RWLocker {
    	sort.Strings(paths)
    	opsID := mustGetUUID()
    	if n.isDistErasure {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java

         *       {@code {"--module-path", "dir/path1:dir/path2"}} on Unix or
         *       {@code {"--module-path", "dir\path1;dir\path2"}} on Windows.</li>
         *   <li>If this type was created by {@code JavaPathType.patchModule("foo.bar")}, then the method returns
         *       {@code {"--patch-module", "foo.bar=dir/path1:dir/path2"}} on Unix or
         *       {@code {"--patch-module", "foo.bar=dir\path1;dir\path2"}} on Windows.</li>
         * </ul>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jan 07 12:02:00 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

        default PathMatcher createIncludeOnlyMatcher(@Nonnull Path baseDirectory, Collection<String> includes) {
            return createPathMatcher(baseDirectory, includes, null, false);
        }
    
        /**
         * Returns a filter for directories that may contain paths accepted by the given matcher.
         * The given path matcher should be an instance created by this service.
         * The path matcher returned by this method expects directory paths.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Jul 21 19:37:56 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

        /**
         * Returns the file paths of all dependencies, regardless of which tool option those paths should be placed on.
         * The returned list may contain a mix of Java class path, Java module path, and other types of path elements.
         * This collection has the same content as {@code getDependencies.values()} except that it does not contain
         * null elements.
         *
         * @return the paths of all dependencies
         */
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 14:29:21 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. cmd/metacache-bucket_test.go

    	"fmt"
    	"testing"
    )
    
    func Benchmark_bucketMetacache_findCache(b *testing.B) {
    	bm := newBucketMetacache("", false)
    	const elements = 50000
    	const paths = 100
    	if elements%paths != 0 {
    		b.Fatal("elements must be divisible by the number of paths")
    	}
    	var pathNames [paths]string
    	for i := range pathNames[:] {
    		pathNames[i] = fmt.Sprintf("prefix/%d", i)
    	}
    	for i := range elements {
    		bm.findCache(listPathOptions{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

     */
    class ModelSourceTest {
    
        @Test
        void testBuildSourceHasNoModelId() {
            Path path = Paths.get("/tmp/pom.xml");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
            assertNull(source.getModelId(), "Build sources should not have a modelId");
            assertEquals(path, source.getPath());
        }
    
        @Test
        void testResolvedSourceWithModelId() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/ResourceUtil.java

            if (Files.exists(Paths.get(srcWebInfBase))) {
                return Paths.get(srcWebInfBase, names);
            }
            final String targetWebInfBase = "target/fess/" + root + base;
            if (Files.exists(Paths.get(targetWebInfBase))) {
                return Paths.get(targetWebInfBase, names);
            }
            return Paths.get(webinfBase, names);
        }
    
        /**
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                Document moduleBDoc = Document.of(moduleBPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("project", "pom.xml"), parentDoc);
                pomMap.put(Paths.get("project", "module-a", "pom.xml"), moduleADoc);
                pomMap.put(Paths.get("project", "module-b", "pom.xml"), moduleBDoc);
    
                Editor editor = new Editor(moduleBDoc);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
Back to top