maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhumble <>
Subject Re: Continuous Delivery and Maven
Date Tue, 09 Nov 2010 00:01:57 GMT

OK this is great - I think we're on the same page now.

> And I am pretty sure that the community in general is not really in favor
> of this kind of massaging of the artifacts from snapshot -> release. It
> invalidates your testing of said snapshot.
> I think it is crucial that the release artifact DOES get rebuilt.

I think that exactly the opposite is true - if you recreate the release
artifact, it invalidates your testing of the snapshot, because by definition
you're releasing something different from what you've tested. Worse, because
Maven doesn't currently include that metadata, it might well actually be a
different binary!

> > That would be great, and the obvious place would be in MANIFEST.MF, but
> > the
> > format isn't rich enough to store all the information we'd need.
> What would be missing? Your pom says your using artifact 1.0-SNAPSHOT.jar.
> You go and find that jar, open it and find what revision. Do that for all
> snapshot jars you depend on.

But I want to know what versions of the upstream jars were that I built my
snapshot against too.

> The second is that maven would have to query this information during a
> build, and then update it own "extra information.xml file" to update its
> transtitive dependency information list and then deploy that list to the
> repository as well. And this would need to be a complete list of all
> transtive dependencies, not just direct ones. So now you can download that
> file, figure out what revision of all your transitive deps are and recreate
> the entire build.


Now how would this work if a project has release and snapshot dependencies?
> I think you would only need to do this for snapshot deps.

Well for release dependencies you already specify the exact version number
you depend on, so it doesn't matter, right?



Jez Humble
Co-author, *Continuous Delivery <>*

View this message in context:
Sent from the Maven - Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message