Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 68 for setProject (0.18 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/Event.java

        Session getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return the current project or {@code empty()} if not applicable
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return the current mojo execution or {@code empty()} if not applicable
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 2.1K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            assertEquals(1, artifactDependencies.size());
        }
    
        @Test
        void testSystemScopeDependencyIsPresentInTheCompileClasspathElements() throws Exception {
            File pom = getProject("it0063");
    
            Properties eps = new Properties();
            eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath());
    
            MavenSession session = createMavenSession(pom, eps);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
            MavenProject p4 = getProject(projectFile("p4"));
    
            assertEquals("p4", p4.getName());
    
            // ----------------------------------------------------------------------
            // Value inherited from p3
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         *
         * @return The project that was built or {@code null} if an error occurred and this result accompanies a
         *         {@link ProjectBuilderException}.
         */
        @Nonnull
        Optional<Project> getProject();
    
        /**
         * Gets the problems that were encountered during the project building.
         *
         * @return the problems that were encountered during the project building, can be empty but never {@code null}
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 29 08:17:07 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ExportElasticsearchBuildResourcesTask.java

        private final Set<String> resources = new HashSet<>();
    
        private DirectoryProperty outputDir;
    
        public ExportElasticsearchBuildResourcesTask() {
            outputDir = getProject().getObjects().directoryProperty();
        }
    
        @OutputDirectory
        public DirectoryProperty getOutputDir() {
            return outputDir;
        }
    
        @Input
        public Set<String> getResources() {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/FilePermissionsTask.java

            .include("**")
            // exclude sh files that might have the executable bit set
            .exclude("**/*.sh");
    
        private File outputMarker = new File(getProject().getBuildDir(), "markers/filePermissions");
    
        @Inject
        public FilePermissionsTask(ProjectLayout projectLayout) {
            this.projectLayout = projectLayout;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 3.9K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/CopyRestApiTask.java

                }
            } catch (IOException e) {
                throw new IllegalStateException(String.format("Error determining if this project [%s] has rest tests.", getProject()), e);
            }
            return false;
        }
    
        public void setSourceResourceDir(File sourceResourceDir) {
            this.sourceResourceDir = sourceResourceDir;
        }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 7.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/project/TestProjectBuilder.java

        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)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java

        List<Project> getProjects(List<org.apache.maven.project.MavenProject> projects);
    
        /**
         * May return null if the input project is null or is not part of the reactor.
         */
        @Nullable
        Project getProject(org.apache.maven.project.MavenProject project);
    
        List<org.apache.maven.artifact.repository.ArtifactRepository> toArtifactRepositories(
                List<RemoteRepository> repositories);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MojoExecutionEvent.java

            this.mojoExecution = mojoExecution;
            this.mojo = mojo;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public MojoExecution getExecution() {
            return mojoExecution;
        }
    
        public Mojo getMojo() {
            return mojo;
        }
    
    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)
Back to Top