beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From k...@apache.org
Subject [47/50] [abbrv] beam git commit: Override maven-enforcer-plugin for precommit tests
Date Mon, 07 Aug 2017 23:54:12 GMT
Override maven-enforcer-plugin for precommit tests


Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/18daed90
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/18daed90
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/18daed90

Branch: refs/heads/master
Commit: 18daed908d47aa2605507e7c91f42695dd8fae9f
Parents: a282165
Author: manuzhang <owenzhang1990@gmail.com>
Authored: Thu Jul 27 08:54:18 2017 +0800
Committer: manuzhang <owenzhang1990@gmail.com>
Committed: Thu Jul 27 08:54:18 2017 +0800

----------------------------------------------------------------------
 examples/java/pom.xml | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/18daed90/examples/java/pom.xml
----------------------------------------------------------------------
diff --git a/examples/java/pom.xml b/examples/java/pom.xml
index bd18889..6a1ce99 100644
--- a/examples/java/pom.xml
+++ b/examples/java/pom.xml
@@ -189,6 +189,28 @@
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-enforcer-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>enforce</id>
+                <goals>
+                  <goal>enforce</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <enforceBytecodeVersion>
+                      <maxJdkVersion>1.8</maxJdkVersion>
+                    </enforceBytecodeVersion>
+                    <requireJavaVersion>
+                      <version>[1.8,)</version>
+                    </requireJavaVersion>
+                  </rules>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-failsafe-plugin</artifactId>
             <configuration>
               <useManifestOnlyJar>false</useManifestOnlyJar>


Mime
View raw message