-
1. Re: "mvn release" to S-RAMP - multiple artifacts
objectiser Mar 21, 2013 5:09 AM (in response to kurtstam)I like the idea of being able to capture javadocs and source at the same time as uploading the binary artifacts. However as they would be (as you say) classified as "supporting documentation", then wouldn't they be best placed into s-ramp rather than a holding area? So they are just treated as a 'documentation' artifact with suitable relationships to the associated binary artifact.
-
2. Re: "mvn release" to S-RAMP - multiple artifacts
kurtstam Mar 21, 2013 8:09 AM (in response to objectiser)Yes they should all end up in S-RAMP. The issue is that there is no logical construct in S-RAMP for it to figure out these artifacts are related. Hence my 'holding area' idea where our client code can figure this out before we load them into S-RAMP. The question really is; should this be functionality of a UI, the cmdline tool, the S-RAMP wagon or maybe should it be an extension to the S-RAMP server. I'm thinking the Wagon might be good place if we view this as a maven integration feature.
-
3. Re: "mvn release" to S-RAMP - multiple artifacts
objectiser Mar 21, 2013 8:20 AM (in response to kurtstam)Kurt Stam wrote:
I'm thinking the Wagon might be good place if we view this as a maven integration feature.
+1
-
4. Re: "mvn release" to S-RAMP - multiple artifacts
eric.wittmann Mar 21, 2013 9:59 AM (in response to kurtstam)Yes, I have some changes planned for the maven wagon that would make this pretty easy. Currently the wagon uploads each artifact as it is requested to do so. Instead, I'm thinking that we can have the Wagon build up an s-ramp archive instead, and then upload that final archive at the end, when the wagon is asked to close the connection. I'll need to do some testing to very where the "open connection" and "close connection" events happen in Maven. But if it's done at the start/end of a build, then we can do all sorts of interesting stuff to the S-RAMP archive prior to uploading it.