Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for setPath (0.23 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

         *
         * @see ArtifactManager#setPath(Artifact, Path)
         */
        @Override
        public void setArtifactPath(@Nonnull Artifact artifact, @Nonnull Path path) {
            getService(ArtifactManager.class).setPath(artifact, path);
        }
    
        /**
         * Shortcut for <code>getService(ArtifactManager.class).getPath(...)</code>
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                private final Map<Artifact, Path> paths = new ConcurrentHashMap<>();
    
                @Override
                public Optional<Path> getPath(Artifact artifact) {
                    return Optional.ofNullable(paths.get(artifact));
                }
    
                @Override
                public void setPath(Artifact artifact, Path path) {
                    paths.put(artifact, path);
                }
            };
        }
    
        @Provides
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

        /**
         * Shortcut for {@code getService(ArtifactManager.class).setPath(...)}.
         *
         * @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);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                            LOGGER.warn(String.format(INVALID_DESCRIPTOR_WARNING_MESSAGE, task.getPath(), pluginFileName));
                        } else if (!hasFullyQualifiedClass(pluginImplementation)) {
                            LOGGER.warn(String.format(BAD_IMPL_CLASS_WARNING_MESSAGE, task.getPath(), pluginFileName, pluginImplementation));
                        }
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

            }
        }
    
        private static void addLocations(ProblemSpec spec, Diagnostic<? extends JavaFileObject> diagnostic) {
            String resourceName = diagnostic.getSource() != null ? getPath(diagnostic.getSource()) : null;
            int line = clampLocation(diagnostic.getLineNumber());
            int column = clampLocation(diagnostic.getColumnNumber());
            int position = clampLocation(diagnostic.getPosition());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/InProcessGradleExecuter.java

        }
    
        private Collection<File> cleanup(List<File> files) {
            List<File> result = new LinkedList<>();
            String prefix = Jvm.current().getJavaHome().getPath() + File.separator;
            for (File file : files) {
                if (file.getPath().startsWith(prefix)) {
                    // IDEA adds the JDK's bootstrap classpath to the classpath it uses to run test - remove this
                    continue;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

            private final String path
    
            ReceivedFileLocation(Map<String, Object> location) {
                path = location['path'] as String
            }
    
            @Override
            String getPath() {
                path
            }
        }
    
        static class ReceivedLineInFileLocation extends ReceivedFileLocation implements LineInFileLocation {
            private final int line
            private final int column
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultArtifactDescriptorReader.java

                            .projectBuild(false)
                            .processPlugins(false)
                            .twoPhaseBuilding(false)
                            .source(ModelSource.fromPath(pomArtifact.getPath(), gav))
                            // This merge is on purpose because otherwise user properties would override model
                            // properties in dependencies the user does not know. See MNG-7563 for details.
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
            MavenProject project = session.getCurrentProject();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 09:06:12 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheBuildServiceIntegrationTest.groovy

                        public ProbeTask() {}
    
                        @$TaskAction.name
                        void probe() {
                            getProbeService().get().probe("onTaskAction", getPath());
                        }
                    }
    
                    public abstract class ProbePlugin implements Plugin<Project> {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 11:47:23 UTC 2024
    - 29.1K bytes
    - Viewed (0)
Back to top