Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 355 for pomFile (0.08 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

                }
    
                File pomFile = pomArtifact.getFile();
                if (pomFile != null && pomFile.canRead()) {
                    this.length = pomFile.length();
                    this.timestamp = pomFile.lastModified();
                } else {
                    this.length = -1;
                    this.timestamp = -1;
                }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  2. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/precommit/PomValidationTask.java

        private final RegularFileProperty pomFile = getProject().getObjects().fileProperty();
    
        private boolean foundError;
    
        @InputFile
        public RegularFileProperty getPomFile() {
            return pomFile;
        }
    
        @TaskAction
        public void checkPom() throws Exception {
            try (FileReader fileReader = new FileReader(pomFile.getAsFile().get())) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.4K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

                    rootLocator,
                    lifecycleBindingsInjector);
        }
    
        @Override
        public ProjectBuildingResult build(File pomFile, ProjectBuildingRequest configuration)
                throws ProjectBuildingException {
            ProjectBuildingResult result = super.build(pomFile, configuration);
    
            result.getProject().setRemoteArtifactRepositories(Collections.emptyList());
    
            return result;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java

                try {
                    Path pomFile = tempDir.resolve("pom.xml");
                    String pomContent = PomBuilder.create()
                            .groupId("test")
                            .artifactId("test")
                            .version("1.0.0")
                            .build();
                    Files.writeString(pomFile, pomContent);
    
                    // Update context to use the temp directory
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 10:39:17 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java

                            request.getArtifact().getVersion());
                    File pomFile = new File(
                            request.getLocalRepository().getBasedir(),
                            request.getLocalRepository().pathOf(pomArtifact));
    
                    try {
                        Model model = modelReader.read(pomFile, null).getDelegate();
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelResolver.java

            } catch (ArtifactResolutionException e) {
                throw new UnresolvableModelException(e.getMessage(), groupId, artifactId, version, e);
            }
    
            Path pomFile = pomArtifact.getPath();
    
            return new FileModelSource(pomFile);
        }
    
        @Override
        public ModelSource resolveModel(final Parent parent) throws UnresolvableModelException {
            try {
                final Artifact artifact =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                        .groupId("test")
                        .artifactId("test")
                        .version("1.0.0")
                        .build();
    
                Path pomFile = projectDir.resolve("pom.xml");
                Files.writeString(pomFile, pomXml);
    
                UpgradeContext context = createMockContext(projectDir);
    
                // Mock successful strategy execution
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuilder.java

        /**
         * Performs only the part of {@link ModelBuilder#build(ModelBuildingRequest)} that loads the raw model
         */
        Result<? extends Model> buildRawModel(File pomFile, int validationLevel, boolean locationTracking);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         * {@link FileModelSource} instead.
         *
         * @param pomFile The POM file of the project to build the effective model for, may be {@code null} to build the
         *            model of some POM from the repository.
         * @return This request, never {@code null}.
         */
        ModelBuildingRequest setPomFile(File pomFile);
    
        /**
         * Gets the level of validation to perform on processed models.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            Model parent = getModel(baseName + "-parent");
    
            Model child = getModel(baseName + "-child");
    
            if (fromRepo) {
                // when model is read from repo, a stream is used, then pomFile == null
                // (has consequences in inheritance algorithm since getProjectDirectory() returns null)
                parent = parent.clone();
                parent.setPomFile(null);
                child = child.clone();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top