maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5640) AbstractMavenLifecycleParticipant#afterSessionEnd is not invoked in some cases
Date Sat, 25 Apr 2020 21:37:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-5640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17092384#comment-17092384
] 

Hudson commented on MNG-5640:
-----------------------------

Build succeeded in Jenkins: Maven TLP » maven » runITsWithJavaEA #62

See https://builds.apache.org/job/maven-box/job/maven/job/runITsWithJavaEA/62/

> AbstractMavenLifecycleParticipant#afterSessionEnd is not invoked in some cases
> ------------------------------------------------------------------------------
>
>                 Key: MNG-5640
>                 URL: https://issues.apache.org/jira/browse/MNG-5640
>             Project: Maven
>          Issue Type: Bug
>          Components: Plugins and Lifecycle
>    Affects Versions: 3.2.1
>            Reporter: Tamás Cservenák
>            Assignee: Jason van Zyl
>            Priority: Major
>             Fix For: 3.2.2
>
>         Attachments: aftersessionend.zip
>
>
> It seems that {{AbstractMavenLifecycleParticipant#afterSessionEnd}} is not invoked in
some cases, at least one case for sure: when the build fails.
> Reproduce case:
> 1. unzip the attached project
> 2. build it but skip tests {{mvn clean install -Dtest=void -DfailIfNoTests=false}}
> 3. install the resulting jar in /lib/ext of your Maven 3.2.1
> 4. with JAR installed in Maven, build it again with skipped tests
> 5. verify console output (both {{afterProjectsRead OK}} and {{afterSessionEnd OK}} are
printed on console)
> 6. with JAR installed in Maven, build it again with tests (there is one UT that always
fails).
> 6. console output contains only {{afterProjectsRead OK}}, but afterSessionEnd method
is NOT invoked.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message