Committed by
Jean-Francois Leveque
finalize pom (description, url, removed comments)
Showing
1 changed file
with
311 additions
and
291 deletions
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/maven-v4_0_0.xsd"> | 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
4 | - <modelVersion>4.0.0</modelVersion> | 4 | + <modelVersion>4.0.0</modelVersion> |
5 | - | 5 | + |
6 | - <groupId>org.legrog</groupId> | 6 | + <groupId>org.legrog</groupId> |
7 | - <artifactId>grog-cubi</artifactId> | 7 | + <artifactId>grog-cubi</artifactId> |
8 | - <version>1.0-SNAPSHOT</version> | 8 | + <version>3.0-SNAPSHOT</version> |
9 | - <packaging>war</packaging> | 9 | + <packaging>war</packaging> |
10 | - <name>GRoG Cubi Webapp (TomEE dev)</name> | 10 | + |
11 | - <url>http://tomee.apache.org</url> | 11 | + <name>Web-application of GROG</name> |
12 | - | 12 | + <url>http://legrog.org</url> |
13 | - <properties> | 13 | + <description> |
14 | - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | 14 | + Le Guide du Roliste Galactique (GROG) est une encyclopedie en ligne référençant tous les jeux de rôles connus. |
15 | - <spring.platform-bom.version>2.0.7.RELEASE</spring.platform-bom.version> | 15 | + Cette version CUBI est la 3e mouture du site. |
16 | - <omnifaces.version>2.5.1</omnifaces.version> | 16 | + </description> |
17 | - <primefaces.version>6.0</primefaces.version> | 17 | + |
18 | - <myfaces.version>2.2.10</myfaces.version> | 18 | + |
19 | - <tomee.javaee-api.version>7.0</tomee.javaee-api.version> | 19 | + <properties> |
20 | - <assertj-core.version>1.6.1</assertj-core.version> | 20 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
21 | - <openjpa.version>2.4.1</openjpa.version> | 21 | + <spring.platform-bom.version>2.0.7.RELEASE</spring.platform-bom.version> |
22 | - </properties> | 22 | + <omnifaces.version>2.5.1</omnifaces.version> |
23 | - | 23 | + <primefaces.version>6.0</primefaces.version> |
24 | - <dependencyManagement> | 24 | + <myfaces.version>2.2.10</myfaces.version> |
25 | - <dependencies> | 25 | + <tomee.javaee-api.version>7.0</tomee.javaee-api.version> |
26 | - <dependency> | 26 | + <assertj-core.version>1.6.1</assertj-core.version> |
27 | - <groupId>io.spring.platform</groupId> | 27 | + <openjpa.version>2.4.1</openjpa.version> |
28 | - <artifactId>platform-bom</artifactId> | 28 | + <rewrite.version>3.4.1.Final</rewrite.version> |
29 | - <!-- Nécessaire à la compilation --> | 29 | + <hibernate-commons-annotations.version>5.0.1.Final</hibernate-commons-annotations.version> |
30 | - <version>${spring.platform-bom.version}</version> | 30 | + <hibernate-jpa-2.1-api.version>1.0.0.Final</hibernate-jpa-2.1-api.version> |
31 | - <type>pom</type> | 31 | + </properties> |
32 | - <scope>import</scope> | 32 | + |
33 | - </dependency> | 33 | + <dependencyManagement> |
34 | - </dependencies> | ||
35 | - </dependencyManagement> | ||
36 | - | ||
37 | - <dependencies> | ||
38 | - <!-- **** PREREQUIS MIGRATION **** --> | ||
39 | - <!-- https://mvnrepository.com/artifact/org.omnifaces/omnifaces --> | ||
40 | - <dependency> | ||
41 | - <groupId>org.omnifaces</groupId> | ||
42 | - <artifactId>omnifaces</artifactId> | ||
43 | - <!-- Nécessaire à la compilation --> | ||
44 | - <version>${omnifaces.version}</version> | ||
45 | - </dependency> | ||
46 | - | ||
47 | - <!-- https://mvnrepository.com/artifact/org.primefaces/primefaces --> | ||
48 | - <dependency> | ||
49 | - <groupId>org.primefaces</groupId> | ||
50 | - <artifactId>primefaces</artifactId> | ||
51 | - <!-- Nécessaire à la compilation --> | ||
52 | - <version>${primefaces.version}</version> | ||
53 | - </dependency> | ||
54 | - | ||
55 | - <dependency> | ||
56 | - <groupId>org.apache.myfaces.core</groupId> | ||
57 | - <artifactId>myfaces-api</artifactId> | ||
58 | - <!-- Nécessaire à la compilation --> | ||
59 | - <version>${myfaces.version}</version> | ||
60 | - </dependency> | ||
61 | - <dependency> | ||
62 | - <groupId>org.apache.myfaces.core</groupId> | ||
63 | - <artifactId>myfaces-impl</artifactId> | ||
64 | - <!-- Nécessaire à l'exécution --> | ||
65 | - <version>${myfaces.version}</version> | ||
66 | - </dependency> | ||
67 | - <!-- **** FRAMEWORK : JSF + CDI **** --> | ||
68 | - | ||
69 | - <dependency> | ||
70 | - <groupId>org.apache.tomee</groupId> | ||
71 | - <artifactId>javaee-api</artifactId> | ||
72 | - <!-- Nécessaire à la compilation --> | ||
73 | - <version>${tomee.javaee-api.version}</version> | ||
74 | - <scope>provided</scope> | ||
75 | - </dependency> | ||
76 | - | ||
77 | - | ||
78 | - <!-- **** TOOLS : LOGS + UTILS **** --> | ||
79 | - <dependency> | ||
80 | - <groupId>org.slf4j</groupId> | ||
81 | - <artifactId>slf4j-api</artifactId> | ||
82 | - </dependency> | ||
83 | - | ||
84 | - <dependency> | ||
85 | - <groupId>ch.qos.logback</groupId> | ||
86 | - <artifactId>logback-classic</artifactId> | ||
87 | - </dependency> | ||
88 | - | ||
89 | - | ||
90 | - <!-- **** DATA MANAGEMENT **** --> | ||
91 | - | ||
92 | - <dependency> | ||
93 | - <groupId>com.h2database</groupId> | ||
94 | - <artifactId>h2</artifactId> | ||
95 | - </dependency> | ||
96 | - | ||
97 | - <dependency> | ||
98 | - <groupId>org.springframework.data</groupId> | ||
99 | - <artifactId>spring-data-jpa</artifactId> | ||
100 | - </dependency> | ||
101 | - | ||
102 | - | ||
103 | - <!-- **** TEST SCOPE **** --> | ||
104 | - | ||
105 | - | ||
106 | - <dependency> | ||
107 | - <groupId>junit</groupId> | ||
108 | - <artifactId>junit</artifactId> | ||
109 | - <scope>test</scope> | ||
110 | - </dependency> | ||
111 | - | ||
112 | - <dependency> | ||
113 | - <groupId>org.mockito</groupId> | ||
114 | - <artifactId>mockito-core</artifactId> | ||
115 | - <scope>test</scope> | ||
116 | - </dependency> | ||
117 | - | ||
118 | - <dependency> | ||
119 | - <groupId>org.assertj</groupId> | ||
120 | - <artifactId>assertj-core</artifactId> | ||
121 | - <version>${assertj-core.version}</version> | ||
122 | - <scope>test</scope> | ||
123 | - </dependency> | ||
124 | -<!-- | ||
125 | - <dependency> | ||
126 | - <groupId>org.apache.openjpa</groupId> | ||
127 | - <artifactId>openjpa</artifactId> | ||
128 | - <version>${openjpa.version}</version> | ||
129 | - <scope>test</scope> | ||
130 | - </dependency> | ||
131 | ---> | ||
132 | - <!-- to test with TomEE and Arquillian | ||
133 | - <dependency> | ||
134 | - <groupId>org.apache.tomee</groupId> | ||
135 | - <artifactId>arquillian-tomee-remote</artifactId> | ||
136 | - <version>7.0.1</version> | ||
137 | - <scope>test</scope> | ||
138 | - </dependency> | ||
139 | - <dependency> | ||
140 | - <groupId>org.jboss.arquillian.junit</groupId> | ||
141 | - <artifactId>arquillian-junit-container</artifactId> | ||
142 | - <version>1.1.10.Final</version> | ||
143 | - <scope>test</scope> | ||
144 | - </dependency> | ||
145 | - <dependency> | ||
146 | - <groupId>junit</groupId> | ||
147 | - <artifactId>junit</artifactId> | ||
148 | - <version>4.12</version> | ||
149 | - <scope>test</scope> | ||
150 | - </dependency> | ||
151 | - --> | ||
152 | - | ||
153 | - <!-- to test with OpenEJB embedded and Arquillian | ||
154 | - <dependency> | ||
155 | - <groupId>org.apache.tomee</groupId> | ||
156 | - <artifactId>arquillian-openejb-embedded</artifactId> | ||
157 | - <version>{project.version}</version> | ||
158 | - <scope>test</scope> | ||
159 | - </dependency> | ||
160 | - <dependency> | ||
161 | - <groupId>org.jboss.arquillian.junit</groupId> | ||
162 | - <artifactId>arquillian-junit-container</artifactId> | ||
163 | - <version>1.1.10.Final</version> | ||
164 | - <scope>test</scope> | ||
165 | - </dependency> | ||
166 | - <dependency> | ||
167 | - <groupId>junit</groupId> | ||
168 | - <artifactId>junit</artifactId> | ||
169 | - <version>4.12</version> | ||
170 | - <scope>test</scope> | ||
171 | - </dependency> | ||
172 | - --> | ||
173 | - <!-- Hibernate --> | ||
174 | - <dependency> | ||
175 | - <groupId>antlr</groupId> | ||
176 | - <artifactId>antlr</artifactId> | ||
177 | -<!-- <version>2.7.7</version>--> | ||
178 | - </dependency> | ||
179 | - <dependency> | ||
180 | - <groupId>dom4j</groupId> | ||
181 | - <artifactId>dom4j</artifactId> | ||
182 | -<!-- <version>1.6.1</version>--> | ||
183 | - </dependency> | ||
184 | - <dependency> | ||
185 | - <groupId>org.hibernate.common</groupId> | ||
186 | - <artifactId>hibernate-commons-annotations</artifactId> | ||
187 | - <!-- Nécessaire --> | ||
188 | - <version>5.0.1.Final</version> | ||
189 | - </dependency> | ||
190 | - <dependency> | ||
191 | - <groupId>org.hibernate.javax.persistence</groupId> | ||
192 | - <artifactId>hibernate-jpa-2.1-api</artifactId> | ||
193 | - <!-- Nécessaire --> | ||
194 | - <version>1.0.0.Final</version> | ||
195 | - <scope>compile</scope> | ||
196 | - </dependency> | ||
197 | - <dependency> | ||
198 | - <groupId>org.hibernate</groupId> | ||
199 | - <artifactId>hibernate-core</artifactId> | ||
200 | -<!-- <version>5.2.3.Final</version>--> | ||
201 | - </dependency> | ||
202 | - <dependency> | ||
203 | - <groupId>org.hibernate</groupId> | ||
204 | - <artifactId>hibernate-ehcache</artifactId> | ||
205 | -<!-- <version>5.2.3.Final</version>--> | ||
206 | - </dependency> | ||
207 | - <dependency> | ||
208 | - <groupId>org.hibernate</groupId> | ||
209 | - <artifactId>hibernate-entitymanager</artifactId> | ||
210 | -<!-- <version>5.2.3.Final</version>--> | ||
211 | - </dependency> | ||
212 | - <dependency> | ||
213 | - <groupId>org.hibernate</groupId> | ||
214 | - <artifactId>hibernate-validator</artifactId> | ||
215 | -<!-- <version>5.2.3.Final</version>--> | ||
216 | - </dependency> | ||
217 | - <dependency> | ||
218 | - <groupId>org.jboss.logging</groupId> | ||
219 | - <artifactId>jboss-logging</artifactId> | ||
220 | -<!-- <version>3.3.0.Final</version>--> | ||
221 | - </dependency> | ||
222 | - <dependency> | ||
223 | - <groupId>org.javassist</groupId> | ||
224 | - <artifactId>javassist</artifactId> | ||
225 | -<!-- <version>3.20.0-GA</version>--> | ||
226 | - </dependency> | ||
227 | - </dependencies> | ||
228 | - | ||
229 | - <build> | ||
230 | - <plugins> | ||
231 | - <plugin> | ||
232 | - <groupId>org.apache.maven.plugins</groupId> | ||
233 | - <artifactId>maven-compiler-plugin</artifactId> | ||
234 | - <version>3.5.1</version> | ||
235 | - </plugin> | ||
236 | - <plugin> | ||
237 | - <groupId>org.apache.maven.plugins</groupId> | ||
238 | - <artifactId>maven-surefire-plugin</artifactId> | ||
239 | - <version>2.19.1</version> | ||
240 | - </plugin> | ||
241 | - <plugin> | ||
242 | - <groupId>org.apache.maven.plugins</groupId> | ||
243 | - <artifactId>maven-war-plugin</artifactId> | ||
244 | - <version>2.6</version> | ||
245 | - <configuration> | ||
246 | - <failOnMissingWebXml>false</failOnMissingWebXml> | ||
247 | - </configuration> | ||
248 | - </plugin> | ||
249 | - <plugin> | ||
250 | - <groupId>org.apache.tomee.maven</groupId> | ||
251 | - <artifactId>tomee-maven-plugin</artifactId> | ||
252 | - <version>7.0.1</version> | ||
253 | - <configuration> | ||
254 | - <context>ROOT</context> | ||
255 | - </configuration> | ||
256 | - </plugin> | ||
257 | - <!-- | ||
258 | - <plugin> | ||
259 | - <groupId>org.apache.openjpa</groupId> | ||
260 | - <artifactId>openjpa-maven-plugin</artifactId> | ||
261 | - <version>${openjpa.version}</version> | ||
262 | - <configuration> | ||
263 | - <includes>**/entities/*.class</includes> | ||
264 | - <excludes>**/entities/XML*.class</excludes> | ||
265 | - <addDefaultConstructor>true</addDefaultConstructor> | ||
266 | - <enforcePropertyRestrictions>true</enforcePropertyRestrictions> | ||
267 | - </configuration> | ||
268 | - <executions> | ||
269 | - <execution> | ||
270 | - <id>enhancer</id> | ||
271 | - <phase>process-classes</phase> | ||
272 | - <goals> | ||
273 | - <goal>enhance</goal> | ||
274 | - </goals> | ||
275 | - </execution> | ||
276 | - </executions> | ||
277 | <dependencies> | 34 | <dependencies> |
278 | - <dependency> | 35 | + <dependency> |
279 | - <groupId>org.apache.openjpa</groupId> | 36 | + <groupId>io.spring.platform</groupId> |
280 | - <artifactId>openjpa</artifactId> | 37 | + <artifactId>platform-bom</artifactId> |
281 | - <- set the version to be the same as the level in your runtime | 38 | + <version>${spring.platform-bom.version}</version> |
282 | - <version>${openjpa.version}</version> | 39 | + <type>pom</type> |
283 | - </dependency> | 40 | + <scope>import</scope> |
41 | + </dependency> | ||
284 | </dependencies> | 42 | </dependencies> |
285 | - </plugin> | 43 | + </dependencyManagement> |
286 | - --> | 44 | + |
287 | - </plugins> | 45 | + <dependencies> |
288 | - </build> | 46 | + |
289 | - | 47 | + |
290 | - <repositories> | 48 | + <!-- **** FRAMEWORK : JSF + CDI **** --> |
291 | - <repository> | 49 | + |
292 | - <id>apache-snapshot</id> | 50 | + <dependency> |
293 | - <name>Apache Snapshot Repository</name> | 51 | + <groupId>org.apache.tomee</groupId> |
294 | - <url>https://repository.apache.org/content/groups/snapshots/</url> | 52 | + <artifactId>javaee-api</artifactId> |
295 | - </repository> | 53 | + <version>${tomee.javaee-api.version}</version> |
296 | - </repositories> | 54 | + <scope>provided</scope> |
55 | + </dependency> | ||
56 | + | ||
57 | + <!-- https://mvnrepository.com/artifact/org.omnifaces/omnifaces --> | ||
58 | + <dependency> | ||
59 | + <groupId>org.omnifaces</groupId> | ||
60 | + <artifactId>omnifaces</artifactId> | ||
61 | + <version>${omnifaces.version}</version> | ||
62 | + </dependency> | ||
63 | + | ||
64 | + <!-- https://mvnrepository.com/artifact/org.primefaces/primefaces --> | ||
65 | + <dependency> | ||
66 | + <groupId>org.primefaces</groupId> | ||
67 | + <artifactId>primefaces</artifactId> | ||
68 | + <version>${primefaces.version}</version> | ||
69 | + </dependency> | ||
70 | + | ||
71 | + <dependency> | ||
72 | + <groupId>org.apache.myfaces.core</groupId> | ||
73 | + <artifactId>myfaces-api</artifactId> | ||
74 | + <version>${myfaces.version}</version> | ||
75 | + </dependency> | ||
76 | + <dependency> | ||
77 | + <groupId>org.apache.myfaces.core</groupId> | ||
78 | + <artifactId>myfaces-impl</artifactId> | ||
79 | + <version>${myfaces.version}</version> | ||
80 | + <scope>runtime</scope> | ||
81 | + </dependency> | ||
82 | + | ||
83 | + | ||
84 | + | ||
85 | + | ||
86 | + <!-- Rewriting tool --> | ||
87 | + | ||
88 | + <!--<dependency>--> | ||
89 | + <!--<groupId>com.ocpsoft</groupId>--> | ||
90 | + <!--<artifactId>prettyfaces-jsf2</artifactId>--> | ||
91 | + <!--<version>3.3.3</version>--> | ||
92 | + <!--</dependency>--> | ||
93 | + <!-- --> | ||
94 | + | ||
95 | +<!-- **** TOOLS : LOGS + UTILS **** --> | ||
96 | + | ||
97 | + <dependency> | ||
98 | + <groupId>org.slf4j</groupId> | ||
99 | + <artifactId>slf4j-api</artifactId> | ||
100 | + </dependency> | ||
101 | + | ||
102 | + <dependency> | ||
103 | + <groupId>ch.qos.logback</groupId> | ||
104 | + <artifactId>logback-classic</artifactId> | ||
105 | + </dependency> | ||
106 | + | ||
107 | + | ||
108 | + <!-- **** DATA MANAGEMENT **** --> | ||
109 | + | ||
110 | + <dependency> | ||
111 | + <groupId>com.h2database</groupId> | ||
112 | + <artifactId>h2</artifactId> | ||
113 | + </dependency> | ||
114 | + | ||
115 | + <dependency> | ||
116 | + <groupId>org.springframework.data</groupId> | ||
117 | + <artifactId>spring-data-jpa</artifactId> | ||
118 | + </dependency> | ||
119 | + | ||
120 | + | ||
121 | + <!-- **** TEST SCOPE **** --> | ||
122 | + | ||
123 | + | ||
124 | + <dependency> | ||
125 | + <groupId>junit</groupId> | ||
126 | + <artifactId>junit</artifactId> | ||
127 | + <scope>test</scope> | ||
128 | + </dependency> | ||
129 | + | ||
130 | + <dependency> | ||
131 | + <groupId>org.mockito</groupId> | ||
132 | + <artifactId>mockito-core</artifactId> | ||
133 | + <scope>test</scope> | ||
134 | + </dependency> | ||
135 | + | ||
136 | + <dependency> | ||
137 | + <groupId>org.assertj</groupId> | ||
138 | + <artifactId>assertj-core</artifactId> | ||
139 | + <version>${assertj-core.version}</version> | ||
140 | + <scope>test</scope> | ||
141 | + </dependency> | ||
142 | + <!-- | ||
143 | + <dependency> | ||
144 | + <groupId>org.apache.openjpa</groupId> | ||
145 | + <artifactId>openjpa</artifactId> | ||
146 | + <version>${openjpa.version}</version> | ||
147 | + <scope>test</scope> | ||
148 | + </dependency> | ||
149 | + --> | ||
150 | + <!-- to test with TomEE and Arquillian | ||
151 | + <dependency> | ||
152 | + <groupId>org.apache.tomee</groupId> | ||
153 | + <artifactId>arquillian-tomee-remote</artifactId> | ||
154 | + <version>7.0.1</version> | ||
155 | + <scope>test</scope> | ||
156 | + </dependency> | ||
157 | + <dependency> | ||
158 | + <groupId>org.jboss.arquillian.junit</groupId> | ||
159 | + <artifactId>arquillian-junit-container</artifactId> | ||
160 | + <version>1.1.10.Final</version> | ||
161 | + <scope>test</scope> | ||
162 | + </dependency> | ||
163 | + <dependency> | ||
164 | + <groupId>junit</groupId> | ||
165 | + <artifactId>junit</artifactId> | ||
166 | + <version>4.12</version> | ||
167 | + <scope>test</scope> | ||
168 | + </dependency> | ||
169 | + --> | ||
170 | + | ||
171 | + <!-- to test with OpenEJB embedded and Arquillian | ||
172 | + <dependency> | ||
173 | + <groupId>org.apache.tomee</groupId> | ||
174 | + <artifactId>arquillian-openejb-embedded</artifactId> | ||
175 | + <version>{project.version}</version> | ||
176 | + <scope>test</scope> | ||
177 | + </dependency> | ||
178 | + <dependency> | ||
179 | + <groupId>org.jboss.arquillian.junit</groupId> | ||
180 | + <artifactId>arquillian-junit-container</artifactId> | ||
181 | + <version>1.1.10.Final</version> | ||
182 | + <scope>test</scope> | ||
183 | + </dependency> | ||
184 | + <dependency> | ||
185 | + <groupId>junit</groupId> | ||
186 | + <artifactId>junit</artifactId> | ||
187 | + <version>4.12</version> | ||
188 | + <scope>test</scope> | ||
189 | + </dependency> | ||
190 | + --> | ||
191 | + <!-- Hibernate --> | ||
192 | + <dependency> | ||
193 | + <groupId>antlr</groupId> | ||
194 | + <artifactId>antlr</artifactId> | ||
195 | + </dependency> | ||
196 | + <dependency> | ||
197 | + <groupId>dom4j</groupId> | ||
198 | + <artifactId>dom4j</artifactId> | ||
199 | + </dependency> | ||
200 | + <dependency> | ||
201 | + <groupId>org.hibernate.common</groupId> | ||
202 | + <artifactId>hibernate-commons-annotations</artifactId> | ||
203 | + <version>${hibernate-commons-annotations.version}</version> | ||
204 | + </dependency> | ||
205 | + <dependency> | ||
206 | + <groupId>org.hibernate.javax.persistence</groupId> | ||
207 | + <artifactId>hibernate-jpa-2.1-api</artifactId> | ||
208 | + <version>${hibernate-jpa-2.1-api.version}</version> | ||
209 | + </dependency> | ||
210 | + <dependency> | ||
211 | + <groupId>org.hibernate</groupId> | ||
212 | + <artifactId>hibernate-core</artifactId> | ||
213 | + </dependency> | ||
214 | + <dependency> | ||
215 | + <groupId>org.hibernate</groupId> | ||
216 | + <artifactId>hibernate-ehcache</artifactId> | ||
217 | + </dependency> | ||
218 | + <dependency> | ||
219 | + <groupId>org.hibernate</groupId> | ||
220 | + <artifactId>hibernate-entitymanager</artifactId> | ||
221 | + </dependency> | ||
222 | + <dependency> | ||
223 | + <groupId>org.hibernate</groupId> | ||
224 | + <artifactId>hibernate-validator</artifactId> | ||
225 | + </dependency> | ||
226 | + <dependency> | ||
227 | + <groupId>org.jboss.logging</groupId> | ||
228 | + <artifactId>jboss-logging</artifactId> | ||
229 | + </dependency> | ||
230 | + <dependency> | ||
231 | + <groupId>org.javassist</groupId> | ||
232 | + <artifactId>javassist</artifactId> | ||
233 | + </dependency> | ||
234 | + </dependencies> | ||
235 | + | ||
236 | + <build> | ||
237 | + <plugins> | ||
238 | + <plugin> | ||
239 | + <groupId>org.apache.maven.plugins</groupId> | ||
240 | + <artifactId>maven-compiler-plugin</artifactId> | ||
241 | + <version>3.5.1</version> | ||
242 | + </plugin> | ||
243 | + <plugin> | ||
244 | + <groupId>org.apache.maven.plugins</groupId> | ||
245 | + <artifactId>maven-surefire-plugin</artifactId> | ||
246 | + <version>2.19.1</version> | ||
247 | + </plugin> | ||
248 | + <plugin> | ||
249 | + <groupId>org.apache.maven.plugins</groupId> | ||
250 | + <artifactId>maven-war-plugin</artifactId> | ||
251 | + <version>2.6</version> | ||
252 | + <configuration> | ||
253 | + <failOnMissingWebXml>false</failOnMissingWebXml> | ||
254 | + <webResources> | ||
255 | + <resource> | ||
256 | + <!-- this is relative to the pom.xml directory --> | ||
257 | + <directory>src/main/java/org/legrog/web</directory> | ||
258 | + <excludes> | ||
259 | + <exclude>**/*.java</exclude> | ||
260 | + </excludes> | ||
261 | + | ||
262 | + </resource> | ||
263 | + </webResources> | ||
264 | + | ||
265 | + </configuration> | ||
266 | + </plugin> | ||
267 | + <plugin> | ||
268 | + <groupId>org.apache.tomee.maven</groupId> | ||
269 | + <artifactId>tomee-maven-plugin</artifactId> | ||
270 | + <version>7.0.1</version> | ||
271 | + <configuration> | ||
272 | + <context>ROOT</context> | ||
273 | + | ||
274 | + | ||
275 | + </configuration> | ||
276 | + </plugin> | ||
277 | + <!-- | ||
278 | + <plugin> | ||
279 | + <groupId>org.apache.openjpa</groupId> | ||
280 | + <artifactId>openjpa-maven-plugin</artifactId> | ||
281 | + <version>${openjpa.version}</version> | ||
282 | + <configuration> | ||
283 | + <includes>**/entities/*.class</includes> | ||
284 | + <excludes>**/entities/XML*.class</excludes> | ||
285 | + <addDefaultConstructor>true</addDefaultConstructor> | ||
286 | + <enforcePropertyRestrictions>true</enforcePropertyRestrictions> | ||
287 | + </configuration> | ||
288 | + <executions> | ||
289 | + <execution> | ||
290 | + <id>enhancer</id> | ||
291 | + <phase>process-classes</phase> | ||
292 | + <goals> | ||
293 | + <goal>enhance</goal> | ||
294 | + </goals> | ||
295 | + </execution> | ||
296 | + </executions> | ||
297 | + <dependencies> | ||
298 | + <dependency> | ||
299 | + <groupId>org.apache.openjpa</groupId> | ||
300 | + <artifactId>openjpa</artifactId> | ||
301 | + <- set the version to be the same as the level in your runtime | ||
302 | + <version>${openjpa.version}</version> | ||
303 | + </dependency> | ||
304 | + </dependencies> | ||
305 | + </plugin> | ||
306 | + --> | ||
307 | + </plugins> | ||
308 | + </build> | ||
309 | + | ||
310 | + <repositories> | ||
311 | + <repository> | ||
312 | + <id>apache-snapshot</id> | ||
313 | + <name>Apache Snapshot Repository</name> | ||
314 | + <url>https://repository.apache.org/content/groups/snapshots/</url> | ||
315 | + </repository> | ||
316 | + </repositories> | ||
297 | 317 | ||
298 | </project> | 318 | </project> | ... | ... |
-
Please register or login to post a comment