You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2017/11/08 02:12:00 UTC

[jira] [Comment Edited] (RATIS-132) Support simple 'mvn clean compile' command (move shading before the compile phase)

    [ https://issues.apache.org/jira/browse/RATIS-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16243254#comment-16243254 ] 

Tsz Wo Nicholas Sze edited comment on RATIS-132 at 11/8/17 2:11 AM:
--------------------------------------------------------------------

I have committed this.  Thanks, Marton!


was (Author: szetszwo):
I have committed this.

> Support simple 'mvn clean compile' command (move shading before the compile phase) 
> -----------------------------------------------------------------------------------
>
>                 Key: RATIS-132
>                 URL: https://issues.apache.org/jira/browse/RATIS-132
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>             Fix For: 0.2.0-alpha
>
>         Attachments: RATIS-132.001.patch, RATIS-132.002.patch
>
>
> The current situation is described in the BUILDING.md:
> {code}
> When building Ratis the first time, shaded files need to be generated by the following command:
> ```
> $ mvn package -DskipTests
> ```
> After that, `mvn compile` or `mvn test` can be used as normal.
> For example, we may run the basic tests by
> ```
> {code}
> In short: the shading phase is bound to the 'package' maven phase, therefore we can't use 'mvn clean install' just 'mvn clean package' because the package phase should be done before the compilation of ratis-proto-shaded.
> This blocks the nightly build as yetus uses one 'mvn clean compile' or 'mvn clean test-compile' without invoking the package phase.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)