META-INF.maven.com.github.vkorobkov.jfixtures.pom.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jfixtures Show documentation
Show all versions of jfixtures Show documentation
Easy test data creator for SQL databases
<?xml version="1.0" encoding="UTF-8"?> <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"> <modelVersion>4.0.0</modelVersion> <groupId>com.github.vkorobkov</groupId> <artifactId>jfixtures</artifactId> <version>1.0.14</version> <packaging>jar</packaging> <name>JFixtures</name> <description>Easy test data creator for SQL databases</description> <url>https://github.com/vkorobkov/jfixtures</url> <licenses> <license> <name>MIT License</name> <url>http://www.opensource.org/licenses/mit-license.php</url> </license> </licenses> <developers> <developer> <name>Vladimir Korobkov</name> <email>[email protected]</email> <organizationUrl>https://github.com/vkorobkov</organizationUrl> </developer> <developer> <name>Aleksandr Rodionov</name> <email>[email protected]</email> <organizationUrl>https://github.com/rodionovsasha</organizationUrl> </developer> </developers> <scm> <connection>scm:git:git://github.com/vkorobkov/jfixtures.git</connection> <developerConnection>scm:git:ssh://github.com:vkorobkov/jfixtures.git</developerConnection> <url>https://github.com/vkorobkov/jfixtures</url> </scm> <properties> <!--Project common properties--> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> <!--Project dependencies version--> <lombok.version>1.16.18</lombok.version> <snakeyaml.version>1.18</snakeyaml.version> <!--Test dependencies versions--> <spock-core.version>1.1-groovy-2.4</spock-core.version> <equalsverifier.version>2.3.1</equalsverifier.version> <cglib-nodep.version>3.2.5</cglib-nodep.version> <h2.version>1.4.196</h2.version> <commons-dbcp2.version>2.1.1</commons-dbcp2.version> <!--Plugins--> <maven-compiler-plugin.version>3.6.1</maven-compiler-plugin.version> <jacoco-maven-plugin.version>0.7.9</jacoco-maven-plugin.version> <gmavenplus-plugin.version>1.5</gmavenplus-plugin.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> <findbugs-maven-plugin.version>3.0.4</findbugs-maven-plugin.version> <maven-checkstyle-plugin.version>2.17</maven-checkstyle-plugin.version> </properties> <dependencies> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>${snakeyaml.version}</version> </dependency> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.spockframework</groupId> <artifactId>spock-core</artifactId> <version>${spock-core.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>nl.jqno.equalsverifier</groupId> <artifactId>equalsverifier</artifactId> <version>${equalsverifier.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>cglib</groupId> <artifactId>cglib-nodep</artifactId> <version>${cglib-nodep.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>${h2.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-dbcp2</artifactId> <version>${commons-dbcp2.version}</version> <scope>test</scope> </dependency> </dependencies> <distributionManagement> <repository> <id>oss.sonatype.org</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>oss.sonatype.org</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <build> <testResources> <testResource> <directory>${project.basedir}/src/test/resources</directory> </testResource> <testResource> <directory>${project.basedir}/src/main/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> <goal>check</goal> </goals> </execution> </executions> <configuration> <excludes> <!--Excluded until Jacoco gets fixed with yellow branches in finally blocks--> <exclude>com/github/vkorobkov/jfixtures/util/WithResource*.class</exclude> </excludes> <rules> <rule> <element>CLASS</element> <limits> <limit > <counter>LINE</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> <limit > <counter>BRANCH</counter> <value>COVEREDRATIO</value> <minimum>1.00</minimum> </limit> </limits> </rule> </rules> </configuration> </plugin> <plugin> <groupId>org.codehaus.gmavenplus</groupId> <artifactId>gmavenplus-plugin</artifactId> <version>${gmavenplus-plugin.version}</version> <executions> <execution> <goals> <goal>addTestSources</goal> <goal>testCompile</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>findbugs-maven-plugin</artifactId> <version>${findbugs-maven-plugin.version}</version> <configuration> <!-- Enables analysis which takes more memory but finds more bugs. If you run out of memory, changes the value of the effort element to 'low'.--> <effort>Max</effort> <!-- Reports all bugs (other values are medium and max) --> <threshold>Low</threshold> <xmlOutput>true</xmlOutput> <excludeFilterFile>src/test/resources/findbugs-exclude.xml</excludeFilterFile> </configuration> <executions> <!-- Ensures that FindBugs inspects source code when project is compiled.--> <execution> <id>analyze-compile</id> <phase>compile</phase> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>${maven-checkstyle-plugin.version}</version> <executions> <execution> <id>checkstyle</id> <phase>validate</phase> <goals> <goal>check</goal> </goals> <configuration> <configLocation>src/test/resources/checkstyle.xml</configLocation> <failOnViolation>true</failOnViolation> </configuration> </execution> </executions> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <executions> <execution> <id>package-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>package-javadoc</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>