Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for path1b (0.23 sec)

  1. maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

            Metadata metadata = request.getMetadata();
    
            String path;
            if (request.getRepository() == null) {
                path = getPathForLocalMetadata(metadata);
            } else {
                path = getPathForRemoteMetadata(metadata, request.getRepository(), request.getContext());
            }
    
            File file = new File(getRepository().getBasedir(), path);
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultArtifactResolver.java

                        Artifact artifact = session.getArtifact(result.getArtifact());
                        Path path = result.getArtifact().getPath();
                        artifactManager.setPath(artifact, path);
                        paths.put(artifact, path);
                    }
                }
                return () -> paths;
            } catch (ArtifactResolutionException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param artifact the artifact for which to associate a path
         * @param path path to associate to the given artifact
         *
         * @see org.apache.maven.api.services.ArtifactManager#setPath(Artifact, Path)
         */
        void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path);
    
        /**
         * Shortcut for {@code getService(ArtifactManager.class).getPath(...)}.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 30.2K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

            List<Path> paths = session.resolveDependencies(coord);
    
            assertNotNull(paths);
            assertEquals(10, paths.size());
            assertEquals("test-extension-1.jar", paths.get(0).getFileName().toString());
    
            // JUnit has an "Automatic-Module-Name", so it appears on the module path.
            Map<PathType, List<Path>> dispatched = session.resolveDependencies(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 9.9K bytes
    - Viewed (2)
  5. maven-core/src/test/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformerTest.java

            @Override
            public Model getRawModel(Path from, String groupId, String artifactId) throws IllegalStateException {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public Model getRawModel(Path from, Path p) {
                throw new UnsupportedOperationException();
            }
    
            @Override
            public Path locate(Path path) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 09:23:26 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
            assertEquals(Paths.get("base/test").toAbsolutePath(), bean.file);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            try {
                Path artifactPath = getProjectLocalRepo()
                        .resolve(project.getGroupId())
                        .resolve(project.getArtifactId())
                        .resolve(project.getVersion());
                if (Files.isDirectory(artifactPath)) {
                    try (Stream<Path> paths = Files.list(artifactPath)) {
                        for (Path path : (Iterable<Path>) paths::iterator) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

        private static final Collection<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            Collection<String> translatedPrefixes = new HashSet<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

        private void addPath(List<String> paths, String path) {
            if (path != null) {
                path = path.trim();
                if (!path.isEmpty()) {
                    File file = new File(path);
                    if (file.isAbsolute()) {
                        path = file.getAbsolutePath();
                    } else if (".".equals(path)) {
                        path = getBasedir().getAbsolutePath();
                    } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

            }
    
            // So now we have an url of the form file://<path>
    
            // We want to eliminate any relative path nonsense and lock down the path so we
            // need to fully resolve it before any submodules use the path. This can happen
            // when you are using a custom settings.xml that contains a relative path entry
            // for the local repository setting.
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
Back to top