- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 36 for setProject (0.11 sec)
-
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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
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} */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 2.6K bytes - Viewed (0) -
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) -
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) -
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) -
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);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
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) -
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) -
impl/maven-core/src/main/java/org/apache/maven/execution/MavenSession.java
*/ private final ConcurrentMap<String, ConcurrentMap<String, ConcurrentMap<String, Object>>> pluginContextsByProjectAndPluginKey = new ConcurrentHashMap<>(); public void setProjects(List<MavenProject> projects) { if (!projects.isEmpty()) { MavenProject first = projects.get(0); this.currentProject = ThreadLocal.withInitial(() -> first);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16.6K bytes - Viewed (0) -
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)