| <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"> |
| <parent> |
| <artifactId>javaparser-parent</artifactId> |
| <groupId>com.github.javaparser</groupId> |
| <version>2.3.0</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>javaparser-testing</artifactId> |
| |
| <licenses> |
| <license> |
| <name>GNU Lesser General Public License</name> |
| <url>http://www.gnu.org/licenses/lgpl-3.0.html</url> |
| <distribution>repo</distribution> |
| </license> |
| <license> |
| <name>Apache License, Version 2.0</name> |
| <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> |
| <distribution>repo</distribution> |
| <comments>A business-friendly OSS license</comments> |
| </license> |
| </licenses> |
| |
| <properties> |
| <junit.version>4.11</junit.version> |
| <jbehave.version>3.9.3</jbehave.version> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.jacoco</groupId> |
| <artifactId>jacoco-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>jacoco-initialize</id> |
| <goals> |
| <goal>prepare-agent</goal> |
| </goals> |
| </execution> |
| <execution> |
| <id>jacoco-site</id> |
| <phase>package</phase> |
| <goals> |
| <goal>report</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>${maven-resources-plugin.version}</version> |
| <executions> |
| <execution> |
| <id>copy-resources</id> |
| <!-- here the phase you need --> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <encoding>UTF-8</encoding> |
| <outputDirectory>${basedir}/target/classes</outputDirectory> |
| <resources> |
| <resource> |
| <directory>../javaparser-core/target/classes</directory> |
| <filtering>false</filtering> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| <dependencies> |
| <dependency> |
| <groupId>com.github.javaparser</groupId> |
| <artifactId>javaparser-core</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jbehave</groupId> |
| <artifactId>jbehave-core</artifactId> |
| <version>${jbehave.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>de.codecentric</groupId> |
| <artifactId>jbehave-junit-runner</artifactId> |
| <version>1.1.0</version> |
| </dependency> |
| </dependencies> |
| |
| </project> |