Re: mvn site site:deploy problem

2007-04-19 Thread David Roussel
On Wed, 18 Apr 2007 06:50:25 -0700 (PDT), Ionut S [EMAIL PROTECTED] said: Ok, if I create that script how can I tell Continuum to run it ? When you are logged in, on the left, under Add Project. Choose Shell Project.

Re: mvn site site:deploy problem

2007-04-19 Thread David Roussel
On Wed, 18 Apr 2007 06:50:25 -0700 (PDT), Ionut S [EMAIL PROTECTED] said: Ok, if I create that script how can I tell Continuum to run it ?

Re: mvn site site:deploy problem

2007-04-18 Thread Nick Stolwijk
I think I know what he means, as I have seen the same. It thrashes in case of a multimodule project. If you have parent -child1 -child2 It executes first for parent the goals (clean install site site:deploy), then child1 and then child2. So if one of your childs fails, you have half the

Re: mvn site site:deploy problem

2007-04-18 Thread Ionut S
Yes, that's exactly what happens. Probably I should address this question to the maven list ? Nick Stolwijk [EMAIL PROTECTED] wrote: I think I know what he means, as I have seen the same. It thrashes in case of a multimodule project. If you have parent -child1 -child2 It executes

Re: mvn site site:deploy problem

2007-04-18 Thread David Roussel
Oh, I see. How about changing your site build to run a script that does... 1. mkdir tmp-site 2. mvn clean site site:deploy -DdistributionManagement.site.url=./tmp-site 3. if success; mv tmp-site /var/www/site I suppose it in a Maven issue, but it's a fundamental 'feature' of how Maven works.

Re: mvn site site:deploy problem

2007-04-18 Thread Ionut S
Ok, if I create that script how can I tell Continuum to run it ? As our continuum server is configured right now, I can only add a new goal, not a script.. David Roussel [EMAIL PROTECTED] wrote: Oh, I see. How about changing your site build to run a script that does... 1. mkdir tmp-site 2.

Re: mvn site site:deploy problem

2007-04-13 Thread David Roussel
Trashes it in what way? Which files are missing? My understanding is that when you do site:deploy it just copies to file over, it doesn't delete from the target first. But exactly how this works probably depends on how you have it configured. Do you get the same problem if you have:

mvn site site:deploy problem

2007-04-12 Thread Ionut S
Hi, Not sure if my problem is related to mvn or continuum, so excuse me if I'm wrong.. Anyway, we have a continuum site in place, which works fine in general. There is one abnormal behaviour that made me write to this list though: if the build fails (for any reason), the site gets trashed.