beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhalp...@apache.org
Subject [1/2] beam git commit: [BEAM-1358] Require dependencies to support JDK7
Date Tue, 31 Jan 2017 04:47:46 GMT
Repository: beam
Updated Branches:
  refs/heads/master 59866a2c6 -> bcc2806c0


[BEAM-1358] Require dependencies to support JDK7

Uses maven-enforcer to do bytecode analysis of transitive dependencies


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

Branch: refs/heads/master
Commit: 961a666725d46e67933bead72f937ac58c66075b
Parents: 59866a2
Author: Dan Halperin <dhalperi@google.com>
Authored: Mon Jan 30 18:26:17 2017 -0800
Committer: Dan Halperin <dhalperi@google.com>
Committed: Mon Jan 30 20:47:31 2017 -0800

----------------------------------------------------------------------
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/961a6667/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0ceaf49..69c12f6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1291,6 +1291,16 @@
             </goals>
             <configuration>
               <rules>
+                <enforceBytecodeVersion>
+                  <maxJdkVersion>1.7</maxJdkVersion>
+                  <excludes>
+                    <!--
+                      Supplied by the user JDK and compiled with matching
+                      version. Is not shaded, so safe to ignore.
+                    -->
+                    <exclude>jdk.tools:jdk.tools</exclude>
+                  </excludes>
+                </enforceBytecodeVersion>
                 <requireJavaVersion>
                   <version>[1.7,)</version>
                 </requireJavaVersion>
@@ -1301,6 +1311,13 @@
             </configuration>
           </execution>
         </executions>
+        <dependencies>
+          <dependency>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>extra-enforcer-rules</artifactId>
+            <version>1.0-beta-6</version>
+          </dependency>
+        </dependencies>
       </plugin>
     </plugins>
   </build>


Mime
View raw message