You need to sign in or sign up before continuing.
Newer
Older

Joze RIHTARSIC
committed
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2017 European Commission | CEF eDelivery
~
~ Licensed under the EUPL, Version 1.2 or – as soon they will be approved by the European Commission - subsequent versions of the EUPL (the "Licence");

Joze RIHTARSIC
committed
~ You may not use this work except in compliance with the Licence.
~
~ You may obtain a copy of the Licence attached in file: LICENCE-EUPL-v1.2.pdf

Joze RIHTARSIC
committed
~
~ Unless required by applicable law or agreed to in writing, software distributed under the Licence is distributed on an "AS IS" basis,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the Licence for the specific language governing permissions and limitations under the Licence.
-->
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>eu.europa.ec.edelivery</groupId>
<artifactId>smp-parent-pom</artifactId>
<packaging>pom</packaging>
<name>smp-parent-pom</name>
<description>SMP - CEF eDelivery</description>

Joze RIHTARSIC
committed
<!-- Used licenses -->
<licenses>
<license>
<name>EUPL 1.2</name>
<url>https://joinup.ec.europa.eu/software/page/eupl/licence-eupl</url>
<distribution>repo</distribution>
</license>
</licenses>

Joze RIHTARSIC
committed
<!-- Where to deploy binaries -->
<distributionManagement>
<repository>
<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/eDelivery/</url>
</repository>
<snapshotRepository>
<id>cefdigital-snapshots</id>
<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/eDelivery-snapshots/</url>
</snapshotRepository>
</distributionManagement>

Joze RIHTARSIC
committed
<!-- Properties for default plugins -->
<properties>
<!-- Only selected modules are deployed -->
<maven.deploy.skip>true</maven.deploy.skip>
<edelivery.ssl-auth.version>1.8</edelivery.ssl-auth.version>

Catalin-Emanuel ENACHE
committed
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<slf4j.version>1.7.32</slf4j.version>
<spring.version>5.3.15</spring.version>
<spring.security.version>5.6.1</spring.security.version>
<spring.boot.version>2.6.3</spring.boot.version>
<bdmsl.api.version>4.1.0</bdmsl.api.version>
<cxf.version>3.4.5</cxf.version>
<cxf-xjc-runtime.version>3.2.0</cxf-xjc-runtime.version>
<httpclient.version>4.5.13</httpclient.version>
<build.helper.maven.version>1.9.1</build.helper.maven.version>
<spring-modules-jakarta-commons.version>0.8</spring-modules-jakarta-commons.version>
<bouncycastle.version>1.69</bouncycastle.version>
<dnsjava.version>2.1.7</dnsjava.version>
<h2.version>1.4.187</h2.version>
<jstl.version>1.2</jstl.version>
<javaee-api.version>7.0</javaee-api.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<commons-validator.version>1.7</commons-validator.version>
<commons-collections.version>3.2.2</commons-collections.version>
<commons-beanutils.version>1.9.4</commons-beanutils.version>
<junit.version>4.12</junit.version>
<mockito.version>2.23.4</mockito.version>
<orika.version>1.4.6</orika.version>
<aspectj.version>1.8.6</aspectj.version>
<jaxb.version>2.2.11</jaxb.version>
<jaxb2-basics.version>1.11.1</jaxb2-basics.version>
<javax.annotation.version>1.3.2</javax.annotation.version>
<hibernate.version>5.5.7.Final</hibernate.version>
<hibernate-jpa.version>1.0.2.Final</hibernate-jpa.version>
<hibernate.validator.version>7.0.1.Final</hibernate.validator.version>
<h2.version>1.4.187</h2.version>
<soapui.plugin.version>5.1.2</soapui.plugin.version>
<commons-net.version>1.4.1</commons-net.version>
<ant-commons-net.version>1.6.5</ant-commons-net.version>
<servlet-api.version>3.0.1</servlet-api.version>
<metro.version>2.2.1-1</metro.version>
<commons-io.version>2.4</commons-io.version>
<junitparams.version>1.0.5</junitparams.version>
<xmlunit.version>2.5.1</xmlunit.version>
<hamcrest.version>2.0.0.0</hamcrest.version>
<jackson.version>2.13.0</jackson.version>
<logback.version>1.2.10</logback.version>
<!-- jacoco, sonar code coverage settings start -->
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.jacoco.reportPath>${maven.multiModuleProjectDirectory}/code-coverage/jacoco-ut.exec
</sonar.jacoco.reportPath>
<sonar.jacoco.itReportPath>${maven.multiModuleProjectDirectory}/code-coverage/jacoco-it.exec
</sonar.jacoco.itReportPath>
<sonar.language>java</sonar.language>
<jacoco.maven.plugin.version>0.8.2</jacoco.maven.plugin.version>
<surefire.maven.plugin.version>2.22.1</surefire.maven.plugin.version>
<!-- latest version compatible with SonarQube 5.6 is: 3.3.0.603-->
<sonar.maven.plugin.version>3.5.0.1254</sonar.maven.plugin.version>
</properties>

Joze RIHTARSIC
committed
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!-- Where are we looking for JARs? -->
<pluginRepositories>
<pluginRepository>
<id>smartbear</id>
<url>http://smartbearsoftware.com/repository/maven2</url>
</pluginRepository>
<pluginRepository>
<id>webgate-digit-third-party</id>
<url>https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/thirdparty</url>
</pluginRepository>
<pluginRepository>
<id>webgate-digit</id>
<url>https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/public</url>
</pluginRepository>
<pluginRepository>
<id>webgate-digit-soapui</id>
<url>https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/soapui/</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<repository>
<id>cefdigital-releases</id>
<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/eDelivery/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>cefdigital-snapshots</id>
<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/eDelivery-snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>cefdigital-thirdparty</id>
<url>https://ec.europa.eu/cefdigital/artifact/content/repositories/eDelivery-third-party/</url>
</repository>
<repository>
<id>webgate-digit</id>
<url>https://webgate.ec.europa.eu/CITnet/nexus/content/repositories/thirdparty</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

Joze RIHTARSIC
committed
<!-- Default version numbers to use -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>eu.europa.ec.edelivery</groupId>
<artifactId>edelivery-springsecurity-2-way-ssl-auth</artifactId>
<version>${edelivery.ssl-auth.version}</version>
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
</dependency>
<dependency>
<groupId>eu.europa.ec.bdmsl</groupId>
<artifactId>bdmsl-api</artifactId>
<version>${bdmsl.api.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-frontend-jaxws</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-ws-security</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-security</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-features-logging</artifactId>
<version>${cxf.version}</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>${httpclient.version}</version>
</dependency>
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<dependency>
<groupId>eu.europa.ec.cipa</groupId>
<artifactId>cipa-edelivery-common</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate.javax.persistence</groupId>
<artifactId>hibernate-jpa-2.1-api</artifactId>
<version>${hibernate-jpa.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>${hibernate.validator}</version>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-envers</artifactId>
<version>${hibernate.version}</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>${h2.version}</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-core</artifactId>
<version>${jaxb.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-oxm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context-support</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-cas</artifactId>
<version>${spring.security.version}</version>
</dependency>

Joze RIHTARSIC
committed
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-test</artifactId>
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
<version>${spring.security.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-test</artifactId>
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
<version>${javax.annotation.version}</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>${aspectj.version}</version>
</dependency>
<dependency>
<groupId>ma.glasnost.orika</groupId>
<artifactId>orika-core</artifactId>
<version>${orika.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${logback.version}</version>
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-ext</artifactId>
<version>${slf4j.version}</version>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>${jaxb2-basics.version}</version>
</dependency>
<dependency>
<groupId>org.apache.cxf.xjc-utils</groupId>
<artifactId>cxf-xjc-runtime</artifactId>
<version>${cxf-xjc-runtime.version}</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>${mockito.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<!-- Jackson-->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>${jackson.version}</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
<artifactId>jackson-datatype-jsr310</artifactId>
<version>${jackson.version}</version>
</dependency>
<!-- End Jackson-->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>${commons-lang3.version}</version>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>${javaee-api.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
<version>${jstl.version}</version>
</dependency>
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>${ehcache.version}</version>
</dependency>
<dependency>
<groupId>org.springmodules</groupId>
<artifactId>spring-modules-jakarta-commons</artifactId>
<version>${spring-modules-jakarta-commons.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>${bouncycastle.version}</version>
</dependency>
<dependency>
<groupId>dnsjava</groupId>
<artifactId>dnsjava</artifactId>
<version>${dnsjava.version}</version>

Joze RIHTARSIC
committed
</dependency>
<dependency>
<groupId>ant</groupId>
<artifactId>ant-commons-net</artifactId>
<version>${ant-commons-net.version}</version>
</dependency>
<dependency>
<groupId>commons-net</groupId>
<artifactId>commons-net</artifactId>
<version>${commons-net.version}</version>
</dependency>
<dependency>
<groupId>commons-validator</groupId>
<artifactId>commons-validator</artifactId>
<version>${commons-validator.version}</version>
</dependency>
<!-- commons-collections and commons-beanutils are transient dependencies of
slf4j: 1.7.32 and commons-validator: 1.7
they were upgraded because of OWASP reported ISSUE. When upgrading SLF4J check if this is still needed
-->
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>${commons-collections.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>${commons-beanutils.version}</version>
</dependency>
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>${servlet-api.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>pl.pragmatists</groupId>
<artifactId>JUnitParams</artifactId>
<version>${junitparams.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-core</artifactId>
<version>${xmlunit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xmlunit</groupId>
<artifactId>xmlunit-matchers</artifactId>
<version>${xmlunit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-junit</artifactId>
<version>${hamcrest.version}</version>
<scope>test</scope>
</dependency>
<!-- Test dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>${spring.boot.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<version>${spring.boot.version}</version>
</dependency>
</dependencies>
</dependencyManagement>

Joze RIHTARSIC
committed
<!-- Dependencies automatically included -->
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>

Catalin-Emanuel ENACHE
committed

Joze RIHTARSIC
committed
<!-- Build plugins -->
<build>
<pluginManagement>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefire.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.maven.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar.maven.plugin.version}</version>
</plugin>
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>${build.helper.maven.version}</version>
</plugin>
<plugin>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-codegen-plugin</artifactId>
<version>${cxf.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
</plugin>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-pro-maven-plugin</artifactId>
<version>${soapui.plugin.version}</version>
</plugin>
<plugin>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>${soapui.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.2</version>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.6</version>
</plugin>
</plugins>
</pluginManagement>

Joze RIHTARSIC
committed
<plugins>
<!-- Compile as Java 1.8 code (lifecycle: compile) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<!-- fork needs to be false to compile JAXB resources. Otherwise the
problem with the forward slash in package-info.java on Windows occurs! -->
<fork>false</fork>
<source>1.8</source>
<target>1.8</target>
<showWarnings>true</showWarnings>
<maxmem>768m</maxmem>
<compilerArguments>
<encoding>${project.build.sourceEncoding}</encoding>
</compilerArguments>
</configuration>
</plugin>

Pawel GUTOWSKI
committed

Catalin-Emanuel ENACHE
committed
<!-- unit tests, surefire plugin -->

Pawel GUTOWSKI
committed
<plugin>

Catalin-Emanuel ENACHE
committed
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<reportsDirectory>${maven.multiModuleProjectDirectory}/code-coverage/surefire-reports
</reportsDirectory>

Catalin-Emanuel ENACHE
committed
</configuration>
<executions>
<execution>
<id>default-test</id>
<configuration>
<argLine>-server -ea -Duser.language=en -Xms512m -Xmx1024m ${surefire.argline}
</argLine>

Catalin-Emanuel ENACHE
committed
<includes>
<include>**/*Test.java</include>
</includes>
<excludes>
<exclude>**/*IntegrationTest.java</exclude>
</excludes>
</configuration>
</execution>
</executions>
</plugin>
<!-- integration tests, failsafe plugin -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<reportsDirectory>${maven.multiModuleProjectDirectory}/code-coverage/failsafe-reports
</reportsDirectory>

Catalin-Emanuel ENACHE
committed
</configuration>

Pawel GUTOWSKI
committed
<executions>
<execution>

Catalin-Emanuel ENACHE
committed
<id>integration-tests</id>
<phase>integration-test</phase>

Pawel GUTOWSKI
committed
<goals>

Catalin-Emanuel ENACHE
committed
<goal>integration-test</goal>
<goal>verify</goal>

Pawel GUTOWSKI
committed
</goals>

Catalin-Emanuel ENACHE
committed
<configuration>
<!-- Sets the VM argument line used when integration tests are run. -->
<argLine>-server -ea -Xms512m -Xmx1024m -Duser.language=en ${failsafe.argline}
</argLine>

Catalin-Emanuel ENACHE
committed
<includes>
<include>**/*IntegrationTest.java</include>
</includes>
<!-- Skips integration tests if the value of skipITs property is true-->
<skipTests>${skipITs}</skipTests>
</configuration>

Pawel GUTOWSKI
committed
</execution>

Catalin-Emanuel ENACHE
committed
</executions>
<dependencies>
<dependency>
<groupId>org.apache.maven.surefire</groupId>
<artifactId>surefire-junit47</artifactId>
<version>2.19.1</version>
</dependency>
</dependencies>
</plugin>
<!-- jacoco start -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco.maven.plugin.version}</version>
<executions>

Pawel GUTOWSKI
committed
<execution>

Catalin-Emanuel ENACHE
committed
<id>pre-unit-test</id>

Pawel GUTOWSKI
committed
<goals>

Catalin-Emanuel ENACHE
committed
<goal>prepare-agent</goal>

Pawel GUTOWSKI
committed
</goals>

Catalin-Emanuel ENACHE
committed
<configuration>
<destFile>${sonar.jacoco.reportPath}</destFile>
<propertyName>surefire.argline</propertyName>
<append>true</append>
</configuration>

Pawel GUTOWSKI
committed
</execution>

Catalin-Emanuel ENACHE
committed

Pawel GUTOWSKI
committed
<execution>

Catalin-Emanuel ENACHE
committed
<id>pre-integration-test</id>
<phase>pre-integration-test</phase>

Pawel GUTOWSKI
committed
<goals>

Catalin-Emanuel ENACHE
committed
<goal>prepare-agent-integration</goal>

Pawel GUTOWSKI
committed
</goals>
<configuration>

Catalin-Emanuel ENACHE
committed
<!-- Sets the path to the file which contains the execution data. -->
<destFile>${sonar.jacoco.itReportPath}</destFile>
<propertyName>failsafe.argline</propertyName>
<append>true</append>

Pawel GUTOWSKI
committed
</configuration>
</execution>
</executions>
</plugin>

Catalin-Emanuel ENACHE
committed
<!-- jacoco end -->
</plugins>
</build>