[ 
https://issues.apache.org/jira/browse/MNG-7398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liuxun updated MNG-7398:
------------------------
    Description: 
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

  was:
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.

 


> 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)

Reply via email to