Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
<?xml version="1.0" encoding="UTF-8"?>
2
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3
        xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4
        <modelVersion>4.0.0</modelVersion>
5
 
6
        <parent>
7
                <artifactId>rhd</artifactId>
8
                <groupId>br.gov.al.saude</groupId>
9
                <version>1.6.1</version>
10
        </parent>
11
 
12
        <artifactId>rhd-web</artifactId>
13
        <packaging>war</packaging>
14
        <name>Projeto Web</name>
15
        <description>Responsável pela interface do sistema</description>
16
 
17
        <dependencies>
18
                <!-- MODULOS -->
19
                <dependency>
20
                        <groupId>br.gov.al.saude</groupId>
21
                        <artifactId>rhd-core</artifactId>
22
                </dependency>
23
 
24
                <!-- FRAMEWORK -->
25
                <dependency>
26
                        <groupId>br.gov.al.saude</groupId>
27
                        <artifactId>sesau-framework-security</artifactId>
28
                </dependency>
29
                <dependency>
30
                        <groupId>br.gov.al.saude</groupId>
31
                        <artifactId>sesau-framework-web</artifactId>
32
                </dependency>
33
                <dependency>
34
                        <groupId>org.primefaces</groupId>
35
                        <artifactId>primefaces</artifactId>
36
                </dependency>
37
                <dependency>
38
                        <groupId>org.primefaces.themes</groupId>
39
                        <artifactId>redmond</artifactId>
40
                </dependency>
41
                <dependency>
42
                        <groupId>com.sun.faces</groupId>
43
                        <artifactId>jsf-impl</artifactId>
44
                        <scope>compile</scope>
45
                </dependency>
46
                <dependency>
47
                        <groupId>taglibs</groupId>
48
                        <artifactId>standard</artifactId>
49
                        <type>jar</type>
50
                        <scope>compile</scope>
51
                </dependency>
52
                <dependency>
53
                        <groupId>org.springframework</groupId>
54
                        <artifactId>spring-webmvc</artifactId>
55
                </dependency>
56
                <dependency>
57
                        <groupId>org.springframework</groupId>
58
                        <artifactId>spring-aspects</artifactId>
59
                </dependency>
60
                <dependency>
61
                        <groupId>javax.servlet</groupId>
62
                        <artifactId>servlet-api</artifactId>
63
                        <scope>provided</scope>
64
                </dependency>
65
                <dependency>
66
                        <groupId>javax.servlet</groupId>
67
                        <artifactId>jsp-api</artifactId>
68
                </dependency>
69
                <dependency>
70
                        <groupId>javax.servlet</groupId>
71
                        <artifactId>jstl</artifactId>
72
                </dependency>
73
                <dependency>
74
                        <groupId>org.apache.tomcat</groupId>
75
                        <artifactId>tomcat-el-api</artifactId>
76
                        <scope>provided</scope>
77
                </dependency>
78
                <dependency>
79
                        <groupId>junit</groupId>
80
                        <artifactId>junit</artifactId>
81
                        <scope>test</scope>
82
                </dependency>
83
                <dependency>
84
                        <groupId>org.apache.poi</groupId>
85
                        <artifactId>poi</artifactId>
86
                </dependency>
87
                <dependency>
88
                        <groupId>org.apache.poi</groupId>
89
                        <artifactId>poi-ooxml</artifactId>
90
                </dependency>
91
                <dependency>
92
                        <groupId>org.apache.poi</groupId>
93
                        <artifactId>poi-scratchpad</artifactId>
94
                </dependency>
95
 
96
                <dependency>
97
                        <groupId>commons-fileupload</groupId>
98
                        <artifactId>commons-fileupload</artifactId>
99
                        <version>1.3</version>
100
                </dependency>
101
        </dependencies>
102
 
103
        <build>
104
                <plugins>
105
                        <plugin>
106
                                <groupId>org.apache.maven.plugins</groupId>
107
                                <artifactId>maven-war-plugin</artifactId>
108
                                <!-- Configuração para que os arquivos para download não sejam compilados -->
109
                                <configuration>
110
                                <webResources>
111
                                   <resource>
112
                                     <directory>src/main/webapp/arquivos</directory>
113
                                     <filtering>false</filtering>
114
                                   </resource>
115
                           </webResources>
116
                        </configuration>
117
                        </plugin>
118
 
119
                        <plugin>
120
                                <artifactId>maven-clean-plugin</artifactId>
121
                                <version>2.4.1</version>
122
                        </plugin>
123
                </plugins>
124
        </build>
125
 
126
        <profiles>
127
                <profile>
128
                        <id>tomcat-server</id>
129
                        <activation>
130
                                <property>
131
                                        <name>webServer</name>
132
                                        <value>tomcat</value>
133
                                </property>
134
                        </activation>
135
                        <build>
136
                                <plugins>
137
                                        <plugin>
138
                                                <groupId>org.apache.tomcat.maven</groupId>
139
                                                <artifactId>tomcat7-maven-plugin</artifactId>
140
                                                <executions>
141
                                                        <execution>
142
                                                                <id>run-tomcat</id>
143
                                                                <phase>pre-integration-test</phase>
144
                                                                <goals>
145
                                                                        <goal>run-war-only</goal>
146
                                                                </goals>
147
                                                                <configuration>
148
                                                                        <fork>true</fork>
149
                                                                </configuration>
150
                                                        </execution>
151
                                                        <execution>
152
                                                                <id>shutdown-tomcat</id>
153
                                                                <phase>post-integration-test</phase>
154
                                                                <goals>
155
                                                                        <goal>shutdown</goal>
156
                                                                </goals>
157
                                                        </execution>
158
                                                </executions>
159
                                        </plugin>
160
                                </plugins>
161
                        </build>
162
                </profile>
163
        </profiles>
164
</project>