maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonyelaltaico <alperko...@gmail.com>
Subject how to deploy multiple wars using the tomcat plugin in maven
Date Tue, 03 Sep 2013 13:41:34 GMT
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


Mime
View raw message