Hi,

Any phase before package could work, but  "compile" is your  best bet.

See the documentation for more details :
https://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Adrien


On Thu, May 24, 2018 at 9:30 AM, Naveen Swamy <[email protected]> wrote:

> Hi all,
>
> In our project, we need to build a few native libraries before building the
> jar. I see that when release:perform is called it will checkout from git in
> a different workspace and rebuilds all over, this would not trigger the
> necessary build of the native libraries and hence break release.
>
> I have tried to use the exec plugin to trigger a script however I am not
> sure what phase this needs to be tied into for the release:perform to
> happen correctly.
>
> Appreciate your inputs.
>
> -Naveen
>



-- 
Adrien Rivard

Reply via email to