You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "liuxun (Jira)" <ji...@apache.org> on 2022/01/28 12:47:01 UTC

[jira] [Commented] (MNG-7398) maven build with long statement is prohibitively slow

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

liuxun commented on MNG-7398:
-----------------------------

I submit an issue to the java team, it has been accepted, pleaes refer:
[https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8280873]

> maven build with long statement is prohibitively slow
> -----------------------------------------------------
>
>                 Key: MNG-7398
>                 URL: https://issues.apache.org/jira/browse/MNG-7398
>             Project: Maven
>          Issue Type: Bug
>          Components: build/consumer
>    Affects Versions: 3.5.0, 3.8.1
>         Environment: jdk8
>            Reporter: liuxun
>            Priority: Critical
>              Labels: easyfix, performance
>         Attachments: build-with-long-statement-is-prohibitively-slow.zip
>
>
> h2. *+Question+*
> maven build with long statement is prohibitively slow.
> h2. +*Step*+
> 1: use the attachment zip file to repeat it, you can run it use 
> {code:java}
> mvn clean package -X{code}
> it keeped always in processing, no errors, no timeout, no more info, but in processing status.
> 2: please focus on file:
> {code:java}
> com.chwod.robot.action.general.service.relation.RelationMappingService {code}
> there is a static block, it's containts a long statement. if remove it, then rebuild as step 1, it build complete quickly;
> so, until now, it seems that the maven build isn't support long statement.
> but, the interesting is:
> 3: keeped the static block containts a long statement in that file, if remove parent block from the pom.xml,, it build complete quickly.
> so, now, I can't be sure who's question this is. maven or spring? why not maven like spring? if not, I think maven can be fix it.
>  
> BTW, I also submit a issue to spring repository, and hope: The two are reconciled



--
This message was sent by Atlassian Jira
(v8.20.1#820001)