ppalaga commented on issue #7: Upgrade to Camel SNAPSHOT
URL: https://github.com/apache/camel-quarkus/issues/7#issuecomment-507634171
 
 
   I'd like to ask in the most polite way whether we could please re-think this 
idea.
   
   I am a full supporter of Maven SNAPSHOTs as long as they are built locally 
and the developer knows from which state of the source tree he has installed. 
They are handy, flexible and quite fast to use.
   
   However, enabling remote SNAPSHOT repositories is a fully different story. 
Generally, it can be said, that with enabling remote SNAPSHOTs the build 
reproducibility is simply gone. With remote SNAPSHOTs on, figuring out why some 
particular build started failing is very hard if not even impossible, because 
there is no explicit link between a given SNAPSHOT artifact and the state of 
its source repository. (`buildnumber-maven-plugin` can help to mitigate this 
but it is still quite a lot of work to figure out the precise SHA1 the given 
artifact was built from.) Moreover, one never knows whether Maven has decided 
to pull a remote SNAPSHOT or if it is still using the SNAPSHOT I have built 
locally.
   
   In past years, I can remember at least Hawkular, WildFly and WildFly Camel 
teams discussing this topic, and none of them has decided to use or continue 
using remote SHAPSHOTs, mainly because of the reproducibility concerns. Each of 
those projects solved the problem of continuous testing and development against 
not-yet-released dependencies differently:
   
   Hawkular adopted srcdeps https://github.com/srcdeps/srcdeps-maven 
Disclaimer: I am the author of srcdeps.
   
   WildFly chose releasing the dependencies often (every two weeks or so).
   
   WildFly Camel has special integration branches that integrate locally built 
SNAPSHOTs of Camel and WildFly. There is a convention that the maintainer of 
those branches pushes the commit he has built from to his github fork's master 
- that's how other team members can reproduce his build.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to