Re: Is there any on-going work to implement standard build promotion/staging mechanism?

2012-12-19 Thread Hervé BOUTEMY
ok, I see the workflow for single artifact promotion Once this artifact is promoted, you want to update another project's dependency to rebuild using this (now promoted) artifact? Or your wish is about not rebuilding the other project but promoting its built result and modifying dependency to le

Re: Is there any on-going work to implement standard build promotion/staging mechanism?

2012-12-19 Thread Gábor Guta
We make the promotion of the already built artifact and we update the metadata. e.g.: if the corresponding integration tests are fine, the status of the artifact change to milestone. Regards, Gabor. On Thu, Dec 20, 2012 at 7:17 AM, Hervé BOUTEMY wrote: > in your ideas, do you intend to rebuild

Re: Is there any on-going work to implement standard build promotion/staging mechanism?

2012-12-19 Thread Hervé BOUTEMY
in your ideas, do you intend to rebuild the artifact at each promotion, or make promotion of the already built artifact (then without rebuilding it), only changing its status metatada? Regards, Hervé Le mercredi 19 décembre 2012 15:37:18 Gábor Guta a écrit : > Can you give me feedback feedback

Is there any on-going work to implement standard build promotion/staging mechanism?

2012-12-19 Thread Gábor Guta
Can you give me feedback feedback / recommendation about how can I write extensions for Maven to support a build pipeline and artifact promotion in a "standard" way. As far as understand these issues are common problems, because I have found many blogs describing hacks and workarounds. I also have

Re: Antrun to maven plugin - file size

2012-12-19 Thread Wayne Fay
> So my question was is there an existing plugin to do this kind of stuff? I > guess no. I am unaware of a plugin to calculate and then display the length of a file/resource. Your antrun approach seems valid, why change it? Wayne --

Android Maven Plugin 3.5.0 Released

2012-12-19 Thread Manfred Moser
The Android Maven Plugin team is pleased to announce the release of version 3.5.0 of the plugin. New features/bug fixes are Non-release builds will now automatically be debuggable Added support to for updating android:authorities attributes on provider elements in the manifest Improved automatic v

Re: Antrun to maven plugin - file size

2012-12-19 Thread Benoit Billington
Okay you are talking about writing a plugin now it all make sense... I first wanted to do it using existing plugins and then if nothing existed I would look into writing a plugin. So my question was is there an existing plugin to do this kind of stuff? I guess no. Thanks ! -- View this messa

Re: Antrun to maven plugin - file size

2012-12-19 Thread Stephen Connolly
You write a Maven plugin in Java... it's quite easy... On 19 December 2012 10:07, Benoit Billington wrote: > Yes I saw what you can do with that goal but I don't know how to call Java > class in maven > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Antrun-to-maven-p

Re: Antrun to maven plugin - file size

2012-12-19 Thread Benoit Billington
Yes I saw what you can do with that goal but I don't know how to call Java class in maven -- View this message in context: http://maven.40175.n5.nabble.com/Antrun-to-maven-plugin-file-size-tp5738756p5739136.html Sent from the Maven Developers mailing list archive at Nabble.com. ---

Re: Antrun to maven plugin - file size

2012-12-19 Thread Stephen Connolly
I mean that if you take a look at that goal, it will show you how to set a property... and the lovely java.io.File#length() method will tell you how long the file is thereby giving you the value to set the property to... (might need Long#toString(long) as well... but do you really need that much ha

Re: OutputStream that seamlessly switches to disk file?

2012-12-19 Thread Jörg Schaible
Kristian Rosenvold wrote: > Anyone know a buffer (OututStream) that will stay in-memory until it > reaches a given size then rolls over to a tempfile? > > I need one for my tan...? > > Kristian http://commons.apache.org/io/apidocs/org/apache/commons/io/output/DeferredFileOutputStream.html ---