- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 40 for getProjects (0.06 sec)
-
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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
} @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(res.getProject())); } @Nonnull @Override public Collection<BuilderProblem> getProblems() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java
ProjectBuildingRequest request = injectSession(toRequest(configuration)); try { return projectBuilder.build(pom, request).getProject(); } catch (ProjectBuildingException e) { throw transformError(e); } } // This is used by the SITE plugin.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java
} finally { Thread.currentThread().setContextClassLoader(ttcl); } } public InternalMavenSession getSession() { return session; } public MavenProject getProject() { return project; } @Nonnull @Override public String getGroupId() { return project.getGroupId(); } @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.5K bytes - Viewed (0) -
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
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K bytes - Viewed (0) -
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)