You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/07/22 14:03:55 UTC
svn commit: r1836442 - /pdfbox/branches/1.8/parent/pom.xml
Author: tilman
Date: Sun Jul 22 14:03:55 2018
New Revision: 1836442
URL: http://svn.apache.org/viewvc?rev=1836442&view=rev
Log:
PDFBOX-4274: use the maven enforcer plugin, as suggested by Karl Heinz Marbaise
Modified:
pdfbox/branches/1.8/parent/pom.xml
Modified: pdfbox/branches/1.8/parent/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/parent/pom.xml?rev=1836442&r1=1836441&r2=1836442&view=diff
==============================================================================
--- pdfbox/branches/1.8/parent/pom.xml (original)
+++ pdfbox/branches/1.8/parent/pom.xml Sun Jul 22 14:03:55 2018
@@ -48,10 +48,6 @@
<properties>
<project.build.sourceEncoding>ISO-8859-1</project.build.sourceEncoding>
</properties>
-
- <prerequisites>
- <maven>3.0.0</maven>
- </prerequisites>
<profiles>
<profile>
@@ -92,8 +88,25 @@
</profiles>
<build>
- <plugins>
- <plugin>
+ <plugins>
+ <plugin>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules combine.children="append">
+ <requireMavenVersion>
+ <version>3.0.0</version>
+ </requireMavenVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>1.5</target>