How to site:deploy to multiple urls?

2009-09-03 Thread canerK
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple tags in element or multiple

How to site:deploy to multiple urls?

2009-09-03 Thread Caner Kaplıca
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple tags in element or multipl

How to site:deploy to multiple urls?

2009-09-03 Thread caner kaplica
Hi, I want to deploy(site:deploy) a site to two different places(url).I couldnt manage it with muliple profiles.Every profile has its own distributionManagement,but maven uses only one of them and deploys the site to that url.Also maven doesnt allow to use multiple tags in element or multiple i

Re: How to site:deploy to multiple urls?

2009-09-03 Thread Anders Hammar
Why didn't it work with profiles? Did you specify the profile (id) on the command line? I don't understand why that wouldn't work; Maven should use the url defined in the profile being used. However, you need to run the deploy twice; once with each profile: mvn site:deploy -Pprofile1 mvn site:depl

Re: How to site:deploy to multiple urls?

2009-09-03 Thread Stephen Connolly
multiple executions of deploy:deploy bound to the deploy phase. maven-deploy-plugin send-to-second-repo deploy deploy <*altDeploymentRepository>** send-to-third-repo deploy deploy

Re: How to site:deploy to multiple urls?

2009-09-04 Thread canerK
I have tried your suggestion but it didn't work.Maybe i have done something wrong? My pom.xml. profile1 id1 name1

Re: How to site:deploy to multiple urls?

2009-09-04 Thread canerK
I want to execute only one command.eg. "mvn site site:deploy -P profile1,profile2".The configurations for the site plugin are in profile1 and an alternative url is in profile2.Is there a way to achieve that? Anders Hammar wrote: > > Why didn't it work with profiles? Did you specify the profil

Re: How to site:deploy to multiple urls?

2009-09-04 Thread Stephen Connolly
ahh site:deploy then you are S.O.o.L. by my reading file a JIRA against m-s-p I thought you were after deploy:deploy -Stephen 2009/9/4 canerK > > I have tried your suggestion but it didn't work.Maybe i have done something > wrong? > > My pom.xml. > > >

Re: How to site:deploy to multiple urls?

2009-09-05 Thread Anders Hammar
No, I don't think so. If you use profiles you need to execute it twice as I described. /Anders On Fri, Sep 4, 2009 at 13:24, canerK wrote: > > > I want to execute only one command.eg. "mvn site site:deploy -P > profile1,profile2".The configurations for the site plugin are in profile1 > and an a