Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 56 for pomFile (0.05 seconds)

  1. 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());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  2. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  3. 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 {
    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)
  4. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Apr 14 13:42:17 GMT 2025
    - 10.8K 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  7. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

            assertFalse(project.isExecutionRoot(), "Expected " + project + ".isExecutionRoot() to return false");
        }
    
        @Test
        void testPartialResultUponBadDependencyDeclaration() throws Exception {
            File pomFile = getTestFile("src/test/resources/projects/bad-dependency.xml");
    
            ProjectBuildingRequest request = newBuildingRequest();
            request.setProcessPlugins(false);
            request.setResolveDependencies(true);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 17:20:31 GMT 2025
    - 33.7K bytes
    - Click Count (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

            description = "Compile all source code, including main, test, integTest, crossVersionTest, testFixtures, etc."
            val compileTasks = project.tasks.matching {
                it is JavaCompile || it is GroovyCompile || it is KotlinCompile
            }
            dependsOn(compileTasks)
        }
    
        tasks.register("compileAllProduction") {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:44:41 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

        private final Pattern linkPattern = Pattern.compile("<<([^,>]+)[^>]*>>");
        // groovy_plugin.adoc#groovy_plugin,Groovy
        private final Pattern linkWithHashPattern = Pattern.compile("([a-zA-Z_0-9-.]*)#(.*)");
        // link:{javadocPath}/org/gradle/api/java/archives/ManifestMergeDetails.html[ManifestMergeDetails]
        private final Pattern javadocLinkPattern = Pattern.compile("link:\\{javadocPath\\}/(.*?\\.html)");
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue May 27 09:07:14 GMT 2025
    - 18.1K bytes
    - Click Count (0)
Back to Top