Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 129 for setFile (0.07 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java

            if (request.getPom() == null) {
                return projects;
            }
    
            MavenProject requestPomProject = projects.stream()
                    .filter(project -> request.getPom().equals(project.getFile()))
                    .findFirst()
                    .orElseThrow(() -> new MavenExecutionException(
                            "Could not find a project in reactor matching the request POM", request.getPom()));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

                } catch (ArtifactResolutionException e) {
                    throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
                }
    
                pomFile = pomArtifact.getFile();
            }
    
            return new FileModelSource(pomFile);
        }
    
        @Override
        public ModelSource resolveModel(final Parent parent) throws UnresolvableModelException {
            try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

            for (PlexusConfiguration requirement : requirements) {
                ComponentRequirement cr = new ComponentRequirement();
    
                cr.setRole(requirement.getChild("role").getValue());
    
                cr.setRoleHint(requirement.getChild("role-hint").getValue());
    
                cr.setFieldName(requirement.getChild("field-name").getValue());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java

                            request.getRepositories()));
                    if (resolveResult.getRepository() instanceof WorkspaceRepository) {
                        modelRequest.setPomFile(pomArtifact.getFile());
                    } else {
                        modelRequest.setModelSource(new ArtifactModelSource(
                                pomArtifact.getPath(),
                                pomArtifact.getGroupId(),
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 17.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                throws PluginDescriptorParsingException, InvalidPluginDescriptorException {
            PluginDescriptor pluginDescriptor = null;
    
            File pluginFile = pluginArtifact.getFile();
    
            try {
                if (pluginFile.isFile()) {
                    try (JarFile pluginJar = new JarFile(pluginFile, false)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    infoMain(building + ((pad > 0) ? chars(' ', pad) : "") + progress);
                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  7. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            }
            return lifecycleMappings;
        }
    
        private InputStream getDescriptorStream(String descriptor) throws IOException {
            File pluginFile = (pluginArtifact != null) ? pluginArtifact.getFile() : null;
            if (pluginFile == null) {
                throw new IllegalStateException("plugin main artifact has not been resolved for " + getId());
            }
    
            if (pluginFile.isFile()) {
                try {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/merge/MavenModelMerger.java

                    if (tgt == null) {
                        tgt = new Site();
                    }
                    tgt.setLocation("", src.getLocation(""));
                    target.setSite(tgt);
                    mergeSite(tgt, src, sourceDominant, context);
                }
                mergeSite_ChildSiteUrlInheritAppendPath(tgt, src, sourceDominant, context);
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

                    infoMain(building + ((pad > 0) ? chars(' ', pad) : "") + progress);
                }
    
                // path to pom.xml
                File currentPom = project.getFile();
                if (currentPom != null) {
                    MavenSession session = event.getSession();
                    Path current = currentPom.toPath().toAbsolutePath().normalize();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Dec 13 15:40:45 GMT 2024
    - 17.5K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z.jar").toURI());
        assertEquals(
            "/home/build/x y.jar",
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x y.jar").getFile());
      }
    
      public void testGetClassPathFromManifest_nullManifest() {
        assertThat(ClassPath.getClassPathFromManifest(new File("some.jar"), null)).isEmpty();
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 23K bytes
    - Click Count (0)
Back to Top