|
33 | 33 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
34 | 34 | <java.version>11</java.version>
|
35 | 35 |
|
| 36 | + <!-- Localisation des ressources --> |
| 37 | + <ressources.location>${basedir}/configuration/</ressources.location> |
| 38 | + |
36 | 39 | <!-- Java -->
|
37 | 40 | <javax.servlet.version>3.1.0</javax.servlet.version>
|
38 | 41 | <javax.annotation-api.version>1.3.2</javax.annotation-api.version>
|
|
168 | 171 | <excludes>
|
169 | 172 | <exclude>license/</exclude>
|
170 | 173 | <exclude>assembly/</exclude>
|
171 |
| - <exclude>**/*.scss</exclude> |
172 | 174 | <exclude>VAADIN/gwt-unitCache/</exclude>
|
| 175 | + <!--<exclude>VAADIN/themes/valo-ul/style.scss</exclude>--> |
173 | 176 | <exclude>repository/</exclude>
|
174 | 177 | </excludes>
|
175 | 178 | </resource>
|
176 | 179 | </resources>
|
| 180 | + |
| 181 | + <!-- Copie des ressources --> |
| 182 | + <plugins> |
| 183 | + <plugin> |
| 184 | + <artifactId>maven-resources-plugin</artifactId> |
| 185 | + <version>${maven-resources-plugin.version}</version> |
| 186 | + <executions> |
| 187 | + <execution> |
| 188 | + <id>copy-resources-front</id> |
| 189 | + <phase>process-resources</phase> |
| 190 | + <goals> |
| 191 | + <goal>copy-resources</goal> |
| 192 | + </goals> |
| 193 | + <configuration> |
| 194 | + <outputDirectory>${project.build.outputDirectory}/VAADIN/themes/valo-ul</outputDirectory> |
| 195 | + <overwrite>true</overwrite> |
| 196 | + <resources> |
| 197 | + <resource> |
| 198 | + <directory>${ressources.location}/front/</directory> |
| 199 | + <filtering>false</filtering> |
| 200 | + <exclude>**sample**</exclude> |
| 201 | + </resource> |
| 202 | + </resources> |
| 203 | + </configuration> |
| 204 | + </execution> |
| 205 | + <execution> |
| 206 | + <id>copy-resources-i18n</id> |
| 207 | + <phase>process-resources</phase> |
| 208 | + <goals> |
| 209 | + <goal>copy-resources</goal> |
| 210 | + </goals> |
| 211 | + <configuration> |
| 212 | + <outputDirectory>${project.build.outputDirectory}/i18n/</outputDirectory> |
| 213 | + <overwrite>true</overwrite> |
| 214 | + <resources> |
| 215 | + <resource> |
| 216 | + <directory>${ressources.location}/i18n/</directory> |
| 217 | + <filtering>false</filtering> |
| 218 | + <exclude>**sample**</exclude> |
| 219 | + </resource> |
| 220 | + </resources> |
| 221 | + </configuration> |
| 222 | + </execution> |
| 223 | + <execution> |
| 224 | + <id>copy-resources-siscol</id> |
| 225 | + <phase>process-resources</phase> |
| 226 | + <goals> |
| 227 | + <goal>copy-resources</goal> |
| 228 | + </goals> |
| 229 | + <configuration> |
| 230 | + <outputDirectory>${project.build.outputDirectory}</outputDirectory> |
| 231 | + <overwrite>true</overwrite> |
| 232 | + <resources> |
| 233 | + <resource> |
| 234 | + <directory>${ressources.location}/siscol/</directory> |
| 235 | + <filtering>false</filtering> |
| 236 | + <exclude>**sample**</exclude> |
| 237 | + </resource> |
| 238 | + </resources> |
| 239 | + </configuration> |
| 240 | + </execution> |
| 241 | + <execution> |
| 242 | + <id>copy-resources-template</id> |
| 243 | + <phase>process-resources</phase> |
| 244 | + <goals> |
| 245 | + <goal>copy-resources</goal> |
| 246 | + </goals> |
| 247 | + <configuration> |
| 248 | + <outputDirectory>${project.build.outputDirectory}/template/</outputDirectory> |
| 249 | + <overwrite>true</overwrite> |
| 250 | + <resources> |
| 251 | + <resource> |
| 252 | + <directory>${ressources.location}/template/</directory> |
| 253 | + <filtering>false</filtering> |
| 254 | + <excludes> |
| 255 | + <exclude>**sample**</exclude> |
| 256 | + <exclude>refus-specifique-diplome/**sample**</exclude> |
| 257 | + </excludes> |
| 258 | + </resource> |
| 259 | + </resources> |
| 260 | + </configuration> |
| 261 | + </execution> |
| 262 | + </executions> |
| 263 | + </plugin> |
| 264 | + </plugins> |
177 | 265 | </build>
|
178 | 266 | </profile>
|
179 | 267 |
|
180 |
| - <!-- Profil de déploiement national, sans les fichiers de sample, avec les fichiers de config --> |
| 268 | + <!-- Profil de déploiement national, sans les fichiers de sample, avec les fichiers de config |
181 | 269 | <profile>
|
182 | 270 | <id>deploiement-national</id>
|
183 | 271 | <build>
|
|
204 | 292 | </resource>
|
205 | 293 | </resources>
|
206 | 294 | </build>
|
207 |
| - </profile> |
| 295 | + </profile> --> |
208 | 296 |
|
209 |
| - <!-- Profil de déploiement local, avec les fichiers de config, sans les fichiers sample et avec Oracle --> |
| 297 | + <!-- Profil de déploiement local, avec les fichiers de config, sans les fichiers sample et avec Oracle |
210 | 298 | <profile>
|
211 | 299 | <id>local</id>
|
212 | 300 | <build>
|
|
228 | 316 | </resource>
|
229 | 317 | </resources>
|
230 | 318 | </build>
|
231 |
| - </profile> |
| 319 | + </profile> --> |
232 | 320 |
|
233 |
| - <!-- Profil de déploiement local, avec les fichiers de config, sans les fichiers sample --> |
| 321 | + <!-- Profil de déploiement local, avec les fichiers de config, sans les fichiers sample |
234 | 322 | <profile>
|
235 | 323 | <id>saas</id>
|
236 | 324 | <build>
|
|
255 | 343 | </resource>
|
256 | 344 | </resources>
|
257 | 345 | </build>
|
258 |
| - </profile> |
| 346 | + </profile> --> |
259 | 347 |
|
260 |
| - <!-- Profil de déploiement UL, avec les fichiers de config, sans les fichiers sample et sans Oracle --> |
| 348 | + <!-- Profil de déploiement UL, avec les fichiers de config, sans les fichiers sample et sans Oracle |
261 | 349 | <profile>
|
262 | 350 | <id>ul</id>
|
263 | 351 | <build>
|
|
268 | 356 | <executions>
|
269 | 357 | <execution>
|
270 | 358 | <id>copy-resources-img</id>
|
271 |
| - <!-- here the phase you need --> |
272 | 359 | <phase>process-resources</phase>
|
273 | 360 | <goals>
|
274 | 361 | <goal>copy-resources</goal>
|
|
286 | 373 | </execution>
|
287 | 374 | <execution>
|
288 | 375 | <id>copy-resources-ico</id>
|
289 |
| - <!-- here the phase you need --> |
290 | 376 | <phase>process-resources</phase>
|
291 | 377 | <goals>
|
292 | 378 | <goal>copy-resources</goal>
|
|
304 | 390 | </execution>
|
305 | 391 | <execution>
|
306 | 392 | <id>copy-resources-template</id>
|
307 |
| - <!-- here the phase you need --> |
308 | 393 | <phase>process-resources</phase>
|
309 | 394 | <goals>
|
310 | 395 | <goal>copy-resources</goal>
|
|
322 | 407 | </execution>
|
323 | 408 | <execution>
|
324 | 409 | <id>copy-resources-template-spec-dip</id>
|
325 |
| - <!-- here the phase you need --> |
326 | 410 | <phase>process-resources</phase>
|
327 | 411 | <goals>
|
328 | 412 | <goal>copy-resources</goal>
|
|
340 | 424 | </execution>
|
341 | 425 | <execution>
|
342 | 426 | <id>copy-resources-i18n</id>
|
343 |
| - <!-- here the phase you need --> |
344 | 427 | <phase>process-resources</phase>
|
345 | 428 | <goals>
|
346 | 429 | <goal>copy-resources</goal>
|
|
360 | 443 | </plugin>
|
361 | 444 | </plugins>
|
362 | 445 | </build>
|
363 |
| - </profile> |
| 446 | + </profile> --> |
364 | 447 |
|
365 |
| - <!-- Profil de déploiement UL Prod,configuration du fichier WS Apogée --> |
| 448 | + <!-- Profil de déploiement UL Prod,configuration du fichier WS Apogée |
366 | 449 | <profile>
|
367 | 450 | <id>prod</id>
|
368 | 451 | <properties>
|
|
376 | 459 | <executions>
|
377 | 460 | <execution>
|
378 | 461 | <id>copy-resources-ws</id>
|
379 |
| - <!-- here the phase you need --> |
380 | 462 | <phase>process-resources</phase>
|
381 | 463 | <goals>
|
382 | 464 | <goal>copy-resources</goal>
|
|
396 | 478 | </plugin>
|
397 | 479 | </plugins>
|
398 | 480 | </build>
|
399 |
| - </profile> |
| 481 | + </profile> --> |
400 | 482 |
|
401 |
| - <!-- Profil de déploiement Orion, pour le logo --> |
| 483 | + <!-- Profil de déploiement Orion, pour le logo |
402 | 484 | <profile>
|
403 | 485 | <id>orion</id>
|
404 | 486 | <build>
|
|
409 | 491 | <executions>
|
410 | 492 | <execution>
|
411 | 493 | <id>copy-resources-img</id>
|
412 |
| - <!-- here the phase you need --> |
413 | 494 | <phase>process-resources</phase>
|
414 | 495 | <goals>
|
415 | 496 | <goal>copy-resources</goal>
|
|
429 | 510 | </plugin>
|
430 | 511 | </plugins>
|
431 | 512 | </build>
|
432 |
| - </profile> |
| 513 | + </profile> --> |
433 | 514 |
|
434 |
| - <!-- Profil de déploiement UL Prod Orion,configuration du fichier WS Apogée --> |
| 515 | + <!-- Profil de déploiement UL Prod Orion,configuration du fichier WS Apogée |
435 | 516 | <profile>
|
436 | 517 | <id>prod-orion</id>
|
437 | 518 | <properties>
|
|
445 | 526 | <executions>
|
446 | 527 | <execution>
|
447 | 528 | <id>copy-resources-ws</id>
|
448 |
| - <!-- here the phase you need --> |
449 | 529 | <phase>process-resources</phase>
|
450 | 530 | <goals>
|
451 | 531 | <goal>copy-resources</goal>
|
|
465 | 545 | </plugin>
|
466 | 546 | </plugins>
|
467 | 547 | </build>
|
468 |
| - </profile> |
| 548 | + </profile> --> |
469 | 549 |
|
470 |
| - <!-- Profil de déploiement Test (pour les WS) --> |
| 550 | + <!-- Profil de déploiement Test (pour les WS) |
471 | 551 | <profile>
|
472 | 552 | <id>test-ws</id>
|
473 | 553 | <build>
|
|
478 | 558 | <executions>
|
479 | 559 | <execution>
|
480 | 560 | <id>copy-resources-test-ws</id>
|
481 |
| - <!-- here the phase you need --> |
482 | 561 | <phase>process-resources</phase>
|
483 | 562 | <goals>
|
484 | 563 | <goal>copy-resources</goal>
|
|
499 | 578 | </plugin>
|
500 | 579 | </plugins>
|
501 | 580 | </build>
|
502 |
| - </profile> |
| 581 | + </profile> --> |
503 | 582 |
|
504 | 583 | <!-- Profile de license -->
|
505 | 584 | <profile>
|
|
782 | 861 | <version>${maven-war-plugin.version}</version>
|
783 | 862 | <configuration>
|
784 | 863 | <failOnMissingWebXml>false</failOnMissingWebXml>
|
785 |
| - <warSourceExcludes>META-INF/context.xml,META-INF/maven/**,**/builddef.lst</warSourceExcludes> |
| 864 | + <warSourceExcludes>META-INF/context.xml,META-INF/maven/**</warSourceExcludes> |
| 865 | + <packagingExcludes>**/*.lst,**/*.scss</packagingExcludes> |
786 | 866 | <archive>
|
787 | 867 | <addMavenDescriptor>false</addMavenDescriptor>
|
788 | 868 | <manifestEntries>
|
|
798 | 878 | <include>NOTICE</include>
|
799 | 879 | <include>LICENSE-VAADIN.txt</include>
|
800 | 880 | </includes>
|
| 881 | + <!--<excludes> |
| 882 | + <exclude>WEB-INF/**/*.scss</exclude> |
| 883 | + </excludes>--> |
801 | 884 | </resource>
|
| 885 | + <!--<resource> |
| 886 | + <directory>WEB-INF/classes/</directory> |
| 887 | + <excludes> |
| 888 | + <exclude>WEB-INF/**/*.scss</exclude> |
| 889 | + </excludes> |
| 890 | + </resource>--> |
802 | 891 | </webResources>
|
803 | 892 | </configuration>
|
804 | 893 | </plugin>
|
|
0 commit comments