- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for setProject (0.1 sec)
-
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionResult.java
private boolean canResume = false; public MavenExecutionResult setProject(MavenProject project) { this.project = project; return this; } public MavenProject getProject() { return project; } public MavenExecutionResult setTopologicallySortedProjects(List<MavenProject> topologicallySortedProjects) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.2K bytes - Viewed (0) -
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java
return mavenSession; } @Override public List<Project> getProjects(List<MavenProject> projects) { return projects == null ? null : map(projects, this::getProject); } @Override public Project getProject(MavenProject project) { return project != null && project.getBasedir() != null ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project))
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
// load everything... MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1); MavenProject project2 = getProject(pom2); MavenProject project3 = getProject(pom3); MavenProject project4 = getProject(pom4); MavenProject project5 = getProject(pom5); assertEquals("p4", project4.getName());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t01/ProjectInheritanceTest.java
MavenProject p0 = getProject(projectFile("maven.t01", "p0")); assertEquals("p0-org", p0.getOrganization().getName()); // ---------------------------------------------------------------------- // Check p1 value for org name // ---------------------------------------------------------------------- MavenProject p1 = getProject(projectFile("maven.t01", "p1"));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load everything... MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1); assertEquals(pom0Basedir, project1.getParent().getBasedir()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultEvent.java
} @Override public Session getSession() { return session; } @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(delegate.getProject())); } @Override public Optional<MojoExecution> getMojoExecution() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.5K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
((DefaultProject) project).getProject().getRemoteProjectRepositories(), session::getRemoteRepository)); } @Override public List<RemoteRepository> getRemotePluginRepositories(Project project) { return Collections.unmodifiableList(new MappedList<>( ((DefaultProject) project).getProject().getRemotePluginRepositories(), session::getRemoteRepository)); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
throw e; } } protected MavenProject getProject(File pom) throws Exception { ProjectBuildingRequest configuration = new DefaultProjectBuildingRequest(); configuration.setLocalRepository(getLocalRepository()); initRepoSession(configuration); return projectBuilder.build(pom, configuration).getProject(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0)