What command have you tried and what was the error?
Le 11 juin 2013 01:15, "tonyelaltaico" <alperkopuz@gmail.com> a écrit :
> From the forums that I followed 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 done it. Could you please tell me way to do it ?
>
> Best Regards Alper Kopuz
>
> Here is the pom.xml that I used :
>
> <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>
>
>
>
> --
> View this message in context:
> http://maven.40175.n5.nabble.com/how-to-deploy-multiple-wars-using-the-tomcat-plugin-in-maven-tp5758915.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
>
>
|