Subversion Repositories Integrator Subversion

Rev

Blame | Last modification | View Log | Download | RSS feed

<?xml version="1.0" encoding="UTF-8"?>
<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>

        <parent>
                <artifactId>srv</artifactId>
                <groupId>br.gov.al.saude</groupId>
                <version>1.10.0-SNAPSHOT</version>
        </parent>

        <artifactId>srv-web</artifactId>
        <packaging>war</packaging>
        <name>Projeto Web</name>
        <description>Responsável pela interface do sistema</description>

        <dependencies>
                <!-- MODULOS -->
                <dependency>
                        <groupId>br.gov.al.saude</groupId>
                        <artifactId>srv-core</artifactId>
                </dependency>

                <!-- FRAMEWORK -->
                <dependency>
                        <groupId>br.gov.al.saude</groupId>
                        <artifactId>sesau-framework-security</artifactId>
                </dependency>
                <dependency>
                        <groupId>br.gov.al.saude</groupId>
                        <artifactId>sesau-framework-web</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.primefaces</groupId>
                        <artifactId>primefaces</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.primefaces.themes</groupId>
                        <artifactId>redmond</artifactId>
                </dependency>
                <dependency>
                        <groupId>com.sun.faces</groupId>
                        <artifactId>jsf-impl</artifactId>
                        <scope>compile</scope>
                </dependency>
                <dependency>
                        <groupId>taglibs</groupId>
                        <artifactId>standard</artifactId>
                        <type>jar</type>
                        <scope>compile</scope>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-webmvc</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.springframework</groupId>
                        <artifactId>spring-aspects</artifactId>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>servlet-api</artifactId>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jsp-api</artifactId>
                </dependency>
                <dependency>
                        <groupId>javax.servlet</groupId>
                        <artifactId>jstl</artifactId>
                </dependency>
                <dependency>
                        <groupId>org.apache.tomcat</groupId>
                        <artifactId>tomcat-el-api</artifactId>
                        <scope>provided</scope>
                </dependency>
                <dependency>
                        <groupId>junit</groupId>
                        <artifactId>junit</artifactId>
                        <scope>test</scope>
                </dependency>
               
                <dependency>
                        <groupId>commons-fileupload</groupId>
                        <artifactId>commons-fileupload</artifactId>
                        <version>1.3</version>
                </dependency>
        </dependencies>

        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-war-plugin</artifactId>
                        </plugin>

                        <plugin>
                                <artifactId>maven-clean-plugin</artifactId>
                                <version>2.4.1</version>
                        </plugin>
                </plugins>
        </build>

        <profiles>
                <profile>
                        <id>tomcat-server</id>
                        <activation>
                                <property>
                                        <name>webServer</name>
                                        <value>tomcat</value>
                                </property>
                        </activation>
                        <build>
                                <plugins>
                                        <plugin>
                                                <groupId>org.apache.tomcat.maven</groupId>
                                                <artifactId>tomcat7-maven-plugin</artifactId>
                                                <executions>
                                                        <execution>
                                                                <id>run-tomcat</id>
                                                                <phase>pre-integration-test</phase>
                                                                <goals>
                                                                        <goal>run-war-only</goal>
                                                                </goals>
                                                                <configuration>
                                                                        <fork>true</fork>
                                                                </configuration>
                                                        </execution>
                                                        <execution>
                                                                <id>shutdown-tomcat</id>
                                                                <phase>post-integration-test</phase>
                                                                <goals>
                                                                        <goal>shutdown</goal>
                                                                </goals>
                                                        </execution>
                                                </executions>
                                        </plugin>
                                </plugins>
                        </build>
                </profile>
        </profiles>
</project>