I would propose not automatically installing bundles into the local repo. There 
are two main reasons for this:


Incremental builds (i.e. ones that automatically happen on save) need to be 
really fast to avoid annoying the hell out of users. M2E does this by not 
running most plugins, instead using the Eclipse incremental compiler and a 
special subset of plugins. Forcing a full install cycle would be far too slow.
Typing “mvn install” is what you do when you have something “finished” and 
ready to share with other builds, and therefore should be an explicit user 
action.  Having mid-development code published as the latest version in the 
repository (even as a SNAPSHOT) risks all sorts of weird behaviour, including 
breaking other workspaces.

If you want to publish straight from the Eclipse IDE into Karaf for testing 
then that is fine, but the Local repository is not a good route.

Regards,

Tim


> On 18 Jan 2017, at 11:25, Christian Schneider <ch...@die-schneider.net> wrote:
> 
> So what would you propose instead?
> 
> Christian
> 
> On 18.01.2017 12:24, Timothy Ward wrote:
>> I have not opened this issue with Eclipse as I don’t think that it’s a good 
>> idea to implement it.
>> 
>> Regards,
>> 
>> Tim
>> 
>>> On 18 Jan 2017, at 11:11, Christian Schneider <ch...@die-schneider.net> 
>>> wrote:
>>> 
>>> Yes .. the last part of the deployment to the local maven repo is missing 
>>> and has to be done on M2E side..
>>> but I hope we also manage to get that done.
>>> 
>>> Did you open an issue there already or should I take care of it?
>>> 
>>> Christian
>>> 
>>> On 18.01.2017 12:00, Timothy Ward wrote:
>>>> Just to clarify, the Bndtools team are not working on this function. It 
>>>> would need to be accepted as a function request and added to M2E by an 
>>>> Eclipse committer.
>>>> 
>>>> Regards,
>>>> 
>>>> Tim
>>>> 
>>> -- 
>>> Christian Schneider
>>> http://www.liquid-reality.de
>>> 
>>> Open Source Architect
>>> http://www.talend.com
>>> 
> 
> 
> -- 
> Christian Schneider
> http://www.liquid-reality.de
> 
> Open Source Architect
> http://www.talend.com
> 

Reply via email to