Commit 56b05d64826758b51a4264973bd2009c701768fe
1 parent
e4eb0b69
Perfil do wildfly-swarm
Showing
1 changed file
with
97 additions
and
49 deletions
Show diff stats
demoiselle-parent-rest/pom.xml
1 | <?xml version="1.0" encoding="UTF-8"?> | 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" | 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"> | 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
4 | 4 | ||
5 | - <artifactId>demoiselle-parent-rest</artifactId> | ||
6 | - <packaging>pom</packaging> | ||
7 | - <modelVersion>4.0.0</modelVersion> | 5 | + <artifactId>demoiselle-parent-rest</artifactId> |
6 | + <packaging>pom</packaging> | ||
7 | + <modelVersion>4.0.0</modelVersion> | ||
8 | 8 | ||
9 | - <name>Demoiselle Parent Rest</name> | 9 | + <name>Demoiselle Parent Rest</name> |
10 | 10 | ||
11 | - <description> | ||
12 | - Especialização do POM mínimo, contendo configurações úteis para todas as aplicações REST que utilizam o framework. | ||
13 | - </description> | 11 | + <description> |
12 | + Especialização do POM mínimo, contendo configurações úteis para todas as aplicações REST que utilizam o framework. | ||
13 | + </description> | ||
14 | 14 | ||
15 | - <parent> | ||
16 | - <groupId>org.demoiselle.jee</groupId> | ||
17 | - <artifactId>demoiselle-parent</artifactId> | ||
18 | - <version>3.0.0-BETA1-SNAPSHOT</version> | ||
19 | - <relativePath>../demoiselle-parent</relativePath> | ||
20 | - </parent> | 15 | + <parent> |
16 | + <groupId>org.demoiselle.jee</groupId> | ||
17 | + <artifactId>demoiselle-parent</artifactId> | ||
18 | + <version>3.0.0-BETA1-SNAPSHOT</version> | ||
19 | + <relativePath>../demoiselle-parent</relativePath> | ||
20 | + </parent> | ||
21 | 21 | ||
22 | - <url>http://demoiselle.io</url> | 22 | + <url>http://demoiselle.io</url> |
23 | 23 | ||
24 | - <licenses> | ||
25 | - <license> | ||
26 | - <name>GNU Lesser General Public License, Version 3</name> | ||
27 | - <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> | ||
28 | - </license> | ||
29 | - </licenses> | 24 | + <licenses> |
25 | + <license> | ||
26 | + <name>GNU Lesser General Public License, Version 3</name> | ||
27 | + <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> | ||
28 | + </license> | ||
29 | + </licenses> | ||
30 | 30 | ||
31 | - <organization> | ||
32 | - <name>SERPRO - Serviço Federal de Processamento de Dados</name> | ||
33 | - <url>http://www.serpro.gov.br</url> | ||
34 | - </organization> | 31 | + <organization> |
32 | + <name>SERPRO - Serviço Federal de Processamento de Dados</name> | ||
33 | + <url>http://www.serpro.gov.br</url> | ||
34 | + </organization> | ||
35 | 35 | ||
36 | - <dependencies> | 36 | + <dependencies> |
37 | 37 | ||
38 | - <dependency> | ||
39 | - <groupId>org.demoiselle.jee</groupId> | ||
40 | - <artifactId>demoiselle-core</artifactId> | ||
41 | - </dependency> | 38 | + <dependency> |
39 | + <groupId>org.demoiselle.jee</groupId> | ||
40 | + <artifactId>demoiselle-core</artifactId> | ||
41 | + </dependency> | ||
42 | 42 | ||
43 | - <dependency> | ||
44 | - <groupId>org.demoiselle.jee</groupId> | ||
45 | - <artifactId>demoiselle-rest</artifactId> | ||
46 | - </dependency> | 43 | + <dependency> |
44 | + <groupId>org.demoiselle.jee</groupId> | ||
45 | + <artifactId>demoiselle-security-jwt</artifactId> | ||
46 | + </dependency> | ||
47 | 47 | ||
48 | - <dependency> | ||
49 | - <groupId>org.demoiselle.jee</groupId> | ||
50 | - <artifactId>demoiselle-persistence-jpa</artifactId> | ||
51 | - </dependency> | ||
52 | - | ||
53 | - <dependency> | ||
54 | - <groupId>org.demoiselle.jee</groupId> | ||
55 | - <artifactId>demoiselle-security-jwt</artifactId> | ||
56 | - </dependency> | 48 | + <dependency> |
49 | + <groupId>org.demoiselle.jee</groupId> | ||
50 | + <artifactId>demoiselle-persistence-jpa</artifactId> | ||
51 | + </dependency> | ||
57 | 52 | ||
58 | - </dependencies> | 53 | + </dependencies> |
59 | 54 | ||
60 | - <profiles> | ||
61 | - <profile> | ||
62 | - <id>swarm</id> | ||
63 | - </profile> | ||
64 | - </profiles> | 55 | + <profiles> |
56 | + <profile> | ||
57 | + <id>wildfly-swarm</id> | ||
58 | + <properties> | ||
59 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
60 | + <version.wildfly.swarm>2016.9</version.wildfly.swarm> | ||
61 | + <maven.compiler.source>1.8</maven.compiler.source> | ||
62 | + <maven.compiler.target>1.8</maven.compiler.target> | ||
63 | + <failOnMissingWebXml>false</failOnMissingWebXml> | ||
64 | + </properties> | ||
65 | + <dependencyManagement> | ||
66 | + <dependencies> | ||
67 | + <dependency> | ||
68 | + <groupId>org.wildfly.swarm</groupId> | ||
69 | + <artifactId>bom-all</artifactId> | ||
70 | + <version>${version.wildfly.swarm}</version> | ||
71 | + <scope>import</scope> | ||
72 | + <type>pom</type> | ||
73 | + </dependency> | ||
74 | + </dependencies> | ||
75 | + </dependencyManagement> | ||
76 | + <dependencies> | ||
77 | + <!-- WildFly Swarm Fractions --> | ||
78 | + <dependency> | ||
79 | + <groupId>org.wildfly.swarm</groupId> | ||
80 | + <artifactId>jaxrs-cdi</artifactId> | ||
81 | + </dependency> | ||
82 | + <dependency> | ||
83 | + <groupId>org.wildfly.swarm</groupId> | ||
84 | + <artifactId>datasources</artifactId> | ||
85 | + <version>${version.wildfly.swarm}</version> | ||
86 | + </dependency> | ||
87 | + <dependency> | ||
88 | + <groupId>org.wildfly.swarm</groupId> | ||
89 | + <artifactId>mysql</artifactId> | ||
90 | + <version>${version.wildfly.swarm}</version> | ||
91 | + </dependency> | ||
92 | + </dependencies> | ||
93 | + <build> | ||
94 | + <finalName>${project.artifactId}</finalName> | ||
95 | + <plugins> | ||
96 | + <plugin> | ||
97 | + <groupId>org.wildfly.swarm</groupId> | ||
98 | + <artifactId>wildfly-swarm-plugin</artifactId> | ||
99 | + <version>${version.wildfly.swarm}</version> | ||
100 | + <executions> | ||
101 | + <execution> | ||
102 | + <goals> | ||
103 | + <goal>package</goal> | ||
104 | + </goals> | ||
105 | + </execution> | ||
106 | + </executions> | ||
107 | + </plugin> | ||
108 | + </plugins> | ||
109 | + </build> | ||
110 | + </profile> | ||
111 | + <!--mvn clean package -Pwildfly-swarm && java -jar -Xmx128m target/produto-swarm.jar--> | ||
112 | + </profiles> | ||
65 | 113 | ||
66 | </project> | 114 | </project> |