Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 42 for getProject (0.06 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionResult.java

    import org.apache.maven.project.DependencyResolutionResult;
    import org.apache.maven.project.MavenProject;
    
    /**
     */
    public interface MavenExecutionResult {
        MavenExecutionResult setProject(MavenProject project);
    
        MavenProject getProject();
    
        MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> projects);
    
        /**
         * @return the sorted list, or an empty list if there are no projects.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. 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);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return The current project or {@code null} if not applicable.
         */
        MavenProject getProject();
    
        /**
         * Gets the current mojo execution (if any).
         *
         * @return The current mojo execution or {@code null} if not applicable.
         */
        MojoExecution getMojoExecution();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. 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);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. 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;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. 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;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectExecutionEvent.java

            this.project = project;
            this.executionPlan = executionPlan;
            this.cause = cause;
        }
    
        public MavenSession getSession() {
            return session;
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        public List<MojoExecution> getExecutionPlan() {
            return executionPlan;
        }
    
        public Throwable getCause() {
            return cause;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/LifecycleExecutionException.java

                MavenProject project,
                Throwable cause) {
            this(createMessage(messageBuilderFactory, execution, project, cause), execution, project, cause);
        }
    
        public MavenProject getProject() {
            return project;
        }
    
        private static String createMessage(
                MessageBuilderFactory messageBuilderFactory,
                MojoExecution execution,
                MavenProject project,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/BuildSummary.java

            this.wallTime = wallTime;
        }
    
        /**
         * Gets the project being summarized.
         *
         * @return The project being summarized, never {@code null}.
         */
        public MavenProject getProject() {
            return project;
        }
    
        /**
         * Gets the wall time of the project in milliseconds.
         *
         * @return The wall time of the project in milliseconds.
         */
        public long getTime() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            COLLECT,
            FLATTEN,
            RESOLVE
        }
    
        @Nonnull
        Session getSession();
    
        @Nonnull
        RequestType getRequestType();
    
        @Nonnull
        Optional<Project> getProject();
    
        @Nonnull
        Optional<Artifact> getRootArtifact();
    
        @Nonnull
        Optional<DependencyCoordinates> getRoot();
    
        @Nonnull
        Collection<DependencyCoordinates> getDependencies();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top