Need `mvn submodule` in `mvn release:perform` step

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Need `mvn submodule` in `mvn release:perform` step

吴晟 Sheng Wu
Hi incubator,


I am facing some issues when I do the SkyWalking first release. I am following this document http://www.apache.org/dev/publishing-maven-artifacts.html#dev-env . But an error occurs in step 4-STAGE THE RELEASE FOR A VOTE.


The reason of this is SkyWalking is using `git submodule` feature, so after `git clone`, need to run `git submodule init` and `git submodule update`, but in `mvn release:perform`, don't execute this in default.


I need some helps and guides about how to run these `submodule` commands. Who can help us? Or where should I ask?


Thanks.


------------------
Sheng Wu
Apache SkyWalking creator and PPMC member
Reply | Threaded
Open this post in threaded view
|

Re: Need `mvn submodule` in `mvn release:perform` step

Willem Jiang
Hi Sheng,

Using google with the key word "git submodule maven release", I got the
below link[1]. Hope it can help you to solve the issue.

[1]
https://stackoverflow.com/questions/6938142/how-to-get-maven-release-to-clone-git-submodules


Willem Jiang

Blog: http://willemjiang.blogspot.com (English)
          http://jnn.iteye.com  (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem

On Sun, Mar 11, 2018 at 9:20 AM, 吴晟 Sheng Wu <[hidden email]> wrote:

> Hi incubator,
>
>
> I am facing some issues when I do the SkyWalking first release. I am
> following this document http://www.apache.org/dev/
> publishing-maven-artifacts.html#dev-env . But an error occurs in step
> 4-STAGE THE RELEASE FOR A VOTE.
>
>
> The reason of this is SkyWalking is using `git submodule` feature, so
> after `git clone`, need to run `git submodule init` and `git submodule
> update`, but in `mvn release:perform`, don't execute this in default.
>
>
> I need some helps and guides about how to run these `submodule` commands.
> Who can help us? Or where should I ask?
>
>
> Thanks.
>
>
> ------------------
> Sheng Wu
> Apache SkyWalking creator and PPMC member