You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Boyles (Jira)" <ji...@apache.org> on 2020/10/03 14:21:00 UTC
[jira] [Comment Edited] (MCHECKSTYLE-334) "mvn install site" works
differently than "mvn install" or "mvn site"
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17206710#comment-17206710 ]
Michael Boyles edited comment on MCHECKSTYLE-334 at 10/3/20, 2:20 PM:
----------------------------------------------------------------------
Seems like this should be closed.
# Exclusion ant pattern is wrong
# There is no reason to call mvn install site. Just call mvn site
# better way to exclude generated source is set <sourceDirectory> to
${project.build.sourceDirectory}
was (Author: michaelboyles):
Seems like this should be closed.
# Exclusion ant pattern is wrong
# There is no reason to call mvn install site. Just call mvn site
# target dir where generated sources exist is not included without some funky <includes>
> "mvn install site" works differently than "mvn install" or "mvn site"
> ---------------------------------------------------------------------
>
> Key: MCHECKSTYLE-334
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-334
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Components: checkstyle:checkstyle
> Affects Versions: 2.17
> Environment: both windows/linux
> Reporter: Frank Luo
> Priority: Major
> Labels: maven
>
> I am trying to ignore files in the dir of "target/generated-sources". So I have "<excludes>**/generated-sources/**/*</excludes>" in configure.
> When I do "mvn install" or "mvn site", checkstyle has no complains.
> But when I run "mvn install site", I got a ton of complains from "generated-sources" dir.
> Here is a sample:
> C:\work\project\atlas\trunk\atlas_reformat_engine\target\generated-sources\config\com\merkleinc\atlas\reformat\config\Rule.java:157: error: Do not use Windows line endings
> Please help
--
This message was sent by Atlassian Jira
(v8.3.4#803005)