Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 745EE200C01 for ; Thu, 19 Jan 2017 19:00:40 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 7304A160B54; Thu, 19 Jan 2017 18:00:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BDEB8160B3A for ; Thu, 19 Jan 2017 19:00:39 +0100 (CET) Received: (qmail 49785 invoked by uid 500); 19 Jan 2017 18:00:39 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 49776 invoked by uid 99); 19 Jan 2017 18:00:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jan 2017 18:00:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 58A93188890 for ; Thu, 19 Jan 2017 18:00:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.999 X-Spam-Level: X-Spam-Status: No, score=-1.999 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id dxXYilOuVzDc for ; Thu, 19 Jan 2017 18:00:34 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DCBB45F3F5 for ; Thu, 19 Jan 2017 18:00:33 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3A041E20CD for ; Thu, 19 Jan 2017 18:00:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id B8CDE25284 for ; Thu, 19 Jan 2017 18:00:32 +0000 (UTC) Date: Thu, 19 Jan 2017 18:00:32 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1278) Use checkstyle on everything MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 19 Jan 2017 18:00:40 -0000 [ https://issues.apache.org/jira/browse/BEAM-1278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15830339#comment-15830339 ] ASF GitHub Bot commented on BEAM-1278: -------------------------------------- GitHub user bimargulies-google opened a pull request: https://github.com/apache/beam/pull/1797 [BEAM-1278] Apply checkstyle from the top. @dhalperi If this is OK, we should move the XML files to some plain old subdir of the top and eliminate the build-tools subdir. --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/bimargulies-google/beam beam-1278-checkstyle Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/1797.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1797 ---- commit 6d8a7e4361a677dc3d4a3be3ee98951c51ac67b4 Author: Benson Margulies Date: 2017-01-19T17:57:54Z [BEAM-1278] Apply checkstyle from the top. ---- > Use checkstyle on everything > ---------------------------- > > Key: BEAM-1278 > URL: https://issues.apache.org/jira/browse/BEAM-1278 > Project: Beam > Issue Type: Task > Components: build-system > Reporter: Benson Margulies > Assignee: Benson Margulies > > It is desirable to run checkstyle on everything, including poms. > The problem is that the checkstyle rules come from the classpath, and that you can't have a dependency at the top level on a module of the project. > There are some alternatives: > * As of Maven 3.x, the entire checkstyle rule set can be inlined in the pom. A cure worse than the disease? You decide. > * What other projects *(e.g. CXF) do is separately release an artifact with checkstyle and PMD rules. You can do that with a new github repo, or using the necessary Maven magic to have a subdirectory which is _not_ a module and contains a releasable pom. (It's all in how you configure the Maven release plugin). > * You can just arrange for the rules to be at a URL. A URL, for example, to a specific version of a specific file on github? > [~dhalperi@google.com] -- This message was sent by Atlassian JIRA (v6.3.4#6332)