You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ga...@apache.org on 2023/03/19 23:43:18 UTC
[xmlgraphics-fop-pdf-images] branch main updated: Minor cleanup of codegen events task, et al (#14)
This is an automated email from the ASF dual-hosted git repository.
gadams pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-fop-pdf-images.git
The following commit(s) were added to refs/heads/main by this push:
new d127cbb Minor cleanup of codegen events task, et al (#14)
d127cbb is described below
commit d127cbbc613e29d01861c0f44084ad136c2b640b
Author: Glenn Adams <gl...@skynav.com>
AuthorDate: Sun Mar 19 18:43:13 2023 -0500
Minor cleanup of codegen events task, et al (#14)
---
pom.xml | 36 +++++++++++++++++++++++++-----------
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index fe8f7d8..90b6d14 100755
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,4 @@
-
+<?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>
@@ -10,31 +10,40 @@
<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>2.8.0-SNAPSHOT</version>
+ <version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
- <version>2.0.27</version>
+ <version>${pdfbox.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
- <version>4.13.1</version>
+ <version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
- <version>1.8.5</version>
+ <version>${mockito.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
@@ -51,7 +60,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
- <version>1.8</version>
+ <version>${antrun.plugin.version}</version>
<executions>
<execution>
<id>codegen-events</id>
@@ -61,10 +70,14 @@
</goals>
<configuration>
<target>
- <taskdef name="collectEvents" classname="org.apache.fop.tools.EventProducerCollectorTask" classpathref="maven.compile.classpath"/>
+ <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="**/*.java"/>
+ <include name="**/*EventProducer.java"/>
</fileset>
</collectEvents>
</target>
@@ -75,7 +88,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
- <version>2.11</version>
+ <version>${checkstyle.plugin.version}</version>
<configuration>
<configLocation>checkstyle-5.5.xml</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
@@ -88,7 +101,7 @@
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
- <version>0.8.5</version>
+ <version>${jacoco.plugin.version}</version>
<executions>
<execution>
<id>default-prepare-agent</id>
@@ -109,7 +122,7 @@
<limit>
<counter>LINE</counter>
<value>COVEREDRATIO</value>
- <minimum>0.8</minimum>
+ <minimum>${jacoco.coverage.line.min}</minimum>
</limit>
</limits>
</rule>
@@ -163,4 +176,5 @@
</snapshots>
</repository>
</repositories>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org