<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/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>org.apache.fop.render.pdf.pdfbox</groupId> | |
<artifactId>fop-pdf-images</artifactId> | |
<version>2.6</version> | |
<name>${project.groupId}:${project.artifactId}</name> | |
<description>PDF image support for Apache FOP</description> | |
<url>https://xmlgraphics.apache.org/fop/fop-pdf-images.html</url> | |
<properties> | |
<maven.compiler.source>1.7</maven.compiler.source> | |
<maven.compiler.target>1.7</maven.compiler.target> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.xmlgraphics</groupId> | |
<artifactId>fop</artifactId> | |
<version>2.6</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.pdfbox</groupId> | |
<artifactId>pdfbox</artifactId> | |
<version>2.0.19</version> | |
</dependency> | |
<dependency> | |
<groupId>junit</groupId> | |
<artifactId>junit</artifactId> | |
<version>4.10</version> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.mockito</groupId> | |
<artifactId>mockito-core</artifactId> | |
<version>1.8.5</version> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<sourceDirectory>src/java</sourceDirectory> | |
<testSourceDirectory>test/java</testSourceDirectory> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<version>1.8</version> | |
<executions> | |
<execution> | |
<id>codegen-events</id> | |
<phase>process-classes</phase> | |
<goals> | |
<goal>run</goal> | |
</goals> | |
<configuration> | |
<target> | |
<taskdef name="collectEvents" classname="org.apache.fop.tools.EventProducerCollectorTask" classpathref="maven.compile.classpath"/> | |
<collectEvents destdir="${project.build.outputDirectory}"> | |
<fileset dir="${project.basedir}/src/java"> | |
<include name="**/*.java"/> | |
</fileset> | |
</collectEvents> | |
</target> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-checkstyle-plugin</artifactId> | |
<version>2.11</version> | |
<configuration> | |
<configLocation>checkstyle-5.5.xml</configLocation> | |
<includeTestSourceDirectory>true</includeTestSourceDirectory> | |
<includeResources>false</includeResources> | |
<includeTestResources>false</includeTestResources> | |
<violationSeverity>warning</violationSeverity> | |
<consoleOutput>true</consoleOutput> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<version>0.8.5</version> | |
<executions> | |
<execution> | |
<id>default-prepare-agent</id> | |
<goals> | |
<goal>prepare-agent</goal> | |
</goals> | |
</execution> | |
<execution> | |
<id>check</id> | |
<goals> | |
<goal>check</goal> | |
</goals> | |
<configuration> | |
<rules> | |
<rule> | |
<element>PACKAGE</element> | |
<limits> | |
<limit> | |
<counter>LINE</counter> | |
<value>COVEREDRATIO</value> | |
<minimum>0.8</minimum> | |
</limit> | |
</limits> | |
</rule> | |
</rules> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
<resources> | |
<resource> | |
<directory>src/java</directory> | |
<includes> | |
<include>**/*EventProducer.xml</include> | |
</includes> | |
</resource> | |
<resource> | |
<directory>${basedir}</directory> | |
<includes> | |
<include>LICENSE</include> | |
<include>NOTICE</include> | |
</includes> | |
<targetPath>META-INF</targetPath> | |
</resource> | |
<resource> | |
<directory>${basedir}/src/java/META-INF</directory> | |
<targetPath>META-INF</targetPath> | |
</resource> | |
</resources> | |
</build> | |
<repositories> | |
<repository> | |
<id>apache.snapshots.https</id> | |
<url>https://repository.apache.org/content/repositories/snapshots</url> | |
<releases> | |
<enabled>false</enabled> | |
</releases> | |
<snapshots> | |
<enabled>true</enabled> | |
</snapshots> | |
</repository> | |
<repository> | |
<id>apache.releases.https</id> | |
<url>https://repository.apache.org/content/repositories/releases</url> | |
<releases> | |
<enabled>true</enabled> | |
</releases> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
</project> |