| <?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/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.8.0-SNAPSHOT</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> |
| <antrun.plugin.version>1.8</antrun.plugin.version> |
| <checkstyle.plugin.version>2.11</checkstyle.plugin.version> |
| <jacoco.plugin.version>0.8.5</jacoco.plugin.version> |
| <jacoco.coverage.line.min>0.8</jacoco.coverage.line.min> |
| <junit.version>4.13.1</junit.version> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <mockito.version>1.8.5</mockito.version> |
| <pdfbox.version>2.0.27</pdfbox.version> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.info.reports.plugin.version>2.8</project.info.reports.plugin.version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.xmlgraphics</groupId> |
| <artifactId>fop</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.pdfbox</groupId> |
| <artifactId>pdfbox</artifactId> |
| <version>${pdfbox.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>${junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>${mockito.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <sourceDirectory>src/java</sourceDirectory> |
| <testSourceDirectory>test/java</testSourceDirectory> |
| <testResources> |
| <testResource> |
| <directory>test/resources</directory> |
| </testResource> |
| </testResources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-antrun-plugin</artifactId> |
| <version>${antrun.plugin.version}</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"> |
| <classpath> |
| <path refid="maven.compile.classpath"/> |
| </classpath> |
| </taskdef> |
| <collectEvents destdir="${project.build.outputDirectory}"> |
| <fileset dir="${project.basedir}/src/java"> |
| <include name="**/*EventProducer.java"/> |
| </fileset> |
| </collectEvents> |
| </target> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-checkstyle-plugin</artifactId> |
| <version>${checkstyle.plugin.version}</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>${jacoco.plugin.version}</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>${jacoco.coverage.line.min}</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> |