Re: subversion vs maven

2011-02-16 Thread a.geo
You mus consider a "core" section, that contain your business main code, usually you don't change it. Around it, is the implementation of the requirement. 2011/2/16 Jeff > Maybe this question will expose my ignorance, but I thought most build > systems only build the things that have changed u

Re: subversion vs maven

2011-02-16 Thread a.geo
You first need analyze the change level in every component, maybe split a project in more subprojects, so the 'static' code could be managed like a external library, this is, compile it and upload to Maven Proxy, and the changeable code only get from subversion. 2011/2/16 Leon Rosenberg > How ab

Re: Skip tests on release

2010-08-11 Thread a.geo
And again, ANT solution... :D not just kidding... you can use profiles production true and then use mvn package -P production 2010/8/11 Tony Chemit > Le Wed, 11 Aug 2010 08:33:06 -0400, > "C. Benson Manica" a écrit : > > > Thanks, this seems to be what I was lo

Re: How to write to file from maven

2010-08-02 Thread a.geo
Ant is the solution, and using the maven provided vars to set the replace task... Ok, is like kill a fly with a bazooka, but, it works... :D 2010/8/2 Dan Tran > ah, dont tight hudson to your maven build, you should get maven to get > those values for you via buildnumber-maven-plugin. This we y

Re: How to write to file from maven

2010-08-02 Thread a.geo
maybe with a Ant task Look at the Replace task documentation http://www.jajakarta.org/ant/ant-1.6.1/docs/en/manual/CoreTasks/replace.html You need first, make a copy from a template with a Copy task, and next use the replace task to replace the token with the new value, the current version... : D

Re: Change name of assembled artifacts

2010-08-02 Thread a.geo
or using a weird maven-ant task... :D but, next, you will need about three coffee cups... 2010/8/2 Wendy Smoak > On Mon, Aug 2, 2010 at 11:26 AM, C. Benson Manica > wrote: > > So there's absolutely no way to force Maven to deploy an artifact with a > > name not in the standard format? If so, t

Re: Change name of assembled artifacts

2010-08-02 Thread a.geo
t; On Mon, Aug 2, 2010 at 11:06 AM, Anders Hammar wrote: > > > Changing the name in the repo is not possible. It has to conform to Maven > > standard. > > > > /Anders > > > > On Mon, Aug 2, 2010 at 17:04, a.geo wrote: > > > > > So, you could u

Re: Change name of assembled artifacts

2010-08-02 Thread a.geo
in the target folder. > > /Anders > > On Mon, Aug 2, 2010 at 16:52, a.geo wrote: > > > Hi, > > > > You can to use > > > > > > > >my-own-name > > > > > > > > In the POM.XM

Re: force maven to redownload/refresh "released" dependencies

2010-08-02 Thread a.geo
mvn package -U maybe? the -U parameter tell to maven to refresh all dependencies required by the artifact 2010/8/2 Arnaud Héritier > I see only one case where it could be useful, it is when we use staging > repositories and have to update our released binaries. > It is a shame to have to manua

Re: Change name of assembled artifacts

2010-08-02 Thread a.geo
Hi, You can to use my-own-name In the POM.XML file 2010/8/2 C. Benson Manica > We have a project "foo" that builds several assemblies - let's say one of > them is named "bar". The resulting artifacts get named foo-VERSION-bar. > The problem i