1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright (c) 2019, Oracle and/or its affiliates. All rights reserved. 4 Copyright (c) 2019, Red Hat Inc. All rights reserved. 5 6 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 8 The contents of this file are subject to the terms of either the Universal Permissive License 9 v 1.0 as shown at http://oss.oracle.com/licenses/upl 10 11 or the following license: 12 13 Redistribution and use in source and binary forms, with or without modification, are permitted 14 provided that the following conditions are met: 15 16 1. Redistributions of source code must retain the above copyright notice, this list of conditions 17 and the following disclaimer. 18 19 2. Redistributions in binary form must reproduce the above copyright notice, this list of 20 conditions and the following disclaimer in the documentation and/or other materials provided with 21 the distribution. 22 23 3. Neither the name of the copyright holder nor the names of its contributors may be used to 24 endorse or promote products derived from this software without specific prior written permission. 25 26 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR 27 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 28 FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 29 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 31 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 32 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY 33 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34 --> 35 <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/xsd/maven-4.0.0.xsd"> 36 <modelVersion>4.0.0</modelVersion> 37 <parent> 38 <groupId>org.openjdk.jmc</groupId> 39 <artifactId>missioncontrol.core</artifactId> 40 <version>8.0.0-SNAPSHOT</version> 41 </parent> 42 <artifactId>coverage</artifactId> 43 <name>Code coverage report jmc/core</name> 44 <packaging>pom</packaging> 45 46 <properties> 47 <spotless.config.path>${basedir}/../../configuration/ide/eclipse/formatting/formatting.xml</spotless.config.path> 48 </properties> 49 50 <dependencies> 51 <!-- First all the modules in core/ --> 52 <dependency> 53 <groupId>org.openjdk.jmc</groupId> 54 <artifactId>common</artifactId> 55 <version>${project.version}</version> 56 </dependency> 57 <dependency> 58 <groupId>org.openjdk.jmc</groupId> 59 <artifactId>flightrecorder</artifactId> 60 <version>${project.version}</version> 61 </dependency> 62 <dependency> 63 <groupId>org.openjdk.jmc</groupId> 64 <artifactId>flightrecorder.rules</artifactId> 65 <version>${project.version}</version> 66 </dependency> 67 <dependency> 68 <groupId>org.openjdk.jmc</groupId> 69 <artifactId>flightrecorder.rules.jdk</artifactId> 70 <version>${project.version}</version> 71 </dependency> 72 <!-- Second all the modules in core/tests/ --> 73 <dependency> 74 <groupId>org.openjdk.jmc</groupId> 75 <artifactId>common.test</artifactId> 76 <type>test-jar</type> 77 <scope>test</scope> 78 <version>${project.version}</version> 79 </dependency> 80 <dependency> 81 <groupId>org.openjdk.jmc</groupId> 82 <artifactId>flightrecorder.test</artifactId> 83 <scope>test</scope> 84 <version>${project.version}</version> 85 </dependency> 86 <dependency> 87 <groupId>org.openjdk.jmc</groupId> 88 <artifactId>flightrecorder.rules.test</artifactId> 89 <scope>test</scope> 90 <version>${project.version}</version> 91 </dependency> 92 <dependency> 93 <groupId>org.openjdk.jmc</groupId> 94 <artifactId>flightrecorder.rules.jdk.test</artifactId> 95 <scope>test</scope> 96 <version>${project.version}</version> 97 </dependency> 98 </dependencies> 99 <build> 100 <plugins> 101 <plugin> 102 <groupId>org.jacoco</groupId> 103 <artifactId>jacoco-maven-plugin</artifactId> 104 <version>0.8.3</version> 105 <executions> 106 <execution> 107 <id>report-aggregate</id> 108 <phase>verify</phase> 109 <goals> 110 <goal>report-aggregate</goal> 111 </goals> 112 <configuration> 113 <outputDirectory>${basedir}/coverage-report</outputDirectory> 114 </configuration> 115 </execution> 116 </executions> 117 </plugin> 118 </plugins> 119 </build> 120 </project>