Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for targetPath (0.09 sec)

  1. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            when(project.getOutputDirectory(any(ProjectScope.class))).thenCallRealMethod();
    
            assertEquals(Path.of("myproject", "target", "classes"), targetPath(project));
    
            scope = ProjectScope.TEST;
            assertEquals(Path.of("myproject", "target", "test-classes"), targetPath(project));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

         *
         * @see #targetPath()
         * @see Project#getOutputDirectory(ProjectScope)
         */
        @Nonnull
        default Path targetPath(@Nonnull Project project) {
            Optional<Path> targetPath = targetPath();
            // The test for `isAbsolute()` is a small optimization for avoiding the call to `getOutputDirectory(…)`.
            return targetPath.filter(Path::isAbsolute).orElseGet(() -> {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Verify targetPath was preserved through conversion chain
            assertEquals(
                    "custom-output", customResource.getTargetPath(), "targetPath should be preserved in ConnectedResource");
    
            // Test that includes modification preserves targetPath (tests ConnectedResource functionality)
            customResource.addInclude("*.properties");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         * <pre>{@code
         * <resource>
         *   <directory>src/main/resources</directory>
         *   <targetPath>META-INF/resources</targetPath>
         * </resource>
         * }</pre>
         * <p>
         * The maven-resources-plugin resolves {@code targetPath} as:
         * {@code project.build.outputDirectory + "/" + targetPath}, which results in
         * {@code target/classes/META-INF/resources}. This method provides the same base directory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/project/ConnectedResource.java

                    .includes(sourceRoot.includes())
                    .excludes(sourceRoot.excludes())
                    .filtering(Boolean.toString(sourceRoot.stringFiltering()))
                    .targetPath(sourceRoot.targetPath().map(Path::toString).orElse(null))
                    .build());
            this.originalSourceRoot = sourceRoot;
            this.scope = scope;
            this.project = project;
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  6. guava/pom.xml

              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
            <groupId>org.mvnsearch</groupId>
            <artifactId>toolchains-maven-plugin</artifactId>
          </plugin>
          <plugin>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. android/guava/pom.xml

              <include>LICENSE</include> <!-- copied from the parent pom because I couldn't figure out a way to make combine.children="append" work -->
              <include>proguard/*</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <plugins>
          <plugin>
            <groupId>org.mvnsearch</groupId>
            <artifactId>toolchains-maven-plugin</artifactId>
          </plugin>
          <plugin>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 21:36:50 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  8. cmd/erasure-multipart.go

    			return w.Run(func() error {
    				wait := deleteMultipartCleanupSleeper.Timer(ctx)
    				pathUUID := mustGetUUID()
    				targetPath := pathJoin(drivePath, minioMetaTmpDeletedBucket, pathUUID)
    				renameAll(pathJoin(drivePath, minioMetaMultipartBucket, uploadIDPath), targetPath, pathJoin(drivePath, minioMetaBucket))
    				wait()
    				return nil
    			})
    		})
    		// Get the modtime of the shaDir.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:05:31 UTC 2025
    - 47.1K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            // Verify main resources targetPath is preserved
            assertEquals(1, ((List<?>) pom.getValue("build/resources")).size());
            assertEquals("custom-classes", pom.getValue("build/resources[1]/targetPath"));
            assertPathSuffixEquals("src/main/resources", pom.getValue("build/resources[1]/directory"));
    
            // Verify testResources targetPath with property interpolation is preserved
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 94.8K bytes
    - Viewed (0)
  10. android/pom.xml

        <resources>
          <resource>
            <directory>../..</directory>
            <includes>
              <include>LICENSE</include>
            </includes>
            <targetPath>META-INF</targetPath>
          </resource>
        </resources>
        <testResources>
          <testResource>
            <directory>test</directory>
            <excludes>
              <exclude>**/*.java</exclude>
            </excludes>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 05 03:10:05 UTC 2025
    - 26.4K bytes
    - Viewed (0)
Back to top