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 <[email protected]>

> 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,
>

Reply via email to