camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Willem Jiang <>
Subject Re: Can we Speed up the build of Camel feature?
Date Mon, 27 Apr 2009 11:21:17 GMT
Hi Gert,

I found the long building time was caused by mvn trys to download the
snapshot version of camel components. The second run is much faster than
the first.



Gert Vanthienen wrote:
> Willem,
> If you run this build on a clean repo, it will download all
> dependencies for ServiceMix Kernel and all the Camel components.  It
> will also download the replacement bundles to figure out the OSGi
> imports/exports.  It will download these artifacts into your local
> Maven repo, so a subsequent run of the same build should be
> significantly faster (I have 50 sec here once the artifacts are in
> your local repo).  Other than that, I agree with Bruce that cutting
> back the number of repositories would be the best way to solve it.
> Actually, I'm considering to remove the features generation process
> and replace it by simple resource filtering in Maven.  The main
> drawback would be that we don't have any validation of the file at
> build time any more (now the plugin complains about missing
> imports/bundles), so I raised
> to create a more
> specific plugin goal to tackle that.
> Regards,
> Gert Vanthienen
> ------------------------
> Open Source SOA:
> Blog:
> 2009/4/27 Willem Jiang <>:
>> Hi,
>> I found it takes about 18 mins to build the
>> camel\platforms\karaf\features module.
>> It will check 4~6 maven repositories for every dependency module, can we
>> introduce some kind of cache mechanism to speed up the build of Camel
>> feature?
>> Willem

View raw message