maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: How to site:deploy to multiple urls?
Date Fri, 04 Sep 2009 11:38:42 GMT
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 <canerkaplica@gmail.com>

>
> I have tried your suggestion but it didn't work.Maybe i have done something
> wrong?
>
> My pom.xml.
>
>                <profile>
>                        <id>profile1</id>
>                        <distributionManagement>
>                                <site>
>                                        <id>id1</id>
>                                        <name>name1</name>
>                                        <url>url1</url>
>                                </site>
>                        </distributionManagement>
>                         <build>
>                                <plugins>
>                                 <plugin>
>
>  <artifactId>maven-deploy-plugin</artifactId>
>                                  <executions>
>                                    <execution>
>                                      <id>send-to-second-repo</id>
>                                      <phase>deploy</phase>
>                                      <goals>
>                                        <goal>deploy</goal>
>                                      </goals>
>                                      <configuration>
>                                        <altDeploymentRepository>
>                                                 <id>id2</id>
>                                                <name>name2</name>
>                                                <url>url2</url>
>                                        </altDeploymentRepository>
>                                        <altDeploymentRepository>
>                                                <id>id3</id>
>                                                <name>name3</name>
>                                                <url>url3</url>
>                                        </altDeploymentRepository>
>                                      </configuration>
>                                    </execution>
>                                  </executions>
>                                </plugin>
>
> i execute "mvn site site:deploy -P profile1" end it deploys the site to
> only
> url1(defined in distributionManagement)What am i doing wrong?
>
>
> Stephen Connolly-2 wrote:
> >
> > multiple executions of deploy:deploy bound to the deploy phase.
> >
> > <plugin>
> >   <artifactId>maven-deploy-plugin</artifactId>
> >   <executions>
> >     <execution>
> >       <id>send-to-second-repo</id>
> >       <phase>deploy</phase>
> >       <goals>
> >         <goal>deploy</goal>
> >       </goals>
> >       <configuration>
> >         <*altDeploymentRepository>*....</<*altDeploymentRepository>*
> >       </configuration>
> >     </execution>
> >     <execution>
> >       <id>send-to-third-repo</id>
> >       <phase>deploy</phase>
> >       <goals>
> >         <goal>deploy</goal>
> >       </goals>
> >       <configuration>
> >         <*altDeploymentRepository>*....</<*altDeploymentRepository>*
> >       </configuration>
> >     </execution>
> >   </executions>
> > </plugin>
> >
> >
> > 2009/9/3 Caner Kaplıca <Caner.Kaplica@yapikredi.com.tr>
> >
> >> 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 <url> tags in <site>
> >> element or  multiple <site> in distributionManagement.How can i achieve
> >> this?Any idea is appreciated..
> >>
> >> Thanks in advance,
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/How-to-site%3Adeploy-to-multiple-urls--tp25271071p25292662.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message