Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 230 for paths (0.14 sec)

  1. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

         *            translation.
         */
        public BasedirBeanConfigurationPathTranslator(File basedir) {
            this.basedir = basedir;
        }
    
        public File translatePath(File path) {
            File result = path;
    
            if (path != null && basedir != null) {
                if (path.isAbsolute()) {
                    // path is already absolute, we're done
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertEquals(
                    Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS));
            assertEquals(mojo.uri, path.toUri());
            assertEquals(mojo.path, path);
            assertEquals(mojo.uriString, path.toUri().toString());
            assertEquals(mojo.uriAsciiString, path.toUri().toASCIIString());
            assertEquals(mojo.pathString, path.toString());
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularizationCache.java

         * or on the module-path when the {@code "jar"} artifact type is used.
         */
        private PathType getPathType(Path path) throws IOException {
            PathType type = pathTypes.get(path);
            if (type == null) {
                type = new PathModularization(path, false).getPathType();
                pathTypes.put(path, type);
            }
            return type;
        }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/TestApiStandalone.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.internal.impl.standalone;
    
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.Map;
    
    import org.apache.maven.api.Artifact;
    import org.apache.maven.api.ArtifactCoordinate;
    import org.apache.maven.api.Node;
    import org.apache.maven.api.Session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                        .sorted()
                        .distinct()
                        .toList();
                logger.debug("ModelCache contains " + paths.size());
                paths.forEach(s -> logger.debug("    " + s));
            }
            return modelBuilder.build(request.build());
        }
    
        static Model transform(Model model, MavenProject project) {
            String packaging = model.getPackaging();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            assertEquals(
                    Objects.equals(path.toUri().toString(), path.toUri().toASCIIString()), !Os.isFamily(Os.FAMILY_WINDOWS));
            assertEquals(mojo.uri, path.toUri());
            assertEquals(mojo.path, path);
            assertEquals(mojo.uriString, path.toUri().toString());
            assertEquals(mojo.uriAsciiString, path.toUri().toASCIIString());
            assertEquals(mojo.pathString, path.toString());
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

     * under the License.
     */
    package org.apache.maven.configuration.internal;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.io.File;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.ArrayList;
    import java.util.List;
    import java.util.Objects;
    
    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.configuration.BeanConfigurationException;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    if (location.contains("://")) {
                        stringBuilder.append(" (").append(location).append(")");
                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        .build();
            }
    
            // for the special case of a drive-relative Windows path, make sure it's absolute to save plugins from trouble
            String localRepository = effective.getLocalRepository();
            if (localRepository != null && !localRepository.isEmpty()) {
                Path file = Paths.get(localRepository);
                if (!file.isAbsolute() && file.toString().startsWith(File.separator)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. maven-api-impl/src/test/java/org/apache/maven/internal/impl/resolver/DefaultModelResolverTest.java

     */
    class DefaultModelResolverTest {
    
        Session session;
    
        @BeforeEach
        void setup() {
            Path basedir = Paths.get(System.getProperty("basedir", ""));
            Path localRepoPath = basedir.resolve("target/local-repo");
            Path remoteRepoPath = basedir.resolve("src/test/remote-repo");
            Session s = ApiRunner.createSession();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.6K bytes
    - Viewed (0)
Back to top