Hi Chirag,

I personally use Maven Daemon https://github.com/apache/maven-mvnd and use the 
command "mvnd clean install -Pfastinstall -q" to build as fast as possible but 
since it is a big project with a lot of dependencies to download, it will still 
take tens of minutes.

I hope it helps,
Regards,
Nicolas
[https://opengraph.githubassets.com/db6d85bf829078f49582ac1f0611f74fbc94c5ab0e69c11a442e9e403e507e6e/apache/maven-mvnd]<https://github.com/apache/maven-mvnd>
GitHub - apache/maven-mvnd: Apache Maven 
Daemon<https://github.com/apache/maven-mvnd>
Apache Maven Daemon. Contribute to apache/maven-mvnd development by creating an 
account on GitHub.
github.com


________________________________
From: Chirag <chirag.sangh...@gmail.com>
Sent: Wednesday, March 22, 2023 17:26
To: users@camel.apache.org <users@camel.apache.org>
Subject: Building camel

Team

I am trying to build camel snapshot.

I see two guides:
https://urldefense.com/v3/__https://camel.apache.org/manual/building.html__;!!CiXD_PY!U3PNuJ19nPaOLvqcoSOo7GBYWeVYoG-ZQxOFkLSbBGOp1o_R-nsfy39VCOSOsq-BclSxPgrWDrm-R1WnRJO_KmeE3A$
   and
https://urldefense.com/v3/__https://camel.apache.org/docs/building/__;!!CiXD_PY!U3PNuJ19nPaOLvqcoSOo7GBYWeVYoG-ZQxOFkLSbBGOp1o_R-nsfy39VCOSOsq-BclSxPgrWDrm-R1WnRJPwnKbf0A$
(both are slightly different). there may be a need to merge into one document ?


I do see a lot of warnings.
[INFO]
[INFO] --- flatten:1.2.5:flatten (default-cli) @ camel-file ---
[WARNING] Parameter 'localRepository' is deprecated core expression;
Avoid use of ArtifactRepository type. If you need access to local
repository, switch to '${repositorySystemSession}' expression and get
LRM from it instead.
[INFO] Generating flattened POM of project
org.apache.camel:camel-file:jar:3.20.3-SNAPSHOT...

This appears to be from Mojo annotations.


lastly build seem to take a while even with 'mvn clean install
-Pfastinstall'  ? any suggestions for speeding up the build ? I have
used -T to allocate more threads; but I see it only getting upto 5
(using 10-15% CPU).

ચિરાગ/चिराग/Chirag
------------------------------------------
Sent from My Gmail Account

As a recipient of an email from the Talend Group, your personal data will be 
processed by our systems. Please see our Privacy Notice 
<https://www.talend.com/privacy-policy/> for more information about our 
collection and use of your personal information, our security practices, and 
your data protection rights, including any rights you may have to object to 
automated-decision making or profiling we use to analyze support or marketing 
related communications. To manage or discontinue promotional communications, 
use the communication preferences 
portal<https://info.talend.com/emailpreferencesen.html>. To exercise your data 
protection rights, use the privacy request 
form<https://talend.my.onetrust.com/webform/ef906c5a-de41-4ea0-ba73-96c079cdd15a/b191c71d-f3cb-4a42-9815-0c3ca021704cl>.
 Contact us here <https://www.talend.com/contact/> or by mail to either of our 
co-headquarters: Talend, Inc.: 400 South El Camino Real, Ste 1400, San Mateo, 
CA 94402; Talend SAS: 5/7 rue Salomon De Rothschild, 92150 Suresnes, France

Reply via email to