accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: RAT plugin - change to package phase
Date Tue, 20 May 2014 23:47:11 GMT
Validate is the default for the plugin. The reason this runs so early
is because ASF policy for license headers only applies to source, not
generated classes in the build.

If it's failing for you, it's probably because your workspace is
dirty... try "git clean -fdx" to clean your workspace (careful to
stage any added new files you'd like to keep first with 'git add').

If this is not the case, I'd like to try to figure out why this is
happening for you, and not others, rather than change the default set
by the plugin.

--
Christopher L Tubbs II
http://gravatar.com/ctubbsii


On Tue, May 20, 2014 at 6:52 PM,  <dlmarion@comcast.net> wrote:
> Any issues with changing the rat plugin to run in the package phase? It's choking on
the eclipse generated files, I can't even run tests. There does not appear to be a way to
disable it or to tell it to exclude files during the check. Is there any reason that it is
running so early in the build process?
>
> Specifically, I'm talking about this change:
>
> diff --git a/pom.xml b/pom.xml
> index ec909d8..ac3d8b5 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -852,6 +852,7 @@
> <goals>
> <goal>check</goal>
> </goals>
> + <phase>package</phase>
> </execution>
> </executions>
> </plugin>
>

Mime
View raw message