[ https://issues.apache.org/jira/browse/HADOOP-11993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsuyoshi Ozawa updated HADOOP-11993: ------------------------------------ Attachment: HADOOP-11993.001.patch Attaching a first patch. I tested with following command: {quote} mvn clean verify -Djersey.version=1.18 -DskipTests ... [INFO] --- maven-enforcer-plugin:1.4.1:enforce (depcheck) @ hadoop-common --- [WARNING] Rule 1: org.apache.maven.plugins.enforcer.BannedDependencies failed with message: Found Banned Dependency: com.sun.jersey:jersey-server:jar:1.18 Found Banned Dependency: com.sun.jersey:jersey-json:jar:1.18 Found Banned Dependency: com.sun.jersey:jersey-servlet:jar:1.18 Found Banned Dependency: com.sun.jersey:jersey-core:jar:1.18 {quote} > maven enforcer plugin to ban java 8 incompatible dependencies > ------------------------------------------------------------- > > Key: HADOOP-11993 > URL: https://issues.apache.org/jira/browse/HADOOP-11993 > Project: Hadoop Common > Issue Type: Sub-task > Affects Versions: 2.7.0 > Reporter: Steve Loughran > Assignee: Tsuyoshi Ozawa > Priority: Minor > Attachments: HADOOP-11993.001.patch > > > It's possible to use maven-enforcer to ban dependencies; this can be used to > reject those known to be incompatible with Java 8 > [example|https://gist.github.com/HiJon89/65e34552c18e5ac9fd31] > If we set maven enforcer to do this checking, it can ensure that the 2.7+ > codebase isn't pulling in any incompatible binaries. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org