Commit db70c37c5ff1060a830736ff03543daf17a83f67

Authored by Cleverson Sacramento
1 parent 1ae394f1
Exists in master

Renomeando o web-parent para servlet-parent e ajustes nas dependências

dos profiles jsf e servlet
parent/jsf/pom.xml
@@ -34,8 +34,7 @@ @@ -34,8 +34,7 @@
34 ou escreva para a Fundação do Software Livre (FSF) Inc., 34 ou escreva para a Fundação do Software Livre (FSF) Inc.,
35 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. 35 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA.
36 --> 36 -->
37 -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
38 - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 37 +<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/maven-v4_0_0.xsd">
39 38
40 <modelVersion>4.0.0</modelVersion> 39 <modelVersion>4.0.0</modelVersion>
41 40
@@ -44,9 +43,9 @@ @@ -44,9 +43,9 @@
44 43
45 <parent> 44 <parent>
46 <groupId>br.gov.frameworkdemoiselle</groupId> 45 <groupId>br.gov.frameworkdemoiselle</groupId>
47 - <artifactId>demoiselle-minimal-parent</artifactId> 46 + <artifactId>demoiselle-servlet-parent</artifactId>
48 <version>2.3.0-BETA2-SNAPSHOT</version> 47 <version>2.3.0-BETA2-SNAPSHOT</version>
49 - <relativePath>../minimal/pom.xml</relativePath> 48 + <relativePath>../servlet/pom.xml</relativePath>
50 </parent> 49 </parent>
51 50
52 <name>JSF Parent</name> 51 <name>JSF Parent</name>
@@ -55,24 +54,6 @@ @@ -55,24 +54,6 @@
55 utilizam o framework. 54 utilizam o framework.
56 </description> 55 </description>
57 56
58 - <build>  
59 - <plugins>  
60 - <plugin>  
61 - <groupId>org.apache.maven.plugins</groupId>  
62 - <artifactId>maven-war-plugin</artifactId>  
63 - <configuration>  
64 - <webResources>  
65 - <resource>  
66 - <directory>src/main/webapp/WEB-INF</directory>  
67 - <targetPath>WEB-INF</targetPath>  
68 - <filtering>true</filtering>  
69 - </resource>  
70 - </webResources>  
71 - </configuration>  
72 - </plugin>  
73 - </plugins>  
74 - </build>  
75 -  
76 <dependencies> 57 <dependencies>
77 <dependency> 58 <dependency>
78 <groupId>br.gov.frameworkdemoiselle</groupId> 59 <groupId>br.gov.frameworkdemoiselle</groupId>
@@ -81,28 +62,12 @@ @@ -81,28 +62,12 @@
81 </dependency> 62 </dependency>
82 </dependencies> 63 </dependencies>
83 64
84 - <dependencyManagement>  
85 - <dependencies>  
86 - <dependency>  
87 - <groupId>javax.servlet</groupId>  
88 - <artifactId>javax.servlet-api</artifactId>  
89 - <version>3.0.1</version>  
90 - <scope>provided</scope>  
91 - </dependency>  
92 - </dependencies>  
93 - </dependencyManagement>  
94 -  
95 <profiles> 65 <profiles>
96 <!-- Os profiles foram replicados do parent pois o Maven 2 não suporta herança de profile. Provavelmente isto estará corrigido no Maven 3 --> 66 <!-- Os profiles foram replicados do parent pois o Maven 2 não suporta herança de profile. Provavelmente isto estará corrigido no Maven 3 -->
97 <profile> 67 <profile>
98 <id>tomcat6</id> 68 <id>tomcat6</id>
99 <dependencies> 69 <dependencies>
100 <dependency> 70 <dependency>
101 - <groupId>javax.servlet</groupId>  
102 - <artifactId>servlet-api</artifactId>  
103 - <scope>provided</scope>  
104 - </dependency>  
105 - <dependency>  
106 <groupId>org.jboss.weld</groupId> 71 <groupId>org.jboss.weld</groupId>
107 <artifactId>weld-core</artifactId> 72 <artifactId>weld-core</artifactId>
108 <scope>runtime</scope> 73 <scope>runtime</scope>
@@ -143,22 +108,6 @@ @@ -143,22 +108,6 @@
143 <id>tomcat7</id> 108 <id>tomcat7</id>
144 <dependencies> 109 <dependencies>
145 <dependency> 110 <dependency>
146 - <groupId>br.gov.frameworkdemoiselle</groupId>  
147 - <artifactId>demoiselle-jsf</artifactId>  
148 - <scope>compile</scope>  
149 - <exclusions>  
150 - <exclusion>  
151 - <groupId>javax.servlet</groupId>  
152 - <artifactId>servlet-api</artifactId>  
153 - </exclusion>  
154 - </exclusions>  
155 - </dependency>  
156 - <dependency>  
157 - <groupId>javax.servlet</groupId>  
158 - <artifactId>javax.servlet-api</artifactId>  
159 - <scope>provided</scope>  
160 - </dependency>  
161 - <dependency>  
162 <groupId>org.jboss.weld</groupId> 111 <groupId>org.jboss.weld</groupId>
163 <artifactId>weld-core</artifactId> 112 <artifactId>weld-core</artifactId>
164 <scope>runtime</scope> 113 <scope>runtime</scope>
@@ -211,11 +160,6 @@ @@ -211,11 +160,6 @@
211 </build> 160 </build>
212 <dependencies> 161 <dependencies>
213 <dependency> 162 <dependency>
214 - <groupId>javax.servlet</groupId>  
215 - <artifactId>servlet-api</artifactId>  
216 - <scope>provided</scope>  
217 - </dependency>  
218 - <dependency>  
219 <groupId>org.jboss.weld</groupId> 163 <groupId>org.jboss.weld</groupId>
220 <artifactId>weld-core</artifactId> 164 <artifactId>weld-core</artifactId>
221 <scope>runtime</scope> 165 <scope>runtime</scope>
@@ -266,22 +210,6 @@ @@ -266,22 +210,6 @@
266 <id>glassfish3</id> 210 <id>glassfish3</id>
267 <dependencies> 211 <dependencies>
268 <dependency> 212 <dependency>
269 - <groupId>br.gov.frameworkdemoiselle</groupId>  
270 - <artifactId>demoiselle-jsf</artifactId>  
271 - <scope>compile</scope>  
272 - <exclusions>  
273 - <exclusion>  
274 - <groupId>javax.servlet</groupId>  
275 - <artifactId>servlet-api</artifactId>  
276 - </exclusion>  
277 - </exclusions>  
278 - </dependency>  
279 - <dependency>  
280 - <groupId>javax.servlet</groupId>  
281 - <artifactId>javax.servlet-api</artifactId>  
282 - <scope>provided</scope>  
283 - </dependency>  
284 - <dependency>  
285 <groupId>javax.enterprise</groupId> 213 <groupId>javax.enterprise</groupId>
286 <artifactId>cdi-api</artifactId> 214 <artifactId>cdi-api</artifactId>
287 <scope>provided</scope> 215 <scope>provided</scope>
@@ -317,16 +245,10 @@ @@ -317,16 +245,10 @@
317 <scope>provided</scope> 245 <scope>provided</scope>
318 </dependency> 246 </dependency>
319 <dependency> 247 <dependency>
320 - <groupId>com.sun.faces</groupId>  
321 - <artifactId>jsf-impl</artifactId>  
322 - <scope>provided</scope>  
323 - </dependency>  
324 - <dependency>  
325 <groupId>hsqldb</groupId> 248 <groupId>hsqldb</groupId>
326 <artifactId>hsqldb</artifactId> 249 <artifactId>hsqldb</artifactId>
327 <scope>provided</scope> 250 <scope>provided</scope>
328 </dependency> 251 </dependency>
329 -  
330 <dependency> 252 <dependency>
331 <groupId>org.hibernate</groupId> 253 <groupId>org.hibernate</groupId>
332 <artifactId>hibernate-entitymanager</artifactId> 254 <artifactId>hibernate-entitymanager</artifactId>
@@ -338,22 +260,6 @@ @@ -338,22 +260,6 @@
338 <id>jboss6</id> 260 <id>jboss6</id>
339 <dependencies> 261 <dependencies>
340 <dependency> 262 <dependency>
341 - <groupId>br.gov.frameworkdemoiselle</groupId>  
342 - <artifactId>demoiselle-jsf</artifactId>  
343 - <scope>compile</scope>  
344 - <exclusions>  
345 - <exclusion>  
346 - <groupId>javax.servlet</groupId>  
347 - <artifactId>servlet-api</artifactId>  
348 - </exclusion>  
349 - </exclusions>  
350 - </dependency>  
351 - <dependency>  
352 - <groupId>javax.servlet</groupId>  
353 - <artifactId>javax.servlet-api</artifactId>  
354 - <scope>provided</scope>  
355 - </dependency>  
356 - <dependency>  
357 <groupId>javax.enterprise</groupId> 263 <groupId>javax.enterprise</groupId>
358 <artifactId>cdi-api</artifactId> 264 <artifactId>cdi-api</artifactId>
359 <scope>provided</scope> 265 <scope>provided</scope>
@@ -393,7 +299,6 @@ @@ -393,7 +299,6 @@
393 <artifactId>hsqldb</artifactId> 299 <artifactId>hsqldb</artifactId>
394 <scope>provided</scope> 300 <scope>provided</scope>
395 </dependency> 301 </dependency>
396 -  
397 <dependency> 302 <dependency>
398 <groupId>org.hibernate</groupId> 303 <groupId>org.hibernate</groupId>
399 <artifactId>hibernate-entitymanager</artifactId> 304 <artifactId>hibernate-entitymanager</artifactId>
@@ -408,22 +313,6 @@ @@ -408,22 +313,6 @@
408 </activation> 313 </activation>
409 <dependencies> 314 <dependencies>
410 <dependency> 315 <dependency>
411 - <groupId>br.gov.frameworkdemoiselle</groupId>  
412 - <artifactId>demoiselle-jsf</artifactId>  
413 - <scope>compile</scope>  
414 - <exclusions>  
415 - <exclusion>  
416 - <groupId>javax.servlet</groupId>  
417 - <artifactId>servlet-api</artifactId>  
418 - </exclusion>  
419 - </exclusions>  
420 - </dependency>  
421 - <dependency>  
422 - <groupId>javax.servlet</groupId>  
423 - <artifactId>javax.servlet-api</artifactId>  
424 - <scope>provided</scope>  
425 - </dependency>  
426 - <dependency>  
427 <groupId>javax.enterprise</groupId> 316 <groupId>javax.enterprise</groupId>
428 <artifactId>cdi-api</artifactId> 317 <artifactId>cdi-api</artifactId>
429 <scope>provided</scope> 318 <scope>provided</scope>
@@ -463,7 +352,6 @@ @@ -463,7 +352,6 @@
463 <artifactId>hsqldb</artifactId> 352 <artifactId>hsqldb</artifactId>
464 <scope>provided</scope> 353 <scope>provided</scope>
465 </dependency> 354 </dependency>
466 -  
467 <dependency> 355 <dependency>
468 <groupId>org.hibernate</groupId> 356 <groupId>org.hibernate</groupId>
469 <artifactId>hibernate-entitymanager</artifactId> 357 <artifactId>hibernate-entitymanager</artifactId>
parent/pom.xml
@@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
52 <module>archetype</module> 52 <module>archetype</module>
53 <module>minimal</module> 53 <module>minimal</module>
54 <module>extension</module> 54 <module>extension</module>
55 - <module>web</module> 55 + <module>servlet</module>
56 <module>jsf</module> 56 <module>jsf</module>
57 <module>se</module> 57 <module>se</module>
58 </modules> 58 </modules>
parent/servlet/.gitignore 0 → 100644
@@ -0,0 +1,5 @@ @@ -0,0 +1,5 @@
  1 +/target
  2 +/.project
  3 +/.classpath
  4 +/.settings
  5 +/.externalToolBuilders
parent/servlet/pom.xml 0 → 100755
@@ -0,0 +1,393 @@ @@ -0,0 +1,393 @@
  1 +<!--
  2 + Demoiselle Framework
  3 + Copyright (C) 2010 SERPRO
  4 + ============================================================================
  5 + This file is part of Demoiselle Framework.
  6 +
  7 + Demoiselle Framework is free software; you can redistribute it and/or
  8 + modify it under the terms of the GNU Lesser General Public License version 3
  9 + as published by the Free Software Foundation.
  10 +
  11 + This program is distributed in the hope that it will be useful,
  12 + but WITHOUT ANY WARRANTY; without even the implied warranty of
  13 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14 + GNU General Public License for more details.
  15 +
  16 + You should have received a copy of the GNU Lesser General Public License version 3
  17 + along with this program; if not, see <http://www.gnu.org/licenses />
  18 + or write to the Free Software Foundation, Inc., 51 Franklin Street,
  19 + Fifth Floor, Boston, MA 02110-1301, USA.
  20 + ============================================================================
  21 + Este arquivo é parte do Framework Demoiselle.
  22 +
  23 + O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou
  24 + modificá-lo dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação
  25 + do Software Livre (FSF).
  26 +
  27 + Este programa é distribuído na esperança que possa ser útil, mas SEM NENHUMA
  28 + GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou
  29 + APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português
  30 + para maiores detalhes.
  31 +
  32 + Você deve ter recebido uma cópia da GNU LGPL versão 3, sob o título
  33 + "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses />
  34 + ou escreva para a Fundação do Software Livre (FSF) Inc.,
  35 + 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA.
  36 +-->
  37 +<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/maven-v4_0_0.xsd">
  38 +
  39 + <modelVersion>4.0.0</modelVersion>
  40 +
  41 + <artifactId>demoiselle-servlet-parent</artifactId>
  42 + <packaging>pom</packaging>
  43 +
  44 + <parent>
  45 + <groupId>br.gov.frameworkdemoiselle</groupId>
  46 + <artifactId>demoiselle-minimal-parent</artifactId>
  47 + <version>2.3.0-BETA2-SNAPSHOT</version>
  48 + <relativePath>../minimal/pom.xml</relativePath>
  49 + </parent>
  50 +
  51 + <name>Servlet Parent</name>
  52 + <description>
  53 + Especialização do POM mínimo, contendo configurações úteis para todas as aplicações Servlet que utilizam o framework.
  54 + </description>
  55 +
  56 + <build>
  57 + <plugins>
  58 + <plugin>
  59 + <groupId>org.apache.maven.plugins</groupId>
  60 + <artifactId>maven-war-plugin</artifactId>
  61 + <configuration>
  62 + <webResources>
  63 + <resource>
  64 + <directory>src/main/webapp/WEB-INF</directory>
  65 + <targetPath>WEB-INF</targetPath>
  66 + <filtering>true</filtering>
  67 + </resource>
  68 + </webResources>
  69 + </configuration>
  70 + </plugin>
  71 + </plugins>
  72 + </build>
  73 +
  74 + <dependencyManagement>
  75 + <dependencies>
  76 + <dependency>
  77 + <groupId>javax.servlet</groupId>
  78 + <artifactId>javax.servlet-api</artifactId>
  79 + <version>3.0.1</version>
  80 + </dependency>
  81 + </dependencies>
  82 + </dependencyManagement>
  83 +
  84 + <dependencies>
  85 + <dependency>
  86 + <groupId>br.gov.frameworkdemoiselle</groupId>
  87 + <artifactId>demoiselle-servlet</artifactId>
  88 + <scope>compile</scope>
  89 + <exclusions>
  90 + <exclusion>
  91 + <groupId>javax.servlet</groupId>
  92 + <artifactId>servlet-api</artifactId>
  93 + </exclusion>
  94 + </exclusions>
  95 + </dependency>
  96 + </dependencies>
  97 +
  98 + <profiles>
  99 + <profile>
  100 + <id>tomcat6</id>
  101 + <dependencies>
  102 + <dependency>
  103 + <groupId>javax.servlet</groupId>
  104 + <artifactId>servlet-api</artifactId>
  105 + <scope>provided</scope>
  106 + </dependency>
  107 + <dependency>
  108 + <groupId>org.jboss.weld</groupId>
  109 + <artifactId>weld-core</artifactId>
  110 + <scope>runtime</scope>
  111 + </dependency>
  112 + <dependency>
  113 + <groupId>org.jboss.weld.servlet</groupId>
  114 + <artifactId>weld-servlet-core</artifactId>
  115 + <scope>runtime</scope>
  116 + </dependency>
  117 + <dependency>
  118 + <groupId>org.eclipse.persistence</groupId>
  119 + <artifactId>eclipselink</artifactId>
  120 + <scope>runtime</scope>
  121 + </dependency>
  122 + <dependency>
  123 + <groupId>org.hibernate</groupId>
  124 + <artifactId>hibernate-validator</artifactId>
  125 + <scope>runtime</scope>
  126 + </dependency>
  127 + <dependency>
  128 + <groupId>org.slf4j</groupId>
  129 + <artifactId>slf4j-log4j12</artifactId>
  130 + <scope>runtime</scope>
  131 + </dependency>
  132 + <dependency>
  133 + <groupId>hsqldb</groupId>
  134 + <artifactId>hsqldb</artifactId>
  135 + <scope>compile</scope>
  136 + </dependency>
  137 + </dependencies>
  138 + </profile>
  139 + <profile>
  140 + <id>tomcat7</id>
  141 + <dependencies>
  142 + <dependency>
  143 + <groupId>javax.servlet</groupId>
  144 + <artifactId>javax.servlet-api</artifactId>
  145 + <scope>provided</scope>
  146 + </dependency>
  147 + <dependency>
  148 + <groupId>org.jboss.weld</groupId>
  149 + <artifactId>weld-core</artifactId>
  150 + <scope>runtime</scope>
  151 + </dependency>
  152 + <dependency>
  153 + <groupId>org.jboss.weld.servlet</groupId>
  154 + <artifactId>weld-servlet-core</artifactId>
  155 + <scope>runtime</scope>
  156 + </dependency>
  157 + <dependency>
  158 + <groupId>org.eclipse.persistence</groupId>
  159 + <artifactId>eclipselink</artifactId>
  160 + <scope>runtime</scope>
  161 + </dependency>
  162 + <dependency>
  163 + <groupId>org.hibernate</groupId>
  164 + <artifactId>hibernate-validator</artifactId>
  165 + <scope>runtime</scope>
  166 + </dependency>
  167 + <dependency>
  168 + <groupId>org.slf4j</groupId>
  169 + <artifactId>slf4j-log4j12</artifactId>
  170 + <scope>runtime</scope>
  171 + </dependency>
  172 + <dependency>
  173 + <groupId>hsqldb</groupId>
  174 + <artifactId>hsqldb</artifactId>
  175 + <scope>compile</scope>
  176 + </dependency>
  177 + </dependencies>
  178 + </profile>
  179 + <profile>
  180 + <id>gae</id>
  181 + <build>
  182 + <plugins>
  183 + <plugin>
  184 + <groupId>net.kindleit</groupId>
  185 + <artifactId>maven-gae-plugin</artifactId>
  186 + <version>${kindleit.plugin.version}</version>
  187 + <configuration>
  188 + <serverId>appengine.google.com</serverId>
  189 + </configuration>
  190 + </plugin>
  191 + </plugins>
  192 + </build>
  193 + <dependencies>
  194 + <dependency>
  195 + <groupId>javax.servlet</groupId>
  196 + <artifactId>servlet-api</artifactId>
  197 + <scope>provided</scope>
  198 + </dependency>
  199 + <dependency>
  200 + <groupId>org.jboss.weld</groupId>
  201 + <artifactId>weld-core</artifactId>
  202 + <scope>runtime</scope>
  203 + </dependency>
  204 + <dependency>
  205 + <groupId>org.jboss.weld.servlet</groupId>
  206 + <artifactId>weld-servlet-core</artifactId>
  207 + <scope>runtime</scope>
  208 + </dependency>
  209 + <dependency>
  210 + <groupId>org.hibernate</groupId>
  211 + <artifactId>hibernate-validator</artifactId>
  212 + <scope>runtime</scope>
  213 + </dependency>
  214 + <dependency>
  215 + <groupId>org.slf4j</groupId>
  216 + <artifactId>slf4j-log4j12</artifactId>
  217 + <scope>runtime</scope>
  218 + </dependency>
  219 + <dependency>
  220 + <groupId>com.google.appengine</groupId>
  221 + <artifactId>appengine-api-1.0-sdk</artifactId>
  222 + <version>${gae.version}</version>
  223 + </dependency>
  224 + </dependencies>
  225 + <repositories>
  226 + <repository>
  227 + <id>objectify-appengine</id>
  228 + <url>http://objectify-appengine.googlecode.com/svn/maven</url>
  229 + </repository>
  230 + </repositories>
  231 + <properties>
  232 + <gae.version>1.7.0</gae.version>
  233 + <kindleit.plugin.version>0.9.4</kindleit.plugin.version>
  234 + </properties>
  235 + </profile>
  236 + <profile>
  237 + <id>glassfish3</id>
  238 + <dependencies>
  239 + <dependency>
  240 + <groupId>javax.servlet</groupId>
  241 + <artifactId>javax.servlet-api</artifactId>
  242 + <scope>provided</scope>
  243 + </dependency>
  244 + <dependency>
  245 + <groupId>javax.enterprise</groupId>
  246 + <artifactId>cdi-api</artifactId>
  247 + <scope>provided</scope>
  248 + </dependency>
  249 + <dependency>
  250 + <groupId>javax.servlet</groupId>
  251 + <artifactId>jstl</artifactId>
  252 + <scope>provided</scope>
  253 + </dependency>
  254 + <dependency>
  255 + <artifactId>validation-api</artifactId>
  256 + <groupId>javax.validation</groupId>
  257 + <scope>provided</scope>
  258 + </dependency>
  259 + <dependency>
  260 + <groupId>javax.transaction</groupId>
  261 + <artifactId>jta</artifactId>
  262 + <scope>provided</scope>
  263 + </dependency>
  264 + <dependency>
  265 + <groupId>org.slf4j</groupId>
  266 + <artifactId>slf4j-log4j12</artifactId>
  267 + <scope>runtime</scope>
  268 + </dependency>
  269 + <dependency>
  270 + <groupId>org.eclipse.persistence</groupId>
  271 + <artifactId>javax.persistence</artifactId>
  272 + <scope>provided</scope>
  273 + </dependency>
  274 + <dependency>
  275 + <groupId>hsqldb</groupId>
  276 + <artifactId>hsqldb</artifactId>
  277 + <scope>provided</scope>
  278 + </dependency>
  279 + <dependency>
  280 + <groupId>org.hibernate</groupId>
  281 + <artifactId>hibernate-entitymanager</artifactId>
  282 + <scope>test</scope>
  283 + </dependency>
  284 + </dependencies>
  285 + </profile>
  286 + <profile>
  287 + <id>jboss6</id>
  288 + <dependencies>
  289 + <dependency>
  290 + <groupId>javax.servlet</groupId>
  291 + <artifactId>javax.servlet-api</artifactId>
  292 + <scope>provided</scope>
  293 + </dependency>
  294 + <dependency>
  295 + <groupId>javax.enterprise</groupId>
  296 + <artifactId>cdi-api</artifactId>
  297 + <scope>provided</scope>
  298 + </dependency>
  299 + <dependency>
  300 + <groupId>javax.servlet</groupId>
  301 + <artifactId>jstl</artifactId>
  302 + <scope>provided</scope>
  303 + </dependency>
  304 + <dependency>
  305 + <artifactId>validation-api</artifactId>
  306 + <groupId>javax.validation</groupId>
  307 + <scope>provided</scope>
  308 + </dependency>
  309 + <dependency>
  310 + <groupId>javax.transaction</groupId>
  311 + <artifactId>jta</artifactId>
  312 + <scope>provided</scope>
  313 + </dependency>
  314 + <dependency>
  315 + <groupId>org.slf4j</groupId>
  316 + <artifactId>slf4j-api</artifactId>
  317 + <scope>provided</scope>
  318 + </dependency>
  319 + <dependency>
  320 + <groupId>org.eclipse.persistence</groupId>
  321 + <artifactId>javax.persistence</artifactId>
  322 + <scope>provided</scope>
  323 + </dependency>
  324 + <dependency>
  325 + <groupId>hsqldb</groupId>
  326 + <artifactId>hsqldb</artifactId>
  327 + <scope>provided</scope>
  328 + </dependency>
  329 + <dependency>
  330 + <groupId>org.hibernate</groupId>
  331 + <artifactId>hibernate-entitymanager</artifactId>
  332 + <scope>test</scope>
  333 + </dependency>
  334 + </dependencies>
  335 + </profile>
  336 + <profile>
  337 + <id>jboss7</id>
  338 + <activation>
  339 + <activeByDefault>true</activeByDefault>
  340 + </activation>
  341 + <dependencies>
  342 + <dependency>
  343 + <groupId>javax.servlet</groupId>
  344 + <artifactId>javax.servlet-api</artifactId>
  345 + <scope>provided</scope>
  346 + </dependency>
  347 + <dependency>
  348 + <groupId>javax.enterprise</groupId>
  349 + <artifactId>cdi-api</artifactId>
  350 + <scope>provided</scope>
  351 + </dependency>
  352 + <dependency>
  353 + <artifactId>validation-api</artifactId>
  354 + <groupId>javax.validation</groupId>
  355 + <scope>provided</scope>
  356 + </dependency>
  357 + <dependency>
  358 + <groupId>javax.transaction</groupId>
  359 + <artifactId>jta</artifactId>
  360 + <scope>provided</scope>
  361 + </dependency>
  362 + <dependency>
  363 + <groupId>org.slf4j</groupId>
  364 + <artifactId>slf4j-api</artifactId>
  365 + <scope>provided</scope>
  366 + </dependency>
  367 + <dependency>
  368 + <groupId>org.eclipse.persistence</groupId>
  369 + <artifactId>javax.persistence</artifactId>
  370 + <scope>provided</scope>
  371 + </dependency>
  372 + <dependency>
  373 + <groupId>hsqldb</groupId>
  374 + <artifactId>hsqldb</artifactId>
  375 + <scope>provided</scope>
  376 + </dependency>
  377 + <dependency>
  378 + <groupId>org.hibernate</groupId>
  379 + <artifactId>hibernate-entitymanager</artifactId>
  380 + <scope>test</scope>
  381 + </dependency>
  382 + </dependencies>
  383 + </profile>
  384 + </profiles>
  385 +
  386 + <repositories>
  387 + <repository>
  388 + <id>demoiselle.sourceforge.net</id>
  389 + <name>Demoiselle Maven Repository</name>
  390 + <url>http://demoiselle.sourceforge.net/repository/release</url>
  391 + </repository>
  392 + </repositories>
  393 +</project>
parent/web/.gitignore
@@ -1,5 +0,0 @@ @@ -1,5 +0,0 @@
1 -/target  
2 -/.project  
3 -/.classpath  
4 -/.settings  
5 -/.externalToolBuilders  
parent/web/pom.xml
@@ -1,151 +0,0 @@ @@ -1,151 +0,0 @@
1 -<!-- Demoiselle Framework Copyright (C) 2010 SERPRO ============================================================================  
2 - This file is part of Demoiselle Framework. Demoiselle Framework is free software; you can redistribute it and/or modify it  
3 - under the terms of the GNU Lesser General Public License version 3 as published by the Free Software Foundation. This program  
4 - is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY  
5 - or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy  
6 - of the GNU Lesser General Public License version 3 along with this program; if not, see <http://www.gnu.org/licenses /> or  
7 - write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. ============================================================================  
8 - Este arquivo é parte do Framework Demoiselle. O Framework Demoiselle é um software livre; você pode redistribuí-lo e/ou modificá-lo  
9 - dentro dos termos da GNU LGPL versão 3 como publicada pela Fundação do Software Livre (FSF). Este programa é distribuído  
10 - na esperança que possa ser útil, mas SEM NENHUMA GARANTIA; sem uma garantia implícita de ADEQUAÇÃO a qualquer MERCADO ou  
11 - APLICAÇÃO EM PARTICULAR. Veja a Licença Pública Geral GNU/LGPL em português para maiores detalhes. Você deve ter recebido  
12 - uma cópia da GNU LGPL versão 3, sob o título "LICENCA.txt", junto com esse programa. Se não, acesse <http://www.gnu.org/licenses /> ou escreva para a Fundação do Software Livre (FSF) Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1301, USA. -->  
13 -<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/maven-v4_0_0.xsd">  
14 -  
15 - <modelVersion>4.0.0</modelVersion>  
16 -  
17 - <artifactId>demoiselle-web-parent</artifactId>  
18 - <packaging>pom</packaging>  
19 -  
20 - <parent>  
21 - <groupId>br.gov.frameworkdemoiselle</groupId>  
22 - <artifactId>demoiselle-minimal-parent</artifactId>  
23 - <version>2.3.0-BETA2-SNAPSHOT</version>  
24 - <relativePath>../minimal/pom.xml</relativePath>  
25 - </parent>  
26 -  
27 - <name>Web Parent</name>  
28 - <description>  
29 - Especialização do POM mínimo, contendo configurações úteis para todas as aplicações Web que utilizam o framework.  
30 - </description>  
31 -  
32 -<!-- <dependencies> -->  
33 -<!-- <dependency> -->  
34 -<!-- <groupId>javax</groupId> -->  
35 -<!-- <artifactId>javaee-api</artifactId> -->  
36 -<!-- </dependency> -->  
37 -<!-- <dependency> -->  
38 -<!-- <groupId>javax</groupId> -->  
39 -<!-- <artifactId>javaee-web-api</artifactId> -->  
40 -<!-- </dependency> -->  
41 -<!-- </dependencies> -->  
42 -  
43 - <profiles>  
44 - <profile>  
45 - <id>tomcat6</id>  
46 - <dependencies>  
47 - <dependency>  
48 - <groupId>org.jboss.weld</groupId>  
49 - <artifactId>weld-core</artifactId>  
50 - <scope>runtime</scope>  
51 - </dependency>  
52 - <dependency>  
53 - <groupId>org.jboss.weld.servlet</groupId>  
54 - <artifactId>weld-servlet-core</artifactId>  
55 - <scope>runtime</scope>  
56 - </dependency>  
57 - <dependency>  
58 - <groupId>org.eclipse.persistence</groupId>  
59 - <artifactId>eclipselink</artifactId>  
60 - <scope>runtime</scope>  
61 - </dependency>  
62 - <dependency>  
63 - <groupId>org.hibernate</groupId>  
64 - <artifactId>hibernate-validator</artifactId>  
65 - <scope>runtime</scope>  
66 - </dependency>  
67 - <dependency>  
68 - <groupId>org.slf4j</groupId>  
69 - <artifactId>slf4j-log4j12</artifactId>  
70 - <scope>runtime</scope>  
71 - </dependency>  
72 - </dependencies>  
73 - </profile>  
74 - <profile>  
75 - <id>tomcat7</id>  
76 - <dependencies>  
77 - <dependency>  
78 - <groupId>org.jboss.weld</groupId>  
79 - <artifactId>weld-core</artifactId>  
80 - <scope>runtime</scope>  
81 - </dependency>  
82 - <dependency>  
83 - <groupId>org.jboss.weld.servlet</groupId>  
84 - <artifactId>weld-servlet-core</artifactId>  
85 - <scope>runtime</scope>  
86 - </dependency>  
87 - <dependency>  
88 - <groupId>org.eclipse.persistence</groupId>  
89 - <artifactId>eclipselink</artifactId>  
90 - <scope>runtime</scope>  
91 - </dependency>  
92 - <dependency>  
93 - <groupId>org.hibernate</groupId>  
94 - <artifactId>hibernate-validator</artifactId>  
95 - <scope>runtime</scope>  
96 - </dependency>  
97 - <dependency>  
98 - <groupId>org.slf4j</groupId>  
99 - <artifactId>slf4j-log4j12</artifactId>  
100 - <scope>runtime</scope>  
101 - </dependency>  
102 - </dependencies>  
103 - </profile>  
104 - <profile>  
105 - <id>jboss6</id>  
106 - <activation>  
107 - <activeByDefault>true</activeByDefault>  
108 - </activation>  
109 - <dependencies>  
110 - <dependency>  
111 - <groupId>javax.enterprise</groupId>  
112 - <artifactId>cdi-api</artifactId>  
113 - <scope>provided</scope>  
114 - </dependency>  
115 - <dependency>  
116 - <groupId>javax.servlet</groupId>  
117 - <artifactId>jstl</artifactId>  
118 - <scope>provided</scope>  
119 - </dependency>  
120 - <dependency>  
121 - <artifactId>validation-api</artifactId>  
122 - <groupId>javax.validation</groupId>  
123 - <scope>provided</scope>  
124 - </dependency>  
125 - <dependency>  
126 - <groupId>javax.transaction</groupId>  
127 - <artifactId>jta</artifactId>  
128 - <scope>provided</scope>  
129 - </dependency>  
130 - <!-- <dependency> -->  
131 - <!-- <groupId>org.slf4j</groupId> -->  
132 - <!-- <artifactId>slf4j-api</artifactId> -->  
133 - <!-- <scope>provided</scope> -->  
134 - <!-- </dependency> -->  
135 - <dependency>  
136 - <groupId>org.eclipse.persistence</groupId>  
137 - <artifactId>javax.persistence</artifactId>  
138 - <scope>provided</scope>  
139 - </dependency>  
140 - </dependencies>  
141 - </profile>  
142 - </profiles>  
143 -  
144 - <repositories>  
145 - <repository>  
146 - <id>demoiselle.sourceforge.net</id>  
147 - <name>Demoiselle Maven Repository</name>  
148 - <url>http://demoiselle.sourceforge.net/repository/release</url>  
149 - </repository>  
150 - </repositories>  
151 -</project>