You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2022/04/26 13:49:00 UTC

[jira] [Commented] (CXF-8696) Improve build performance of modules

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

Colm O hEigeartaigh commented on CXF-8696:
------------------------------------------

Hi, from what I can see the frontend jaxrs module still needs the aegis module as a test dependency?
{code:java}
[ERROR] /Users/coheigea/src/apache/cxf/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/resources/Tags.java:[27,39] package org.apache.cxf.aegis.type.java5 does not exist
[ERROR] /Users/coheigea/src/apache/cxf/rt/frontend/jaxrs/src/test/java/org/apache/cxf/jaxrs/resources/Tags.java:[45,6] cannot find symbol
[ERROR]   symbol:   class XmlFlattenedArray
[ERROR]   location: class org.apache.cxf.jaxrs.resources.Tags
[ERROR] -> [Help 1] {code}

> Improve build performance of modules
> ------------------------------------
>
>                 Key: CXF-8696
>                 URL: https://issues.apache.org/jira/browse/CXF-8696
>             Project: CXF
>          Issue Type: Improvement
>          Components: Build system
>    Affects Versions: 4.0.0
>            Reporter: Bing-ok
>            Priority: Major
>
> Hi, I'm now using {*}cxf{*}. I found that the build time of the project is not very fast when I used  *mvn -T 1C install -DskipTests* command to build the project during Github Actions. So I try to speed up the build performance of the project. The goal here is to clean up dependencies between maven modules in the project in order to improve the build performance.
> Using *mvn dependency:analyze* command I managed to have an overview of the unused dependencies of every module. I focused only on the dependencies between modules. The following dependencies can be cleaned up:
> {noformat}
> org.apache.cxf:cxf-rt-frontend-jaxrs(cxf\rt\frontend\jaxrs) -> org.apache.cxf:cxf-rt-databinding-aegis(cxf\rt\databinding\aegis){noformat}
> After clean up, the build time has been reduced by 3 minutes when I use parallel build during Github Actions.
> Could you help me review this issue? I can submit a PR to improve build performance of the project.
> Thank you very much for your attention.
> Best regards.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)