You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by tonyelaltaico <al...@gmail.com> on 2013/09/03 15:41:34 UTC

how to deploy multiple wars using the tomcat plugin in maven

At the forums that I looked at I tried some ways to find a way to deploy
mutliple wars using tomcat plugin in maven but I could not succeed.

I created a third project and used three projects in order to deploy them
but I have not succeed it. 

Could you please tell me way to deploy three different wars at same time
using tomcat plugin in maven?  


Best Regards   
Alper Kopuz   

This is the pom.xml that I have used to run Tomcat...

<code>

<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
 
<groupId>
tr.com.provus.pays
</groupId>
<artifactId>PAYSGroupProject</artifactId>
  <version>1.0</version>
  <packaging>pom</packaging>
 
  <modules>
    <module>../PAYSWeb</module>
    <module>../PAYSDashboard</module>
    <module>../PAYSStaticWeb</module>
  </modules>
 
  <name>PAYSGroupProject</name>
  <url>http://maven.apache.org</url>
 
  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>
 
  <build>
  <plugins>
    <plugin>
<groupId>org.apache.tomcat.maven</groupId>
    <artifactId>tomcat7-maven-plugin</artifactId>
     <executions>
          <execution>
            <id>deploy</id>
            <phase>pre-integration-test</phase>
            <goals>
              <goal>run</goal>
            </goals>
          </execution>
        </executions>
 
         <configuration>
       <warSourceDirectory>WebContent</warSourceDirectory>
        </configuration>
  </plugin>
  </plugins>
  </build>
 
</project>

</code>



--
View this message in context: http://maven.40175.n5.nabble.com/how-to-deploy-multiple-wars-using-the-tomcat-plugin-in-maven-tp5769413.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


Re: how to deploy multiple wars using the tomcat plugin in maven

Posted by Wayne Fay <wa...@gmail.com>.
>     <plugin>
>     <groupId>org.apache.tomcat.maven</groupId>
>     <artifactId>tomcat7-maven-plugin</artifactId>

This groupId tells you the org.apache.tomcat folks are the ones who
develop and support this plugin, and thus you should probably ask them
for support (in addition to and/or instead of Maven Users).

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org