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" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 3 <parent> 4 <artifactId>javaparser-parent</artifactId> 5 <groupId>com.github.javaparser</groupId> 6 <version>3.14.10-SNAPSHOT</version> 7 </parent> 8 <modelVersion>4.0.0</modelVersion> 9 10 <artifactId>javaparser-symbol-solver-testing</artifactId> 11 <description>A Symbol Solver for Java, built on top of JavaParser (tests)</description> 12 13 <licenses> 14 <license> 15 <name>GNU Lesser General Public License</name> 16 <url>http://www.gnu.org/licenses/lgpl-3.0.html</url> 17 <distribution>repo</distribution> 18 </license> 19 <license> 20 <name>Apache License, Version 2.0</name> 21 <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> 22 <distribution>repo</distribution> 23 <comments>A business-friendly OSS license</comments> 24 </license> 25 </licenses> 26 27 <profiles> 28 <profile> 29 <id>NonSlowTests</id> 30 <activation> 31 <activeByDefault>true</activeByDefault> 32 </activation> 33 <build> 34 <plugins> 35 <plugin> 36 <groupId>org.apache.maven.plugins</groupId> 37 <artifactId>maven-surefire-plugin</artifactId> 38 <configuration> 39 <excludedGroups>com.github.javaparser.SlowTest</excludedGroups> 40 <parallel>methods</parallel> 41 <threadCount>4</threadCount> 42 </configuration> 43 </plugin> 44 </plugins> 45 46 </build> 47 </profile> 48 <profile> 49 <id>AlsoSlowTests</id> 50 </profile> 51 </profiles> 52 53 54 <build> 55 <plugins> 56 <plugin> 57 <groupId>org.jacoco</groupId> 58 <artifactId>jacoco-maven-plugin</artifactId> 59 <executions> 60 <execution> 61 <id>jacoco-initialize</id> 62 <goals> 63 <goal>prepare-agent</goal> 64 </goals> 65 </execution> 66 <execution> 67 <id>jacoco-site</id> 68 <phase>package</phase> 69 <goals> 70 <goal>report</goal> 71 </goals> 72 </execution> 73 </executions> 74 </plugin> 75 <plugin> 76 <artifactId>maven-resources-plugin</artifactId> 77 <executions> 78 <execution> 79 <id>copy-resources</id> 80 <phase>pre-integration-test</phase> 81 <goals> 82 <goal>copy-resources</goal> 83 </goals> 84 <configuration> 85 <encoding>UTF-8</encoding> 86 <outputDirectory>${basedir}/target/classes</outputDirectory> 87 <resources> 88 <resource> 89 <directory>../javaparser-core/target/classes</directory> 90 <filtering>false</filtering> 91 </resource> 92 </resources> 93 </configuration> 94 </execution> 95 </executions> 96 </plugin> 97 <plugin> 98 <groupId>org.apache.maven.plugins</groupId> 99 <artifactId>maven-deploy-plugin</artifactId> 100 <configuration> 101 <!-- no need to release this module --> 102 <skip>true</skip> 103 </configuration> 104 </plugin> 105 </plugins> 106 </build> 107 <dependencies> 108 <dependency> 109 <groupId>org.hamcrest</groupId> 110 <artifactId>hamcrest-library</artifactId> 111 </dependency> 112 <dependency> 113 <groupId>org.junit.jupiter</groupId> 114 <artifactId>junit-jupiter-engine</artifactId> 115 </dependency> 116 <dependency> 117 <groupId>org.junit.jupiter</groupId> 118 <artifactId>junit-jupiter-params</artifactId> 119 </dependency> 120 <dependency> 121 <groupId>org.junit-pioneer</groupId> 122 <artifactId>junit-pioneer</artifactId> 123 </dependency> 124 <dependency> 125 <groupId>com.github.javaparser</groupId> 126 <artifactId>javaparser-symbol-solver-logic</artifactId> 127 <version>${project.version}</version> 128 </dependency> 129 <dependency> 130 <groupId>org.mockito</groupId> 131 <artifactId>mockito-core</artifactId> 132 </dependency> 133 <dependency> 134 <groupId>com.github.javaparser</groupId> 135 <artifactId>javaparser-symbol-solver-model</artifactId> 136 <version>${project.version}</version> 137 </dependency> 138 <dependency> 139 <groupId>com.github.javaparser</groupId> 140 <artifactId>javaparser-symbol-solver-core</artifactId> 141 <version>${project.version}</version> 142 </dependency> 143 </dependencies> 144 145</project> 146