Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 352 for pomFile (0.04 sec)

  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;
                }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. 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) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/artifact/InvalidDependencyVersionException.java

        private Dependency dependency;
    
        public InvalidDependencyVersionException(
                String projectId, Dependency dependency, File pomFile, InvalidVersionSpecificationException cause) {
            super(projectId, formatLocationInPom(dependency), dependency.getVersion(), pomFile, cause);
            this.dependency = dependency;
        }
    
        private static String formatLocationInPom(Dependency dependency) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            Model model;
    
            if (modelSource == null) {
                if (pomFile != null) {
                    modelSource = new FileModelSource(pomFile);
                } else {
                    throw new NullPointerException("neither pomFile nor modelSource can be null");
                }
            }
    
            problems.setSource(modelSource.getLocation());
            try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Mar 30 23:08:08 UTC 2025
    - 55.3K bytes
    - Viewed (0)
  5. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/project/ProjectModelResolver.java

        public ModelSource resolveModel(String groupId, String artifactId, String version)
                throws UnresolvableModelException {
            File pomFile = null;
    
            if (modelPool != null) {
                pomFile = modelPool.get(groupId, artifactId, version);
            }
    
            if (pomFile == null) {
                Artifact pomArtifact = new DefaultArtifact(groupId, artifactId, "", "pom", version);
    
                try {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/project/InvalidProjectVersionException.java

                String projectId,
                String locationInPom,
                String offendingVersion,
                File pomFile,
                InvalidVersionSpecificationException cause) {
            super(projectId, formatMessage(projectId, locationInPom, offendingVersion, cause), pomFile, cause);
            this.locationInPom = locationInPom;
            this.offendingVersion = offendingVersion;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/ReactorModelPool.java

        private final Map<CacheKey, File> pomFiles = new HashMap<>();
    
        public File get(String groupId, String artifactId, String version) {
            return pomFiles.get(new CacheKey(groupId, artifactId, version));
        }
    
        public void put(String groupId, String artifactId, String version, File pomFile) {
            pomFiles.put(new CacheKey(groupId, artifactId, version), pomFile);
        }
    
        private static final class CacheKey {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 07:09:12 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. 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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 10:39:17 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top