Commit ce903dd6b51e1f84a08e17600d784b1e3290359d
1 parent
ae80cb4c
parent bom
Showing
9 changed files
with
555 additions
and
428 deletions
Show diff stats
demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Ignore.java
... | ... | @@ -12,11 +12,10 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME; |
12 | 12 | import java.lang.annotation.Target; |
13 | 13 | |
14 | 14 | /** |
15 | - * <p>Used in fields of classes annotated with {@link org.demoiselle.configuration.Configuration} | |
15 | + * <p>Used in fields of classes annotated with | |
16 | 16 | * to indicate that the system should ignore this field when population the new configuration |
17 | 17 | * instance with values extracted from the source file.</p> |
18 | 18 | * |
19 | - * @see org.demoiselle.configuration.Configuration | |
20 | 19 | * @author SERPRO |
21 | 20 | */ |
22 | 21 | @Target(FIELD) | ... | ... |
demoiselle-core/src/main/java/org/demoiselle/jee/core/annotation/Name.java
... | ... | @@ -40,9 +40,6 @@ import javax.inject.Qualifier; |
40 | 40 | * |
41 | 41 | * @author SERPRO |
42 | 42 | * |
43 | - * @see org.demoiselle.util.ResourceBundle | |
44 | - * @see org.demoiselle.internal.producer.ResourceBundleProducer#create(InjectionPoint) | |
45 | - * @see org.demoiselle.internal.producer.LoggerProducer#createNamed(InjectionPoint) | |
46 | 43 | */ |
47 | 44 | @Qualifier |
48 | 45 | @Inherited | ... | ... |
demoiselle-core/src/main/java/org/demoiselle/jee/core/interfaces/security/SecurityContext.java
... | ... | @@ -31,9 +31,6 @@ public interface SecurityContext extends Serializable { |
31 | 31 | * @param resource resource to be checked |
32 | 32 | * @param operation operation to be checked |
33 | 33 | * @return {@code true} if the user has the permission |
34 | - * @throws AuthorizationException When the permission checking fails, this | |
35 | - * exception is thrown. | |
36 | - * @throws NotLoggedInException if there is no user logged in a specific | |
37 | 34 | * session. |
38 | 35 | */ |
39 | 36 | boolean hasPermission(String resource, String operation); |
... | ... | @@ -43,9 +40,6 @@ public interface SecurityContext extends Serializable { |
43 | 40 | * |
44 | 41 | * @param role role to be checked |
45 | 42 | * @return {@code true} if the user has the role |
46 | - * @throws AuthorizationException When the permission checking fails, this | |
47 | - * exception is thrown. | |
48 | - * @throws NotLoggedInException if there is no user logged in a specific | |
49 | 43 | * session. |
50 | 44 | */ |
51 | 45 | boolean hasRole(String role); |
... | ... | @@ -53,7 +47,6 @@ public interface SecurityContext extends Serializable { |
53 | 47 | /** |
54 | 48 | * Return the user logged in the session. |
55 | 49 | * |
56 | - * @param token | |
57 | 50 | * @return the user logged in a specific authenticated session. If there is |
58 | 51 | * no active session {@code null} is returned. |
59 | 52 | */ | ... | ... |
... | ... | @@ -0,0 +1,222 @@ |
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 | + | |
5 | + <groupId>org.demoiselle.jee</groupId> | |
6 | + <artifactId>demoiselle-parent-bom</artifactId> | |
7 | + <version>3.0.0-BETA1-SNAPSHOT</version> | |
8 | + <packaging>pom</packaging> | |
9 | + <modelVersion>4.0.0</modelVersion> | |
10 | + | |
11 | + <name>Demoiselle Bill of Materials</name> | |
12 | + | |
13 | + <description> | |
14 | + Contém a lista de todas as dependências utilizadas na construção do framework. | |
15 | + </description> | |
16 | + | |
17 | + <url>http://demoiselle.io</url> | |
18 | + | |
19 | + <licenses> | |
20 | + <license> | |
21 | + <name>GNU Lesser General Public License, Version 3</name> | |
22 | + <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> | |
23 | + </license> | |
24 | + </licenses> | |
25 | + | |
26 | + <organization> | |
27 | + <name>SERPRO - Serviço Federal de Processamento de Dados</name> | |
28 | + <url>http://www.serpro.gov.br</url> | |
29 | + </organization> | |
30 | + | |
31 | + <properties> | |
32 | + <!-- General --> | |
33 | + <demoiselle.version>3.0.0-BETA1-SNAPSHOT</demoiselle.version> | |
34 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
35 | + | |
36 | + <!-- Dependencies versions --> | |
37 | + <javaee.version>7.0</javaee.version> | |
38 | + <cdi.version>1.2</cdi.version> | |
39 | + <validation.version>1.1.0.Final</validation.version> | |
40 | + <transaction.version>1.2</transaction.version> | |
41 | + <jstl.version>1.2</jstl.version> | |
42 | + <el.version>3.0.0</el.version> | |
43 | + <servlet.version>3.1.0</servlet.version> | |
44 | + <persistence.version>1.0.2</persistence.version> | |
45 | + <rest.version>2.0</rest.version> | |
46 | + <concurrent.version>1.0</concurrent.version> | |
47 | + <hibernate.version>5.1.0.Final</hibernate.version> | |
48 | + <hibernate.validator.version>5.2.4.Final</hibernate.validator.version> | |
49 | + <commons.configuration.version>2.0</commons.configuration.version> | |
50 | + <jaxrs.version>2.0.1</jaxrs.version> | |
51 | + <javaee.version>7.0</javaee.version> | |
52 | + <deltaspike.version>1.7.1</deltaspike.version> | |
53 | + <ejb.version>3.2</ejb.version> | |
54 | + <cache.version>1.0.0</cache.version> | |
55 | + <!--Microcontainers --> | |
56 | + <wildfly-swarm>2016.8</wildfly-swarm> | |
57 | + | |
58 | + <!-- Maven plugin versions --> | |
59 | + <maven.compiler.plugin.version>3.5.1</maven.compiler.plugin.version> | |
60 | + <maven.war.plugin.version>2.6</maven.war.plugin.version> | |
61 | + <maven.compiler.source>1.8</maven.compiler.source> | |
62 | + <maven.compiler.target>1.8</maven.compiler.target> | |
63 | + | |
64 | + </properties> | |
65 | + | |
66 | + <dependencyManagement> | |
67 | + | |
68 | + <dependencies> | |
69 | + | |
70 | + <!-- demoiselle --> | |
71 | + <dependency> | |
72 | + <groupId>org.demoiselle.jee</groupId> | |
73 | + <artifactId>demoiselle-core</artifactId> | |
74 | + <version>${demoiselle.version}</version> | |
75 | + </dependency> | |
76 | + | |
77 | + <dependency> | |
78 | + <groupId>org.demoiselle.jee</groupId> | |
79 | + <artifactId>demoiselle-security</artifactId> | |
80 | + <version>${demoiselle.version}</version> | |
81 | + </dependency> | |
82 | + | |
83 | + <dependency> | |
84 | + <groupId>org.demoiselle.jee</groupId> | |
85 | + <artifactId>demoiselle-rest</artifactId> | |
86 | + <version>${demoiselle.version}</version> | |
87 | + </dependency> | |
88 | + | |
89 | + <dependency> | |
90 | + <groupId>org.demoiselle.jee</groupId> | |
91 | + <artifactId>demoiselle-persistence-jpa</artifactId> | |
92 | + <version>${demoiselle.version}</version> | |
93 | + </dependency> | |
94 | + | |
95 | + <dependency> | |
96 | + <groupId>org.demoiselle.jee</groupId> | |
97 | + <artifactId>demoiselle-security-jwt</artifactId> | |
98 | + <version>${demoiselle.version}</version> | |
99 | + </dependency> | |
100 | + | |
101 | + <!-- jsr-299 api --> | |
102 | + <dependency> | |
103 | + <groupId>javax.enterprise</groupId> | |
104 | + <artifactId>cdi-api</artifactId> | |
105 | + <scope>provided</scope> | |
106 | + <version>${cdi.version}</version> | |
107 | + </dependency> | |
108 | + | |
109 | + <!-- jsr-349 api --> | |
110 | + <dependency> | |
111 | + <artifactId>validation-api</artifactId> | |
112 | + <groupId>javax.validation</groupId> | |
113 | + <scope>provided</scope> | |
114 | + <version>${validation.version}</version> | |
115 | + </dependency> | |
116 | + | |
117 | + <!-- jsr-341 api and impl --> | |
118 | + <dependency> | |
119 | + <groupId>org.glassfish</groupId> | |
120 | + <artifactId>javax.el</artifactId> | |
121 | + <scope>provided</scope> | |
122 | + <version>${el.version}</version> | |
123 | + </dependency> | |
124 | + | |
125 | + <!-- jsr-342 api --> | |
126 | + <dependency> | |
127 | + <groupId>javax</groupId> | |
128 | + <artifactId>javaee-api</artifactId> | |
129 | + <scope>provided</scope> | |
130 | + <version>${javaee.version}</version> | |
131 | + </dependency> | |
132 | + | |
133 | + <!-- jsr-340 api --> | |
134 | + <dependency> | |
135 | + <groupId>javax.servlet</groupId> | |
136 | + <artifactId>javax.servlet-api</artifactId> | |
137 | + <scope>provided</scope> | |
138 | + <version>${servlet.version}</version> | |
139 | + </dependency> | |
140 | + <dependency> | |
141 | + <groupId>javax.servlet</groupId> | |
142 | + <artifactId>jstl</artifactId> | |
143 | + <scope>provided</scope> | |
144 | + <version>${jstl.version}</version> | |
145 | + </dependency> | |
146 | + | |
147 | + <!-- jsr-338 api --> | |
148 | + <dependency> | |
149 | + <groupId>org.hibernate</groupId> | |
150 | + <artifactId>hibernate-entitymanager</artifactId> | |
151 | + <scope>provided</scope> | |
152 | + <version>${hibernate.version}</version> | |
153 | + </dependency> | |
154 | + | |
155 | + <!-- jsr-339 api --> | |
156 | + <dependency> | |
157 | + <groupId>javax.ws.rs</groupId> | |
158 | + <artifactId>javax.ws.rs-api</artifactId> | |
159 | + <scope>provided</scope> | |
160 | + <version>${jaxrs.version}</version> | |
161 | + </dependency> | |
162 | + | |
163 | + <!-- jsr-342 api --> | |
164 | + <dependency> | |
165 | + <groupId>javax</groupId> | |
166 | + <artifactId>javaee-web-api</artifactId> | |
167 | + <version>${javaee.version}</version> | |
168 | + </dependency> | |
169 | + | |
170 | + <!-- jsr-318 api --> | |
171 | + <dependency> | |
172 | + <groupId>javax.ejb</groupId> | |
173 | + <artifactId>javax.ejb-api</artifactId> | |
174 | + <version>${ejb.version}</version> | |
175 | + <scope>provided</scope> | |
176 | + </dependency> | |
177 | + | |
178 | + <!-- jsr-107 api --> | |
179 | + <dependency> | |
180 | + <groupId>javax.cache</groupId> | |
181 | + <artifactId>cache-api</artifactId> | |
182 | + <version>${cache.version}</version> | |
183 | + </dependency> | |
184 | + | |
185 | + <!-- jsr-107 api --> | |
186 | + <dependency> | |
187 | + <groupId>javax.persistence</groupId> | |
188 | + <artifactId>persistence-api</artifactId> | |
189 | + <version>${persistence.version}</version> | |
190 | + </dependency> | |
191 | + | |
192 | + <dependency> | |
193 | + <groupId>javax.transaction</groupId> | |
194 | + <artifactId>javax.transaction-api</artifactId> | |
195 | + <version>${transaction.version}</version> | |
196 | + </dependency> | |
197 | + | |
198 | + <dependency> | |
199 | + <groupId>javax.json</groupId> | |
200 | + <artifactId>javax.json-api</artifactId> | |
201 | + <version>1.0</version> | |
202 | + </dependency> | |
203 | + | |
204 | + <!-- configuration e messages --> | |
205 | + <dependency> | |
206 | + <groupId>org.apache.deltaspike.core</groupId> | |
207 | + <artifactId>deltaspike-core-api</artifactId> | |
208 | + <scope>compile</scope> | |
209 | + <version>${deltaspike.version}</version> | |
210 | + </dependency> | |
211 | + <dependency> | |
212 | + <groupId>org.apache.deltaspike.core</groupId> | |
213 | + <artifactId>deltaspike-core-impl</artifactId> | |
214 | + <scope>runtime</scope> | |
215 | + <version>${deltaspike.version}</version> | |
216 | + </dependency> | |
217 | + | |
218 | + </dependencies> | |
219 | + | |
220 | + </dependencyManagement> | |
221 | + | |
222 | +</project> | ... | ... |
... | ... | @@ -0,0 +1,66 @@ |
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 | + | |
5 | + <artifactId>demoiselle-parent-rest</artifactId> | |
6 | + <packaging>pom</packaging> | |
7 | + <modelVersion>4.0.0</modelVersion> | |
8 | + | |
9 | + <name>Demoiselle Parent Rest</name> | |
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> | |
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> | |
21 | + | |
22 | + <url>http://demoiselle.io</url> | |
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> | |
30 | + | |
31 | + <organization> | |
32 | + <name>SERPRO - Serviço Federal de Processamento de Dados</name> | |
33 | + <url>http://www.serpro.gov.br</url> | |
34 | + </organization> | |
35 | + | |
36 | + <dependencies> | |
37 | + | |
38 | + <dependency> | |
39 | + <groupId>org.demoiselle.jee</groupId> | |
40 | + <artifactId>demoiselle-core</artifactId> | |
41 | + </dependency> | |
42 | + | |
43 | + <dependency> | |
44 | + <groupId>org.demoiselle.jee</groupId> | |
45 | + <artifactId>demoiselle-rest</artifactId> | |
46 | + </dependency> | |
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> | |
57 | + | |
58 | + </dependencies> | |
59 | + | |
60 | + <profiles> | |
61 | + <profile> | |
62 | + <id>swarm</id> | |
63 | + </profile> | |
64 | + </profiles> | |
65 | + | |
66 | +</project> | ... | ... |
demoiselle-parent/pom.xml
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 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 | + | |
5 | + <artifactId>demoiselle-parent</artifactId> | |
6 | + <packaging>pom</packaging> | |
7 | + <modelVersion>4.0.0</modelVersion> | |
8 | + | |
9 | + <name>Demoiselle Parent</name> | |
10 | + | |
11 | + <parent> | |
12 | + <groupId>org.demoiselle.jee</groupId> | |
13 | + <artifactId>demoiselle-build</artifactId> | |
14 | + <version>3.0.0-BETA1-SNAPSHOT</version> | |
15 | + </parent> | |
16 | + | |
17 | + <dependencyManagement> | |
18 | + <dependencies> | |
19 | + <dependency> | |
20 | + <groupId>org.demoiselle.jee</groupId> | |
21 | + <artifactId>demoiselle-parent-bom</artifactId> | |
22 | + <version>3.0.0-BETA1-SNAPSHOT</version> | |
23 | + <scope>import</scope> | |
24 | + <type>pom</type> | |
25 | + </dependency> | |
26 | + </dependencies> | |
27 | + </dependencyManagement> | |
4 | 28 | |
5 | - <artifactId>demoiselle-parent</artifactId> | |
6 | - <version>3.0.0-BETA1-SNAPSHOT</version> | |
7 | - <packaging>pom</packaging> | |
8 | - <modelVersion>4.0.0</modelVersion> | |
9 | - | |
10 | - <name>Demoiselle Parent POM</name> | |
11 | - | |
12 | - <parent> | |
13 | - <groupId>org.demoiselle.jee</groupId> | |
14 | - <artifactId>demoiselle-build</artifactId> | |
15 | - <version>3.0.0-BETA1-SNAPSHOT</version> | |
16 | - </parent> | |
17 | - | |
18 | - <properties> | |
19 | - <!-- General --> | |
20 | - <demoiselle.version>3.0.0-BETA1-SNAPSHOT</demoiselle.version> | |
21 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
22 | - | |
23 | - <!-- Dependencies versions --> | |
24 | - <javaee.version>7.0</javaee.version> | |
25 | - <cdi.version>1.2</cdi.version> | |
26 | - <validation.version>1.1.0.Final</validation.version> | |
27 | - <transaction.version>1.2</transaction.version> | |
28 | - <jstl.version>1.2</jstl.version> | |
29 | - <el.version>3.0.0</el.version> | |
30 | - <servlet.version>3.1.0</servlet.version> | |
31 | - <persistence.version>1.0.2</persistence.version> | |
32 | - <rest.version>2.0</rest.version> | |
33 | - <concurrent.version>1.0</concurrent.version> | |
34 | - <hibernate.version>5.1.0.Final</hibernate.version> | |
35 | - <hibernate.validator.version>5.2.4.Final</hibernate.validator.version> | |
36 | - <commons.configuration.version>2.0</commons.configuration.version> | |
37 | - <jaxrs.version>2.0.1</jaxrs.version> | |
38 | - <javaee.version>7.0</javaee.version> | |
39 | - <deltaspike.version>1.7.1</deltaspike.version> | |
40 | - <ejb.version>3.2</ejb.version> | |
41 | - <cache.version>1.0.0</cache.version> | |
42 | - <!--Microcontainers--> | |
43 | - <wildfly-swarm>2016.8</wildfly-swarm> | |
44 | - | |
45 | - <!-- Maven plugin versions --> | |
46 | - <maven.compiler.plugin.version>3.5.1</maven.compiler.plugin.version> | |
47 | - <maven.war.plugin.version>2.6</maven.war.plugin.version> | |
48 | - <maven.compiler.source>1.8</maven.compiler.source> | |
49 | - <maven.compiler.target>1.8</maven.compiler.target> | |
50 | - | |
51 | - </properties> | |
52 | - | |
53 | - <dependencyManagement> | |
54 | - | |
55 | - <dependencies> | |
56 | - | |
57 | - <!-- jsr-299 api --> | |
58 | - <dependency> | |
59 | - <groupId>javax.enterprise</groupId> | |
60 | - <artifactId>cdi-api</artifactId> | |
61 | - <scope>provided</scope> | |
62 | - <version>${cdi.version}</version> | |
63 | - </dependency> | |
64 | - | |
65 | - <!-- jsr-349 api --> | |
66 | - <dependency> | |
67 | - <artifactId>validation-api</artifactId> | |
68 | - <groupId>javax.validation</groupId> | |
69 | - <scope>provided</scope> | |
70 | - <version>${validation.version}</version> | |
71 | - </dependency> | |
72 | - | |
73 | - <!-- jsr-341 api and impl --> | |
74 | - <dependency> | |
75 | - <groupId>org.glassfish</groupId> | |
76 | - <artifactId>javax.el</artifactId> | |
77 | - <scope>provided</scope> | |
78 | - <version>${el.version}</version> | |
79 | - </dependency> | |
80 | - | |
81 | - <!-- jsr-342 api --> | |
82 | - <dependency> | |
83 | - <groupId>javax</groupId> | |
84 | - <artifactId>javaee-api</artifactId> | |
85 | - <scope>provided</scope> | |
86 | - <version>${javaee.version}</version> | |
87 | - </dependency> | |
88 | - | |
89 | - <!-- jsr-340 api --> | |
90 | - <dependency> | |
91 | - <groupId>javax.servlet</groupId> | |
92 | - <artifactId>javax.servlet-api</artifactId> | |
93 | - <scope>provided</scope> | |
94 | - <version>${servlet.version}</version> | |
95 | - </dependency> | |
96 | - <dependency> | |
97 | - <groupId>javax.servlet</groupId> | |
98 | - <artifactId>jstl</artifactId> | |
99 | - <scope>provided</scope> | |
100 | - <version>${jstl.version}</version> | |
101 | - </dependency> | |
102 | - | |
103 | - <!-- jsr-338 api --> | |
104 | - <dependency> | |
105 | - <groupId>org.hibernate</groupId> | |
106 | - <artifactId>hibernate-entitymanager</artifactId> | |
107 | - <scope>provided</scope> | |
108 | - <version>${hibernate.version}</version> | |
109 | - </dependency> | |
110 | - | |
111 | - <!-- jsr-339 api --> | |
112 | - <dependency> | |
113 | - <groupId>javax.ws.rs</groupId> | |
114 | - <artifactId>javax.ws.rs-api</artifactId> | |
115 | - <scope>provided</scope> | |
116 | - <version>${jaxrs.version}</version> | |
117 | - </dependency> | |
118 | - | |
119 | - <!-- jsr-342 api --> | |
120 | - <dependency> | |
121 | - <groupId>javax</groupId> | |
122 | - <artifactId>javaee-web-api</artifactId> | |
123 | - <version>${javaee.version}</version> | |
124 | - </dependency> | |
125 | - | |
126 | - <!-- jsr-318 api --> | |
127 | - <dependency> | |
128 | - <groupId>javax.ejb</groupId> | |
129 | - <artifactId>javax.ejb-api</artifactId> | |
130 | - <version>${ejb.version}</version> | |
131 | - <scope>provided</scope> | |
132 | - </dependency> | |
133 | - | |
134 | - <!-- jsr-107 api --> | |
135 | - <dependency> | |
136 | - <groupId>javax.cache</groupId> | |
137 | - <artifactId>cache-api</artifactId> | |
138 | - <version>${cache.version}</version> | |
139 | - </dependency> | |
140 | - | |
141 | - <!-- jsr-107 api --> | |
142 | - <dependency> | |
143 | - <groupId>javax.persistence</groupId> | |
144 | - <artifactId>persistence-api</artifactId> | |
145 | - <version>${persistence.version}</version> | |
146 | - </dependency> | |
147 | - | |
148 | - <dependency> | |
149 | - <groupId>javax.transaction</groupId> | |
150 | - <artifactId>javax.transaction-api</artifactId> | |
151 | - <version>${transaction.version}</version> | |
152 | - </dependency> | |
153 | - | |
154 | - <dependency> | |
155 | - <groupId>javax.json</groupId> | |
156 | - <artifactId>javax.json-api</artifactId> | |
157 | - <version>1.0</version> | |
158 | - </dependency> | |
159 | - | |
160 | - <!-- configuration e messages --> | |
161 | - <dependency> | |
162 | - <groupId>org.apache.deltaspike.core</groupId> | |
163 | - <artifactId>deltaspike-core-api</artifactId> | |
164 | - <scope>compile</scope> | |
165 | - <version>${deltaspike.version}</version> | |
166 | - </dependency> | |
167 | - <dependency> | |
168 | - <groupId>org.apache.deltaspike.core</groupId> | |
169 | - <artifactId>deltaspike-core-impl</artifactId> | |
170 | - <scope>runtime</scope> | |
171 | - <version>${deltaspike.version}</version> | |
172 | - </dependency> | |
173 | - | |
174 | - <!-- demoiselle --> | |
175 | - <dependency> | |
176 | - <groupId>org.demoiselle.jee</groupId> | |
177 | - <artifactId>demoiselle-core</artifactId> | |
178 | - <version>3.0.0-BETA1-SNAPSHOT</version> | |
179 | - </dependency> | |
180 | - | |
181 | - <dependency> | |
182 | - <groupId>org.demoiselle.jee</groupId> | |
183 | - <artifactId>demoiselle-security</artifactId> | |
184 | - <version>${demoiselle.version}</version> | |
185 | - </dependency> | |
186 | - | |
187 | - <dependency> | |
188 | - <groupId>org.demoiselle.jee</groupId> | |
189 | - <artifactId>demoiselle-rest</artifactId> | |
190 | - <version>${demoiselle.version}</version> | |
191 | - </dependency> | |
192 | - | |
193 | - <dependency> | |
194 | - <groupId>org.demoiselle.jee</groupId> | |
195 | - <artifactId>demoiselle-persistence-jpa</artifactId> | |
196 | - <version>${demoiselle.version}</version> | |
197 | - </dependency> | |
198 | - | |
199 | - </dependencies> | |
200 | - | |
201 | - </dependencyManagement> | |
202 | - | |
203 | 29 | </project> | ... | ... |
pom.xml
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
2 | 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 | - <groupId>org.demoiselle.jee</groupId> | |
7 | - <artifactId>demoiselle-build</artifactId> | |
8 | - <packaging>pom</packaging> | |
9 | - <version>3.0.0-BETA1-SNAPSHOT</version> | |
10 | - | |
11 | - <name>Demoiselle Framework</name> | |
12 | - <description>Framework de integração para Java EE 7 baseado na especificação CDI 1.2 (JSR 346).</description> | |
13 | - <url>http://demoiselle.io</url> | |
14 | - | |
15 | - <licenses> | |
16 | - <license> | |
17 | - <name>GNU Lesser General Public License, Version 3</name> | |
18 | - <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> | |
19 | - </license> | |
20 | - </licenses> | |
21 | - | |
22 | - <organization> | |
23 | - <name>SERPRO - Serviço Federal de Processamento de Dados</name> | |
24 | - <url>http://www.serpro.gov.br</url> | |
25 | - </organization> | |
26 | - | |
27 | - <developers> | |
28 | - | |
29 | - <developer> | |
30 | - <name>Cassio Maes da Fonseca</name> | |
31 | - <email>cassiomaes@gmail.com</email> | |
32 | - <organization>SERPRO</organization> | |
33 | - <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
34 | - </developer> | |
35 | - | |
36 | - <developer> | |
37 | - <name>Clovis Lemes Ferreira Junior</name> | |
38 | - <email>clovisjunior2009@gmail.com</email> | |
39 | - <organization>SERPRO</organization> | |
40 | - <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
41 | - </developer> | |
42 | - | |
43 | - <developer> | |
44 | - <name>Julian Cesar dos Santos</name> | |
45 | - <email>juliancesar@gmail.com</email> | |
46 | - <organization>SERPRO</organization> | |
47 | - <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
48 | - </developer> | |
49 | - | |
50 | - <developer> | |
51 | - <name>Paulo Gladson Ximenes Pinheiro</name> | |
52 | - <email>paulopinheiro777@gmail.com</email> | |
53 | - <organization>SERPRO</organization> | |
54 | - <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
55 | - </developer> | |
56 | - | |
57 | - <developer> | |
58 | - <name>Vanderson Botelho da Silva</name> | |
59 | - <email>botelhojp@gmail.com</email> | |
60 | - <organization>SERPRO</organization> | |
61 | - <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
62 | - </developer> | |
63 | - | |
64 | - </developers> | |
65 | - | |
66 | - <modules> | |
67 | - <module>demoiselle-parent</module> | |
68 | - <module>demoiselle-core</module> | |
69 | - <module>demoiselle-configuration</module> | |
70 | - <module>demoiselle-persistence-jpa</module> | |
71 | - <module>demoiselle-rest</module> | |
72 | - <module>demoiselle-security</module> | |
73 | - <module>demoiselle-security-token</module> | |
74 | - <module>demoiselle-security-basic</module> | |
75 | - <module>demoiselle-security-jwt</module> | |
76 | - <!--<module>demoiselle-security-jwt</module>--> | |
77 | - </modules> | |
78 | - | |
79 | - <properties> | |
80 | - <project.alias>framework</project.alias> | |
81 | - <java.version>1.8</java.version> | |
82 | - <maven.compiler.source>1.8</maven.compiler.source> | |
83 | - <maven.compiler.target>1.8</maven.compiler.target> | |
84 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
85 | - </properties> | |
86 | - | |
87 | - <build> | |
88 | - <plugins> | |
89 | - <plugin> | |
90 | - <groupId>org.apache.maven.plugins</groupId> | |
91 | - <artifactId>maven-assembly-plugin</artifactId> | |
92 | - <version>2.6</version> | |
93 | - </plugin> | |
94 | - | |
95 | - <plugin> | |
96 | - <groupId>org.apache.maven.plugins</groupId> | |
97 | - <artifactId>maven-deploy-plugin</artifactId> | |
98 | - <version>2.8.2</version> | |
99 | - </plugin> | |
100 | - | |
101 | - <plugin> | |
102 | - <groupId>org.apache.maven.plugins</groupId> | |
103 | - <artifactId>maven-source-plugin</artifactId> | |
104 | - <version>2.2.1</version> | |
105 | - <executions> | |
106 | - <execution> | |
107 | - <id>attach-sources</id> | |
108 | - <goals> | |
109 | - <goal>jar-no-fork</goal> | |
110 | - </goals> | |
111 | - </execution> | |
112 | - </executions> | |
113 | - </plugin> | |
114 | - <!-- | |
115 | - <plugin> | |
116 | - <groupId>org.apache.maven.plugins</groupId> | |
117 | - <artifactId>maven-javadoc-plugin</artifactId> | |
118 | - <version>2.9.1</version> | |
119 | - <executions> | |
120 | - <execution> | |
121 | - <id>attach-javadocs</id> | |
122 | - <goals> | |
123 | - <goal>jar</goal> | |
124 | - </goals> | |
125 | - </execution> | |
126 | - </executions> | |
127 | - </plugin> | |
128 | - --> | |
129 | - <!-- <plugin> | |
130 | - <groupId>org.apache.maven.plugins</groupId> | |
131 | - <artifactId>maven-gpg-plugin</artifactId> | |
132 | - <version>1.5</version> | |
133 | - <executions> | |
134 | - <execution> | |
135 | - <id>sign-artifacts</id> | |
136 | - <phase>verify</phase> | |
137 | - <goals> | |
138 | - <goal>sign</goal> | |
139 | - </goals> | |
140 | - </execution> | |
141 | - </executions> | |
142 | - </plugin>--> | |
143 | - | |
144 | - <plugin> | |
145 | - <groupId>org.sonatype.plugins</groupId> | |
146 | - <artifactId>nexus-staging-maven-plugin</artifactId> | |
147 | - <version>1.6.3</version> | |
148 | - <extensions>true</extensions> | |
149 | - <configuration> | |
150 | - <serverId>sonatype-nexus-staging</serverId> | |
151 | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> | |
152 | - <autoReleaseAfterClose>false</autoReleaseAfterClose> | |
153 | - </configuration> | |
154 | - </plugin> | |
155 | - | |
156 | - <plugin> | |
157 | - <groupId>org.apache.maven.plugins</groupId> | |
158 | - <artifactId>maven-release-plugin</artifactId> | |
159 | - <version>2.5</version> | |
160 | - <configuration> | |
161 | - <autoVersionSubmodules>true</autoVersionSubmodules> | |
162 | - <useReleaseProfile>false</useReleaseProfile> | |
163 | - <releaseProfiles>release</releaseProfiles> | |
164 | - <goals>deploy</goals> | |
165 | - </configuration> | |
166 | - </plugin> | |
167 | - </plugins> | |
168 | - | |
169 | - </build> | |
170 | - | |
171 | - <scm> | |
172 | - <connection>scm:git:git@github.com:demoiselle/${project.alias}.git</connection> | |
173 | - <developerConnection>scm:git:git@github.com:demoiselle/${project.alias}.git</developerConnection> | |
174 | - <url>http://github.com/demoiselle/${project.alias}</url> | |
175 | - <tag>HEAD</tag> | |
176 | - </scm> | |
177 | - | |
178 | - <distributionManagement> | |
179 | - <site> | |
180 | - <id>demoiselle.sourceforge.net</id> | |
181 | - <url>${site.url}</url> | |
182 | - </site> | |
183 | - | |
184 | - <snapshotRepository> | |
185 | - <id>sonatype-nexus-snapshots</id> | |
186 | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
187 | - </snapshotRepository> | |
188 | - | |
189 | - <repository> | |
190 | - <id>sonatype-nexus-staging</id> | |
191 | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
192 | - </repository> | |
193 | - </distributionManagement> | |
194 | - | |
195 | - <repositories> | |
196 | - <repository> | |
197 | - <id>sonatype-nexus-snapshots</id> | |
198 | - <name>Sonatype Nexus Snapshots</name> | |
199 | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
200 | - <snapshots> | |
201 | - <enabled>true</enabled> | |
202 | - </snapshots> | |
203 | - <releases> | |
204 | - <enabled>false</enabled> | |
205 | - </releases> | |
206 | - </repository> | |
207 | - | |
208 | - <repository> | |
209 | - <id>sonatype-nexus-releases</id> | |
210 | - <name>Sonatype Nexus Releases</name> | |
211 | - <url>https://oss.sonatype.org/content/repositories/releases</url> | |
212 | - <snapshots> | |
213 | - <enabled>false</enabled> | |
214 | - </snapshots> | |
215 | - <releases> | |
216 | - <enabled>true</enabled> | |
217 | - </releases> | |
218 | - </repository> | |
219 | - </repositories> | |
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 | + <groupId>org.demoiselle.jee</groupId> | |
7 | + <artifactId>demoiselle-build</artifactId> | |
8 | + <packaging>pom</packaging> | |
9 | + <version>3.0.0-BETA1-SNAPSHOT</version> | |
10 | + | |
11 | + <name>Demoiselle Framework</name> | |
12 | + <description>Framework de integração para Java EE 7 baseado na especificação CDI 1.2 (JSR 346).</description> | |
13 | + <url>http://demoiselle.io</url> | |
14 | + | |
15 | + <licenses> | |
16 | + <license> | |
17 | + <name>GNU Lesser General Public License, Version 3</name> | |
18 | + <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url> | |
19 | + </license> | |
20 | + </licenses> | |
21 | + | |
22 | + <organization> | |
23 | + <name>SERPRO - Serviço Federal de Processamento de Dados</name> | |
24 | + <url>http://www.serpro.gov.br</url> | |
25 | + </organization> | |
26 | + | |
27 | + <developers> | |
28 | + | |
29 | + <developer> | |
30 | + <name>Cassio Maes da Fonseca</name> | |
31 | + <email>cassiomaes@gmail.com</email> | |
32 | + <organization>SERPRO</organization> | |
33 | + <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
34 | + </developer> | |
35 | + | |
36 | + <developer> | |
37 | + <name>Clovis Lemes Ferreira Junior</name> | |
38 | + <email>clovisjunior2009@gmail.com</email> | |
39 | + <organization>SERPRO</organization> | |
40 | + <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
41 | + </developer> | |
42 | + | |
43 | + <developer> | |
44 | + <name>Julian Cesar dos Santos</name> | |
45 | + <email>juliancesar@gmail.com</email> | |
46 | + <organization>SERPRO</organization> | |
47 | + <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
48 | + </developer> | |
49 | + | |
50 | + <developer> | |
51 | + <name>Paulo Gladson Ximenes Pinheiro</name> | |
52 | + <email>paulopinheiro777@gmail.com</email> | |
53 | + <organization>SERPRO</organization> | |
54 | + <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
55 | + </developer> | |
56 | + | |
57 | + <developer> | |
58 | + <name>Vanderson Botelho da Silva</name> | |
59 | + <email>botelhojp@gmail.com</email> | |
60 | + <organization>SERPRO</organization> | |
61 | + <organizationUrl>http://www.serpro.gov.br</organizationUrl> | |
62 | + </developer> | |
63 | + | |
64 | + </developers> | |
65 | + | |
66 | + <modules> | |
67 | + <module>demoiselle-parent-bom</module> | |
68 | + <module>demoiselle-parent</module> | |
69 | + <module>demoiselle-parent-rest</module> | |
70 | + <module>demoiselle-core</module> | |
71 | + <module>demoiselle-configuration</module> | |
72 | + <module>demoiselle-persistence-jpa</module> | |
73 | + <module>demoiselle-rest</module> | |
74 | + <module>demoiselle-security</module> | |
75 | + <module>demoiselle-security-token</module> | |
76 | + <module>demoiselle-security-basic</module> | |
77 | + <module>demoiselle-security-jwt</module> | |
78 | + <!--<module>demoiselle-security-jwt</module> --> | |
79 | + </modules> | |
80 | + | |
81 | + <properties> | |
82 | + <project.alias>framework</project.alias> | |
83 | + <java.version>1.8</java.version> | |
84 | + <maven.compiler.source>1.8</maven.compiler.source> | |
85 | + <maven.compiler.target>1.8</maven.compiler.target> | |
86 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
87 | + </properties> | |
88 | + | |
89 | + <build> | |
90 | + <plugins> | |
91 | + <plugin> | |
92 | + <groupId>org.apache.maven.plugins</groupId> | |
93 | + <artifactId>maven-assembly-plugin</artifactId> | |
94 | + <version>2.6</version> | |
95 | + </plugin> | |
96 | + | |
97 | + <plugin> | |
98 | + <groupId>org.apache.maven.plugins</groupId> | |
99 | + <artifactId>maven-deploy-plugin</artifactId> | |
100 | + <version>2.8.2</version> | |
101 | + </plugin> | |
102 | + | |
103 | + <plugin> | |
104 | + <groupId>org.apache.maven.plugins</groupId> | |
105 | + <artifactId>maven-source-plugin</artifactId> | |
106 | + <version>2.2.1</version> | |
107 | + <executions> | |
108 | + <execution> | |
109 | + <id>attach-sources</id> | |
110 | + <goals> | |
111 | + <goal>jar-no-fork</goal> | |
112 | + </goals> | |
113 | + </execution> | |
114 | + </executions> | |
115 | + </plugin> | |
116 | + <plugin> | |
117 | + <groupId>org.sonatype.plugins</groupId> | |
118 | + <artifactId>nexus-staging-maven-plugin</artifactId> | |
119 | + <version>1.6.3</version> | |
120 | + <extensions>true</extensions> | |
121 | + <configuration> | |
122 | + <serverId>sonatype-nexus-staging</serverId> | |
123 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> | |
124 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> | |
125 | + </configuration> | |
126 | + </plugin> | |
127 | + | |
128 | + <plugin> | |
129 | + <groupId>org.apache.maven.plugins</groupId> | |
130 | + <artifactId>maven-release-plugin</artifactId> | |
131 | + <version>2.5</version> | |
132 | + <configuration> | |
133 | + <autoVersionSubmodules>true</autoVersionSubmodules> | |
134 | + <useReleaseProfile>false</useReleaseProfile> | |
135 | + <releaseProfiles>release</releaseProfiles> | |
136 | + <goals>deploy</goals> | |
137 | + </configuration> | |
138 | + </plugin> | |
139 | + </plugins> | |
140 | + | |
141 | + </build> | |
142 | + | |
143 | + <profiles> | |
144 | + <profile> | |
145 | + <id>release</id> | |
146 | + <build> | |
147 | + <plugins> | |
148 | + <plugin> | |
149 | + <groupId>org.apache.maven.plugins</groupId> | |
150 | + <artifactId>maven-deploy-plugin</artifactId> | |
151 | + <version>2.8.2</version> | |
152 | + <configuration> | |
153 | + <skip>true</skip> | |
154 | + </configuration> | |
155 | + </plugin> | |
156 | + <plugin> | |
157 | + <groupId>org.apache.maven.plugins</groupId> | |
158 | + <artifactId>maven-javadoc-plugin</artifactId> | |
159 | + <version>2.10.4</version> | |
160 | + <executions> | |
161 | + <execution> | |
162 | + <id>attach-javadocs</id> | |
163 | + <goals> | |
164 | + <goal>jar</goal> | |
165 | + </goals> | |
166 | + </execution> | |
167 | + </executions> | |
168 | + </plugin> | |
169 | + <plugin> | |
170 | + <groupId>org.apache.maven.plugins</groupId> | |
171 | + <artifactId>maven-gpg-plugin</artifactId> | |
172 | + <version>1.5</version> | |
173 | + <executions> | |
174 | + <execution> | |
175 | + <id>sign-artifacts</id> | |
176 | + <phase>verify</phase> | |
177 | + <goals> | |
178 | + <goal>sign</goal> | |
179 | + </goals> | |
180 | + </execution> | |
181 | + </executions> | |
182 | + </plugin> | |
183 | + </plugins> | |
184 | + </build> | |
185 | + </profile> | |
186 | + </profiles> | |
187 | + | |
188 | + <scm> | |
189 | + <connection>scm:git:git@github.com:demoiselle/${project.alias}.git</connection> | |
190 | + <developerConnection>scm:git:git@github.com:demoiselle/${project.alias}.git</developerConnection> | |
191 | + <url>http://github.com/demoiselle/${project.alias}</url> | |
192 | + <tag>HEAD</tag> | |
193 | + </scm> | |
194 | + | |
195 | + <distributionManagement> | |
196 | + <site> | |
197 | + <id>demoiselle.sourceforge.net</id> | |
198 | + <url>${site.url}</url> | |
199 | + </site> | |
200 | + | |
201 | + <snapshotRepository> | |
202 | + <id>sonatype-nexus-snapshots</id> | |
203 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
204 | + </snapshotRepository> | |
205 | + | |
206 | + <repository> | |
207 | + <id>sonatype-nexus-staging</id> | |
208 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> | |
209 | + </repository> | |
210 | + </distributionManagement> | |
211 | + | |
212 | + <repositories> | |
213 | + <repository> | |
214 | + <id>sonatype-nexus-snapshots</id> | |
215 | + <name>Sonatype Nexus Snapshots</name> | |
216 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> | |
217 | + <snapshots> | |
218 | + <enabled>true</enabled> | |
219 | + </snapshots> | |
220 | + <releases> | |
221 | + <enabled>false</enabled> | |
222 | + </releases> | |
223 | + </repository> | |
224 | + | |
225 | + <repository> | |
226 | + <id>sonatype-nexus-releases</id> | |
227 | + <name>Sonatype Nexus Releases</name> | |
228 | + <url>https://oss.sonatype.org/content/repositories/releases</url> | |
229 | + <snapshots> | |
230 | + <enabled>false</enabled> | |
231 | + </snapshots> | |
232 | + <releases> | |
233 | + <enabled>true</enabled> | |
234 | + </releases> | |
235 | + </repository> | |
236 | + </repositories> | |
220 | 237 | |
221 | 238 | </project> | ... | ... |