1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!--
3+ Licensed to the Apache Software Foundation (ASF) under one or more
4+ contributor license agreements. See the NOTICE file distributed with
5+ this work for additional information regarding copyright ownership.
6+ The ASF licenses this file to You under the Apache License, Version 2.0
7+ (the "License"); you may not use this file except in compliance with
8+ the License. You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+ -->
18+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
19+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
20+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
21+ <modelVersion >4.0.0</modelVersion >
22+
23+ <parent >
24+ <artifactId >capa-aws-parent</artifactId >
25+ <groupId >group.rxcloud</groupId >
26+ <version >${revision} </version >
27+ </parent >
28+
29+ <artifactId >capa-spi-aws-mesh</artifactId >
30+ <name >capa-skd-spi-aws-appmesh</name >
31+
32+ <dependencies >
33+ <dependency >
34+ <groupId >group.rxcloud</groupId >
35+ <artifactId >capa-spi-aws-infrastructure</artifactId >
36+ </dependency >
37+
38+ <dependency >
39+ <groupId >software.amazon.awssdk</groupId >
40+ <artifactId >appmesh</artifactId >
41+ </dependency >
42+ <!-- unit test -->
43+ <dependency >
44+ <groupId >org.junit.jupiter</groupId >
45+ <artifactId >junit-jupiter-engine</artifactId >
46+ <scope >test</scope >
47+ </dependency >
48+ </dependencies >
49+
50+ <build >
51+ <plugins >
52+ <!-- With JUnit 5 explicitely needed to let our tests run with Maven & as there seems to be a transitively
53+ added older surefire-plugin, that doesnt support JUnit 5 as described in https://stackoverflow.com/a/49019437/4964553 -->
54+ <plugin >
55+ <groupId >org.apache.maven.plugins</groupId >
56+ <artifactId >maven-surefire-plugin</artifactId >
57+ <version >${maven.surefire.version} </version >
58+ </plugin >
59+ <plugin >
60+ <groupId >org.jacoco</groupId >
61+ <artifactId >jacoco-maven-plugin</artifactId >
62+ <version >${maven.jacoco.version} </version >
63+ <executions >
64+ <!-- Prepares the property pointing to the JaCoCo
65+ runtime agent which is passed as VM argument when Maven the Surefire plugin
66+ is executed. -->
67+ <execution >
68+ <id >pre-unit-test</id >
69+ <goals >
70+ <goal >prepare-agent</goal >
71+ </goals >
72+ </execution >
73+ <!-- Ensures that the code coverage report for
74+ unit tests is created after unit tests have been run. -->
75+ <execution >
76+ <id >post-unit-test</id >
77+ <phase >test</phase >
78+ <goals >
79+ <goal >report</goal >
80+ </goals >
81+ </execution >
82+ </executions >
83+ </plugin >
84+ </plugins >
85+ </build >
86+
87+ </project >
0 commit comments