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
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
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
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
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
I have tried your suggestion but it didn't work.Maybe i have done something
wrong?
My pom.xml.
profile1
id1
name1
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
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.
>
>
>
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