You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/05/02 14:56:09 UTC
[sling-org-apache-sling-committer-cli] branch master updated:
trivial: enforced Java 11
This is an automated email from the ASF dual-hosted git repository.
radu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-committer-cli.git
The following commit(s) were added to refs/heads/master by this push:
new 93bf0ff trivial: enforced Java 11
93bf0ff is described below
commit 93bf0ff00c2ad537ef5ecee656f399234aea898a
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Thu May 2 16:56:00 2019 +0200
trivial: enforced Java 11
---
pom.xml | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index bf53e72..7256ea1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -24,7 +24,9 @@
<artifactId>sling-cli</artifactId>
<version>1.0-SNAPSHOT</version>
- <description>Apache Sling Committer CLI</description>
+ <name>Apache Sling Committer CLI</name>
+ <description>Apache Sling Committer CLI provides a Docker image with which useful pre- and post-release steps for Apache
+ Sling can be executed.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -34,6 +36,26 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-enforcer-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>enforce-java-version</id>
+ <goals>
+ <goal>enforce</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <requireJavaVersion>
+ <version>11</version>
+ <message>${project.name} must be compiled with Java 11 or higher.</message>
+ </requireJavaVersion>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>