Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 196 for pomFile (0.19 seconds)

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

                            + pomFile,
                    cause);
    
            this.projectId = projectId;
    
            this.pomFile = pomFile;
    
            this.cause = cause;
    
            this.dependency = dependency;
        }
    
        private static String formatLocationInPom(Dependency dependency) {
            return "Dependency: " + ArtifactUtils.versionlessKey(dependency.getGroupId(), dependency.getArtifactId());
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/MavenExecutionException.java

    public class MavenExecutionException extends Exception {
        private File pomFile;
    
        public MavenExecutionException(String message, File pomFile) {
            super(message);
            this.pomFile = pomFile;
        }
    
        public MavenExecutionException(String message, File pomFile, ProjectBuildingException cause) {
            super(message, cause);
            this.pomFile = pomFile;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

        /**
         * Creates a new model source backed by the specified file.
         *
         * @param pomFile The POM file, must not be {@code null}.
         */
        public FileModelSource(File pomFile) {
            super(pomFile);
        }
    
        public FileModelSource(Path pomFile) {
            super(pomFile);
        }
    
        /**
         *
         * @return the file of this source
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java

                // Create a test POM with 4.0.0 model version
                Path pomFile = tempDir.resolve("pom.xml");
                String originalPom = PomBuilder.create()
                        .groupId("com.example")
                        .artifactId("test-project")
                        .version("1.0.0")
                        .build();
                Files.writeString(pomFile, originalPom);
    
                // Create context with --model 4.1.0 option
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            File pomFile = model.getPomFile();
            if (pomFile != null) {
                buffer.append(" (").append(pomFile).append(')');
            }
    
            return buffer.toString();
        }
    
        static String toPath(Model model) {
            String path = "";
    
            if (model != null) {
                File pomFile = model.getPomFile();
    
                if (pomFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.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: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        public File getPomFile() {
            return pomFile;
        }
    
        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
            this.pomFile = (pomFile != null) ? pomFile.getAbsoluteFile() : null;
    
            return this;
        }
    
        @Override
        public synchronized ModelSource getModelSource() {
            if (modelSource == null && pomFile != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FilterModelBuildingRequest.java

        }
    
        @Override
        public File getPomFile() {
            return request.getPomFile();
        }
    
        @Override
        public FilterModelBuildingRequest setPomFile(File pomFile) {
            request.setPomFile(pomFile);
    
            return this;
        }
    
        @Override
        public ModelSource getModelSource() {
            return request.getModelSource();
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/InvalidProjectModelException.java

            this(projectId, message, new File(pomLocation), validationResult);
        }
    
        public InvalidProjectModelException(
                String projectId, String message, File pomFile, ModelValidationResult validationResult) {
            super(projectId, message, pomFile);
    
            this.validationResult = validationResult;
        }
    
        /**
         * @param projectId
         * @param pomLocation absolute path of the pom file
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  10. 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)
Back to Top