- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for createMavenSession (0.46 sec)
-
impl/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
File pom = getProject("it0063"); Properties eps = new Properties(); eps.setProperty("jre.home", new File(pom.getParentFile(), "jdk/jre").getPath()); MavenSession session = createMavenSession(pom, eps); MavenProject project = session.getCurrentProject(); // Here we will actually not have any artifacts because the ProjectDependenciesResolver is not involved here. So
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 17.6K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/LifecycleExecutorTest.java
MavenSession session = createMavenSession(pom); Plugin plugin = mojoDescriptorCreator.findPluginForPrefix("clean", session); assertNotNull(plugin); } @Test void testSetupMojoExecution() throws Exception { File pom = getProject("mojo-configuration"); MavenSession session = createMavenSession(pom);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 22.9K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java
protected String getProjectsDirectory() { return "src/test/projects/plugin-manager"; } @Test void testPluginLoading() throws Exception { MavenSession session = createMavenSession(null); Plugin plugin = new Plugin(); plugin.setGroupId("org.apache.maven.its.plugins"); plugin.setArtifactId("maven-it-plugin"); plugin.setVersion("0.1");Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sun Mar 30 23:08:36 UTC 2025 - 8.3K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java
return "src/test/projects/project-dependencies-resolver"; } @Test void testSystemScopeDependencies() throws Exception { MavenSession session = createMavenSession(null); MavenProject project = session.getCurrentProject(); new ProjectBuilder(project) .addDependency( "com.mycompany",
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 3.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
// separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties()); } protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception { return createMavenSession(pom, executionProperties, false); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jan 24 17:29:44 UTC 2025 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
// separate. protected MavenSession createMavenSession(File pom) throws Exception { return createMavenSession(pom, new Properties()); } protected MavenSession createMavenSession(File pom, Properties executionProperties) throws Exception { return createMavenSession(pom, executionProperties, false); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 20:01:00 UTC 2025 - 12.1K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java
return session; } private MavenSession newMavenSession() throws Exception { return createMavenSession(null); } @Test public void testUri() throws Exception { Path path = Paths.get("").toAbsolutePath(); MavenSession mavenSession = createMavenSession(null); mavenSession.getRequest().setTopDirectory(path); mavenSession.getRequest().setRootDirectory(path);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.3K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java
} @Test public void testUri() throws Exception { Path path = Paths.get("").toAbsolutePath(); MavenSession mavenSession = createMavenSession(null); mavenSession.getRequest().setTopDirectory(path); mavenSession.getRequest().setRootDirectory(path);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Mar 26 19:31:34 UTC 2025 - 19.4K bytes - Viewed (0) -
impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolverTest.java
@Override protected String getProjectsDirectory() { return null; } @Test void testCachedReactorProjectDependencies() throws Exception { MavenSession session = createMavenSession( new File("src/test/projects/lifecycle-dependency-resolver/pom.xml"), new Properties(), true); Collection<String> scopesToCollect = null;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0)