You're very likely to send some day an old version of a false releases, actually a snapshot, to production with this technique. I guess you should at least send a mail to some managers to explain things are going to go wrong some day. At least you will have taken your responsibility and they can't pretend it's your fault.
Also, I hope nobody will ever use a vanilla version of Maven on their dev box since they're never going to get the rotten new releases downloaded :-/. 2014-04-04 9:06 GMT+02:00 eugene <[email protected]>: > Christian, you have no idea how much I wish this were a possibility, but > this is the way the company has handled things for years. > Changing this behavior would mean a revolution in their understanding, > and I sure do not want to start one just yet. :) > > There is a much cooler way to do it actually... since we have Jenkins > that builds the jobs (way too many to hook a pre-build event on them > directly), we could implement an Extension Point for the Maven Reporter > Plugin that has one called PreBuild - the only problem is that it works > only for Maven 2 from what I tested. I asked their forums about this > issue, no response so far. > > On 4/4/14, 9:59 AM, Christian Domsch [via Maven] wrote: > > Well that is essentially a *very* basic way of my CI approach :) But it > > means you have to do it everywhere you have maven installed and need > > that behaviour. Also has the drawback of injecting this behaviour in any > > maven runs. > > > > So, as mentioned before a few times: switch to some standard use of > > maven :) > > > > On 04.04.2014 08:55, eugene wrote: > > > > > I think we have found one... > > > > > > We can create a wrapper around MavenCli and replace it in m2.conf... > > > > > > On 4/2/14, 8:35 PM, Wayne Fay [via Maven] wrote: > > >>>> repo unless their are snapshots, right? Well snapshot is not an > > option > > >>>> right now (due to corporate things). > > >>> It is one of Maven's cardinal assumptions that release versions are > > >>> immutable. If you need different contents, use either: A) a different > > >> As Curtis already mentioned, you are unlikely to find a solution by > > >> continuing to head in this direction. Find another approach - most > > >> likely one that involves a process running outside of Maven before > > >> your build kicks off. > > >> > > >> Wayne > > >> > > >> --------------------------------------------------------------------- > > >> To unsubscribe, e-mail: [hidden email] > > >> </user/SendEmail.jtp?type=node&node=5790420&i=0> > > >> For additional commands, e-mail: [hidden email] > > >> </user/SendEmail.jtp?type=node&node=5790420&i=1> > > >> > > >> > > >> > > >> > > ------------------------------------------------------------------------ > > >> If you reply to this email, your message will be added to the > > >> discussion below: > > >> > > > http://maven.40175.n5.nabble.com/Scanning-for-Projects-before-tp5790393p5790420.html > > >> > > >> To unsubscribe from Scanning for Projects... before, click here > > >> < > > >> NAML > > >> > > < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > >> > > > > > > > > > > > > > > > -- > > > View this message in context: > > > http://maven.40175.n5.nabble.com/Scanning-for-Projects-before-tp5790393p5790474.html > > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > > > > > ------------------------------------------------------------------------ > > If you reply to this email, your message will be added to the > > discussion below: > > > http://maven.40175.n5.nabble.com/Scanning-for-Projects-before-tp5790393p5790475.html > > > > To unsubscribe from Scanning for Projects... before, click here > > < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5790393&code=ZXVnZW4ucmFiaWlAZ21haWwuY29tfDU3OTAzOTN8MTA1NjEzNjg3MA== > >. > > NAML > > < > http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Scanning-for-Projects-before-tp5790393p5790476.html > Sent from the Maven - Users mailing list archive at Nabble.com. > -- Baptiste <Batmat> MATHUS - http://batmat.net Sauvez un arbre, Mangez un castor !
