Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for afterSessionStart (0.23 sec)

  1. maven-core/src/main/java/org/apache/maven/AbstractMavenLifecycleParticipant.java

         *
         * @param session the Maven session
         * @throws MavenExecutionException in case of issue
         */
        // TODO This is too early for build extensions, so maybe just remove it?
        public void afterSessionStart(MavenSession session) throws MavenExecutionException {
            // do nothing
        }
    
        /**
         * Invoked after all projects were built.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/MavenLifecycleParticipantTest.java

                } catch (IOException e) {
                    throw new RuntimeException(e);
                }
    
                project.getModel().addDependency(dependency);
            }
    
            @Override
            public void afterSessionStart(MavenSession session) {
                session.getUserProperties().setProperty("injected", "bar");
            }
        }
    
        public static class InjectReactorDependency extends AbstractMavenLifecycleParticipant {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 6K bytes
    - Viewed (0)
Back to top