Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 352 for pomFile (0.04 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/project/ProjectBuildingException.java

            super(createMessage(message, projectId, pomFile));
            this.projectId = projectId;
            this.pomFile = pomFile;
        }
    
        /**
         * @param projectId
         * @param message
         * @param pomFile   pom file location
         * @param cause
         */
        protected ProjectBuildingException(String projectId, String message, File pomFile, Throwable cause) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jul 26 19:15:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java

            project.getCompileClasspathElements();
        }
    
        @Test
        void testBuildFromModelSource() throws Exception {
            File pomFile = new File("src/test/resources/projects/modelsource/module01/pom.xml");
            MavenSession mavenSession = createMavenSession(pomFile);
            ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest();
            configuration.setRepositorySession(mavenSession.getRepositorySession());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. 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;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

         * @param pomFile The POM file from which the project was built, may be {@code null}.
         * @param problems The problems that were encountered, may be {@code null}.
         */
        DefaultProjectBuildingResult(String projectId, File pomFile, List<ModelProblem> problems) {
            this.projectId = (projectId != null) ? projectId : "";
            this.pomFile = pomFile;
            this.project = null;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 10:13:56 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. 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
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  7. 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());
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/harness/PomTestWrapper.java

    import org.apache.maven.project.MavenProject;
    
    public class PomTestWrapper {
    
        private File pomFile;
    
        private JXPathContext context;
    
        private MavenProject mavenProject;
    
        static {
            JXPathContextReferenceImpl.addNodePointerFactory(new Xpp3DomPointerFactory());
        }
    
        public PomTestWrapper(File pomFile, MavenProject mavenProject) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:36 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                return results;
            }
    
            List<ProjectBuildingResult> doBuild(List<File> pomFiles, boolean recursive) {
                ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
                try {
                    return pomFiles.stream()
                            .map(pomFile -> build(pomFile, recursive))
                            .flatMap(List::stream)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 17:20:31 UTC 2025
    - 51.8K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top