From users-return-141189-apmail-maven-users-archive=maven.apache.org@maven.apache.org Wed Aug 17 19:47:11 2016 Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 357A619072 for ; Wed, 17 Aug 2016 19:47:11 +0000 (UTC) Received: (qmail 68677 invoked by uid 500); 17 Aug 2016 19:47:09 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 68582 invoked by uid 500); 17 Aug 2016 19:47:09 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 68570 invoked by uid 99); 17 Aug 2016 19:47:09 -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; Wed, 17 Aug 2016 19:47:09 +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 A649C180565 for ; Wed, 17 Aug 2016 19:47:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.062 X-Spam-Level: X-Spam-Status: No, score=0.062 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URI_TRY_3LD=0.064] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id VhorCa5a6LF3 for ; Wed, 17 Aug 2016 19:47:05 +0000 (UTC) Received: from mail-io0-f179.google.com (mail-io0-f179.google.com [209.85.223.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 449AC5FBBE for ; Wed, 17 Aug 2016 19:47:04 +0000 (UTC) Received: by mail-io0-f179.google.com with SMTP id q83so1259036iod.1 for ; Wed, 17 Aug 2016 12:47:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=MQnlr5NYAmdY9+IRa0qrR7JOvUmld1qC1paPNQT6ers=; b=Cx3FNiFy/Jp1ADdcDuWnjEYvRbdeFdSzQ9iUgLCJdTyXCXSTWUY+lDJVuiALNZUqfr EHjGGGKKIIztROgUoyD8dPTbGaUvGf7kYWHrUuG2nkH2Kz542wQQvHmtKCsgHchuFjUb O/ukVyMcZKUidhBMnVk3gmIemrxlIrSm/zVFASnJsPTeTVdChpk5imjvLczWbyUDc1xw iC0ZQy4KOmukoTg8+j85H2kFDi1lNQW4O28hjOIkVPPiZvE8hQfzW2+MHM3gOlqctOf+ GBMt5dQuY+KJjHYEaIcW1FFF+y9pcqgVvFcbXlQNK5LPAxVxC++yxGa2F7zcPK55u/pN mL6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=MQnlr5NYAmdY9+IRa0qrR7JOvUmld1qC1paPNQT6ers=; b=WAEbUujVipdsrW8rexC5itRUmY7o/rJcHHgPIsnSEt+UKb0sXFe+HCPaBUKWG5k+S1 wBiPE2Zf1K7eWGrVJLsWQi9WkxfFnNrnF+cCSmlul7bjcLvH8np/pnbI58QtBnavd/He K6mIDbymIxyzk618MTfOz2pv85N+H5BAsuK5OrPtWa7sPSJ6uz9SNdC9o8sLQ9yDf7va iaKjU/jF0ivTwFd2h4aHdUB1KLUmoAAj6b44eZqvybnB85uQ2t+0jI9z3iG9RxxmtZEq HiUHrrqSDcngUR/xm2J5i47Gd3JrwwKdokkirwm3ZP8XULx0kPA8y/9kjEBQviSKiAdi S0ww== X-Gm-Message-State: AEkoouvYtOLnmBWIYoiQ/V12ASu2A2tjhXp0OgQvgnIMWV0at50nD8vWX6ryHGP4teARBkQmOOv0zibJHbeQQg== X-Received: by 10.107.9.6 with SMTP id j6mr49127762ioi.89.1471463222833; Wed, 17 Aug 2016 12:47:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.184.170 with HTTP; Wed, 17 Aug 2016 12:47:02 -0700 (PDT) In-Reply-To: References: <57B39C4D.2080105@gmx.de> From: Benson Margulies Date: Wed, 17 Aug 2016 15:47:02 -0400 Message-ID: Subject: Re: Re: checkstyle plugin and checking files outside of maven dirs To: Maven Users List Content-Type: text/plain; charset=UTF-8 I commend you to the source of the plugin in that case. The doc can be confusing. On Wed, Aug 17, 2016 at 10:06 AM, Veit Guna wrote: > I came from the checkstyle mailing list :). They say, they can basically check anything thrown > at them. And the pom is just an XML file that I would like to check for specific line endings. > So what I'm seeking for is a special option in the maven checkstyle plugin to check files > outside of the normal maven scope (sources, resources). > > >> Gesendet: Mittwoch, 17. August 2016 um 15:21 Uhr >> Von: "Benson Margulies" >> An: "Maven Users List" >> Betreff: Re: checkstyle plugin and checking files outside of maven dirs >> >> The checkstyle plugin runs http://checkstyle.sourceforge.net/. Which >> has a particular feature set, which does not include checking Maven >> poms. There are a number of checks in the enforcer plugin which, in >> effect, check that the POM meets particular conditions. I don't know >> of any way to scan arbitrary files for line endings, but someone else >> might. >> >> On Tue, Aug 16, 2016 at 7:05 PM, Veit Guna wrote: >> > Hi. >> > >> > I'm using the checkstyle maven plugin to validate my source and resource >> > files. That works so far. >> > But now I encountered, that it won't check files outside of the standard >> > maven dirs. >> > >> > E.g. it would be great if it could check the pom as well. Is this >> > somehow possible? >> > Also when it comes to windows/unix lineending checks, it would be great, >> > if all >> > files in a project could be checked. >> > >> > Any hints how to achieve that? >> > >> > Thanks >> > Veit >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> > For additional commands, e-mail: users-help@maven.apache.org >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org >> For additional commands, e-mail: users-help@maven.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org